PaulDiamant's avatar

npm install fails on Ubuntu with proxy error

Fresh new installation of laravel 5.4, and when I use npm install to get the dependencies I get the following error;

! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settin
gs.
npm ERR! network
npm ERR! network If you are a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config

Ive tried setting the registry to http://registry.npmjs.org/ in the npm config without the HTTPS but it still doesn't work.

0 likes
0 replies

Please or to participate in this conversation.