pnpm not found
Hi! I'm having trouble building my app, and haven't had success with any of the suggestions with other "pnpm not found" searches.
My railway.json:
The build error I'm seeing:
I have a pnpm-lock.yaml in my root directory.
My project id: 90e8bbd5-6381-4906-9853-3d5ea1445654
14 Replies
Project ID:
90e8bbd5-6381-4906-9853-3d5ea1445654
Solution
try extending your nixPkgs array with
nodePackages.pnpm
Hm, not sure what you mean
take a look at your own railway.json again please
do you see your nixPkgs array?
yes
append
nodePackages.pnpm
to that arrayJust "nixPkgs": ["...", nodePackages.pnpm]?
well it's a string so it needs to be quoted
Yep, okay, that's why I was asking specifically what you meant by extend
vscode can validate the railway.json for you
it can't tell you if it will do what you intend, but it will tell you if it's valid
I was editing directly on a test branch in the github ui
anyway, thanks
ah lol interesting
did it work?
yep!
awesome!