Fix · Node, npm and build
npm install hangs or takes forever
What you may see
- The progress bar does not move for many minutes
Most likely cause
Slow network or a very large dependency list, a stuck cache, or an install waiting for a question.
Check first (about two minutes)
- Wait five minutes on a good connection before stopping.
The fix prompt
What you type here never leaves your browser. The search runs on this page, and nothing is sent to a server or to an AI.
Kept only in this browser, on this device. Keys and passwords are removed before anything is saved.
Prompt language
Paste it into Claude, ChatGPT, Gemini or Cursor, then follow what it says.
After you tried it, did it work?
Steps
- Stop it with Ctrl+C and rerun with npm install --loglevel verbose to see where it waits.
- Check network (see the network entry), disk space (df -h), and the npm cache health (npm cache verify).
- If it still hangs, try npm ci with the lock file.
Do not do this
- Do not delete the lock file.
- Do not interrupt it again and again.