2 months ago
/bin/bash: line 1: pnpm: command not found
but the build command itself is using pnpm
20 Replies
started happening right after upgrading Next, tried a redeploy because the site was responding 502's after the recent incident
2 months ago
is pnpm set as your package manager in your package.json ?
yes, [Region: us-east4]
╭─────────────────╮
│ Railpack 0.15.1 │
╰─────────────────╯
↳ Detected Node
↳ Using pnpm package manager
↳ Found workspace with 10 packages
↳ Installing pnpm@10.18.3 with Corepack
2 months ago
alright, then im out of ideas 💀
will try explicitly setting it in the apps directory, but this has never been an issue in our monorepo before.
2 months ago
Could you try enabling this and let me know how it looks?

explicitly setting in internal apps did not change anything, trying metal build env now
oddly enough started happening in this dev backend environement with no changes, just a redeploy
2 months ago
Generally a bit at a loss for why this is having the issue so I need to ask internally. Will let you know when I hear back!
okay.
our prod site is down. I convinced my CEO we should move to railway on our last big deployment. I do NOT want to move back to aws 😢
2 months ago
Short term mitigation would be simply using a regular Dockerfile! Gives you a fine level of control over any aspect of the build -> run process.
@Error i just resolved it
when upgrading packages, i changed my .nvmrc to use 25
there must be some bug in railway containers with this node version when using pnpm
2 months ago
Good to know but that is super odd hmmm. I'll note this for later thank you!
2 months ago
@foundnone.eth anything else we can help you with or can we mark this thread as solved?
Status changed to Solved medim • 2 months ago
