R
Railwayβ€’6mo ago
gabe

PNPM 9 Support

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?
Solution:
try adding a nixpacks.toml file to your project -
[phases.install]
cmds = ["npm install -g corepack", "corepack enable", "corepack prepare [email protected] --activate", "pnpm install"]
[phases.install]
cmds = ["npm install -g corepack", "corepack enable", "corepack prepare [email protected] --activate", "pnpm install"]
...
Jump to solution
5 Replies
Percy
Percyβ€’6mo ago
Project ID: 1a38f728-4c4d-4335-9773-b50fe89d2634
gabe
gabeβ€’6mo ago
1a38f728-4c4d-4335-9773-b50fe89d2634
Solution
Brody
Brodyβ€’6mo ago
try adding a nixpacks.toml file to your project -
[phases.install]
cmds = ["npm install -g corepack", "corepack enable", "corepack prepare [email protected] --activate", "pnpm install"]
[phases.install]
cmds = ["npm install -g corepack", "corepack enable", "corepack prepare [email protected] --activate", "pnpm install"]
gabe
gabeβ€’6mo ago
That worked, thank you!
Brody
Brodyβ€’6mo ago
no problem!
Want results from more Discord servers?
Add your server