Skip to content
Advertisement

Error when I use npm install with visual studio code

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

Advertisement

Answer

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.

Advertisement