Luca Marzi
Luca Marzi

Reputation: 806

Nodejs on Windows, npm doesn't install modules from registry

I'm having a problem with my new installation of Node.js (windows 64 bit). I'm trying to install the express module inside a project of mine but I can't work it out.

I type this command :

npm install -g express

However this is the result of the command

├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) ├── [email protected] ([email protected]) ├── [email protected] ([email protected]) ├── [email protected] ([email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) └── [email protected] ([email protected])

It's the list of dependecies needed by express but there's no download of them.

The first time I tried to use npm I had this problem (https://github.com/npm/npm/issues/4808)

There were many solutions to solve it, one of them consist in disable the layer ssl for the connection to the npm online registry but I don't think there's a connection between this solution (that I applied) and the problem.

Thank you in advance,

Luca

Upvotes: 0

Views: 308

Answers (1)

gnerkus
gnerkus

Reputation: 12019

The express module should be installed on a per project basis.

npm install --save express

Upvotes: 0

Related Questions