While trying to install bower ; ECON npm ERR! code ECONNRESET

(Ashish Ashish) #1

I have tried to edit the config file with http & https settings as mentioned in the formus
npm config set registry http://registry.npmjs.org/ & https://registry.npmjs.org/
npm install -g bower --registry https://registry.npmjs.org/

unfortunalty it thorws error as if its network related, i have checked and there is no proxy.i have tried with node js cmdprompt as well as powershell ISC as administrator. can someone show why its getting blocked?

rm -f package-lock.json
npm config rm proxy
npm config rm https-proxy

H:>npm -v
6.4.1
H:>node -v
v10.15.3

error

npm
ERR!

errno
ECONNRESET
npm

ERR!

network
request to https://registry.npmjs.org/bower failed, reason: read ECONNRESET
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!

(system) closed #2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.