The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
Facing issues with npm install after npm cache clean
I am facing issues with npm install for the past two weeks. I am on work network where all other apps are working fine behind proxy – but whenever I try t do ‘npm install’, I get the following error:
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! network request to https://registry.npmjs.org/debug/-/debug-4.1.1.tgz failed, reason: connect ETIMEDOUT 22.214.171.124:8080
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: ‘npm help config’
npm ERR! A complete log of this run can be found in:
Tired the following:
- Checked internet
- Tried changing proxy
Nobody else seems to be facing this issue. This issue is occurring after I cleaned cache using npm cache clean –force command.
Am I missing something? Any idea how to fix this? Should I try reinstalling npm? My npm version is 6.9.0 and node version is 10.13.0; Using Windows machine.
In case you have not seen it, there is a troubleshooting topic: Common proxy and networking problems