What PNPM version is being ran on railway?
definewater
HOBBYOP

2 years ago

Hey i keep getting the following error

0.838ERR_PNPM_NO_LOCKFILECannot install with "frozen-lockfile" because pnpm-lock.yaml is absent

0.838

0.838 Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"

And i think its because of its geenrating the lock file from 2 different versions

5 Replies

definewater
HOBBYOP

2 years ago

51cb3e5e-013d-43eb-b545-600daa26b09f


definewater
HOBBYOP

2 years ago

lol works nvm


brody
EMPLOYEE

2 years ago

railway uses pnpm v8 by default, you are likely using v9, to have railway use v9 also set the packageManager field in your package.json to pnpm@latest


vanjavanjavanja
HOBBY

a year ago

String does not match the pattern of "(npm|pnpm|yarn|bun)@\d+\.\d+\.\d+(-.+)?".


vanjavanjavanja

String does not match the pattern of "(npm|pnpm|yarn|bun)@\d+\.\d+\.\d+(-.+)?".

brody
EMPLOYEE

a year ago

Please open your own help thread.


Loading...