npm not working in windows

2019-03-04 09:51发布

问题:

I installed node.js along with npm when in the winodws command prompt I enter

npm -v

it returns 2.15.1 but when I try to install a package like:

npm install xml-parser

I see something loading and nothing after that.

What's going wrong?

标签: node.js npm