Skip to content
Service console no longer recognizes npm. Errors on deploy logs
senddnes
OP

an hour ago

getting "-bash: npm: command not found" When trying to use the console on any of my node projects

Also getting this repeated error in logs when deploying

encountered unknown type application/vnd.oci.image.layer.v1.tar+zstd; children may not be fetched

Awaiting Conductor Response$40 Bounty

3 Replies

Status changed to Awaiting Railway Response Railway • about 1 hour ago


Railway
BOT

an hour ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway • about 1 hour ago


Try adding mise exec -- at the front of your command (eg, mise exec -- npm <args>).


0x5b62656e5d

Try adding `mise exec --` at the front of your command (eg, `mise exec -- npm <args>`).

senddnes
OP

an hour ago

That worked! Did something change and now I have to do that every time moving forward?


Not sure, but it’s a workaround that’s been found to work successfully so far.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...