npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

npm install on Linux stalls behind corporate firewall

When attempting to install Node modules behind a corporate firewall, npm simply stalls. Using the verbose flag doesn’t shed any additional light on why it is failing. This problem happens when using Ubuntu 18.04 and Fedora 30. Is there something else I can do to debug the problem?


There is a troubleshooting guide here: Common proxy and networking problems


Thanks, I had read the linked material before posting the question.

I solved my problem by following this gist: https://gist.github.com/taoyuan/bfa3ff87e4b5611b5cbe