2 years ago
I have below configuration to take source as src, but it still takes app folder
{
"$schema": "https://json.schemastore.org/nest-cli",
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"compilerOptions": {
"deleteOutDir": true
}
}
here is the build script:
"build": "NODE_ENV=production nest build src",
and I have pnpm-lock.yaml for sure in repo. but the error is:
0.923 WARN Ignoring not compatible lockfile at /app/pnpm-lock.yaml
0.925 ERRPNPMNO_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is absent
0.925
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
2 years ago
Hello,
Key words: "not compatible"
Please make sure you are specifying your pnpm version as shown here - https://nixpacks.com/docs/providers/node#corepack