pnpm: command not found on pnpm start
Anonymous
FREEOP

10 months ago

Solved

20 Replies

Anonymous
FREEOP

10 months ago

started happening right after upgrading Next, tried a redeploy because the site was responding 502's after the recent incident


10 months ago

is pnpm set as your package manager in your package.json ?


Anonymous
FREEOP

10 months ago

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


10 months ago

alright, then im out of ideas 💀


Anonymous
FREEOP

10 months ago

will try explicitly setting it in the apps directory, but this has never been an issue in our monorepo before.


10 months ago

Could you try enabling this and let me know how it looks?

1450591643135905863


Anonymous
FREEOP

10 months ago

explicitly setting in internal apps did not change anything, trying metal build env now


Anonymous
FREEOP

10 months ago


Anonymous
FREEOP

10 months ago

1450594146841788557


Anonymous
FREEOP

10 months ago

yeah no luck


Anonymous
FREEOP

10 months ago

yeah everything i redeploy is having the same issue now


Anonymous
FREEOP

10 months ago

@Error any way to elevate?


10 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!


Anonymous
FREEOP

10 months ago

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 😢


10 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.


Anonymous
FREEOP

10 months ago

@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


10 months ago

Good to know but that is super odd hmmm. I'll note this for later thank you!


Anonymous
FREEOP

10 months ago

going back down to version 22 fixed it.

thanks


10 months ago

@foundnone.eth anything else we can help you with or can we mark this thread as solved?


Anonymous
FREEOP

10 months ago

You can close it thanks


Status changed to Solved medim • 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...