Deployments always stuck on npm ci
xhmm
HOBBYOP

6 months ago

I have tried dockerfile builder and railpack builder, I also tried trun on/off metal build environment, but the deploys always hang on npm ci, no success, so annoying and don't know how to do. ps: i didn't enable 'wait for ci'

$10 Bounty

2 Replies

Railway
BOT

6 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


6 months ago

Common NPM issue unfortunately.

Can you try the following:

  1. delete node_modules and package-lock.json in your local environment
  2. re-install everything locally with npm i
  3. commit the new package-lock.json file to the repo

That should trigger a new deploy and probably fix this issue. Happens to me from time to time too. Not an issue with Railway just an issue with npm's package lock system


Welcome!

Sign in to your Railway account to join the conversation.

Loading...