webdesserts
webdesserts

Reputation: 1023

Issues with Npm in Node Windows executable

Problem

I recently updated to the latest version of node which is supposed to come with npm pre-installed. Although all the files are there, when I try to call something like npm help in node I get a hanging .... If I try to run it directly from command prompt I get this error:

command prompt error

Any Idea on what the possible issue could be? I am running on windows 7 btw.

Ideas

Thanks in advance for your help!

Upvotes: 0

Views: 462

Answers (1)

alessioalex
alessioalex

Reputation: 63683

Don't call npm with node, if you want to see if npm is installed properly (and is in your path) execute the following command in the terminal:

npm -v

If you want to install a module: npm install express

Upvotes: 2

Related Questions