PNPM 9 Support

AnonymousTRIAL

a year ago

Hey 👋

I had to update my pnpm version locally to v9, and due to work reasons I can't switch back to v8.

Is there any reason for railway not to support v9? Its been out already for more than a month, I'd expect that not to cause problems on deployment, but seems like I was wrong 😅 .

Also, other than switching my project to docker, is there any other solution?

0 Replies

AnonymousTRIAL

a year ago

1a38f728-4c4d-4335-9773-b50fe89d2634


a year ago

try adding a nixpacks.toml file to your project -

[phases.install]
    cmds = ["npm install -g corepack", "corepack enable", "corepack prepare pnpm@9.1.0 --activate", "pnpm install"]

AnonymousTRIAL

a year ago

That worked, thank you!


a year ago

no problem!


PNPM 9 Support - Railway Help Station