npm ping timout when using npm 8

Viewed 15

I am using a private registry (running with verdaccio). I have a .npmrc as follow :

registry=http://pivate-registry.company.com:4873/
http-proxy={mycompanyproxy}
https-proxy={mycompanyproxy}
strict-ssl=true
proxy={mycompanyproxy}
no-proxy=pivate-registry.company.com,localhost,127.0.0.1

When I ping the registry using npm 6.14.17, I have no issue :

npm notice PING http://pivate-registry.company.com:4873/
npm notice PONG 3.211ms

When I ping the registry using npm 8.18.0, I get a network timeout :

npm notice PING  http://pivate-registry.company.com:4873/
npm ERR! code FETCH_ERROR
npm ERR! errno FETCH_ERROR
npm ERR! network timeout at:  http://pivate-registry.company.com:4873/-/ping?write=true

What difference between npm 6 and npm 8 could cause a network issue ?

I am using nvm to change between node and npm versions so the config, marchine, network,... everyting else is the same.

0 Answers
Related