Persisting absent pnpm-lock.yaml && looking for /app folder insted src
puffyy
PROOP

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  ERR_PNPM_NO_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is absent

0.925

View Deploy details

ⓘ 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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...