Home > OS >  Npm help config - no package wants to install
Npm help config - no package wants to install

Time:12-23

Hello I am working on a project where I have to build an API. With node.js, express, and Mongodb.

When I install the dependencies of express or mongo db ( exemple :npm install express), I have a error.

I work with my wifi, yesterday everything was working though. I don't understand why I have this problem now. I must make configuration ? I shared an image.

I work with visual studio code. 1

CodePudding user response:

check Node: npm install failure due to proxy config! What now?

and try

npm config set proxy

npm config set registry "http://registry.npmjs.org/"

CodePudding user response:

As it is stated in the error description,
"there is a problem related to network connectivity".

Probably, it's the problem with your wifi connection.

Command "npm install express" should work just fine with normal connection.

  • Related