pnpm-lock.yaml file not found?
opti21
PROOP

2 years ago

Build keeps failing because it doesn't see a pnpm lock file, but it is present on repository, any workarounds for this?

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

3 Replies

2 years ago

It's more likely failing because of the miss-matched pnpm versions used locally and on Railway, thus its being treated like it doesn't exist.

By default nixpacks will use pnpm v8, but you are likely using v9, to tell nixpacks to use your version of pnpm add this to your package.json -

{
  "packageManager": "pnpm@9.1.0"
}

opti21
PROOP

2 years ago

Ah interesting, TIL. Thank you, that worked right away :)


2 years ago

Awsome!


Status changed to Solved brody over 1 year ago


Loading...