Frante Frante - 1 year ago 288
Node.js Question

How install express framework

I 'm in Windows and I have installed node.js. Now I need to install express framework so I do in console (cmd):

npm install express --save

how I read this:

But I obtain this error:

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x8
6)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "express" "--save"
npm ERR! node v4.4.7
npm ERR! npm v2.15.8
npm ERR! code E403

npm ERR! unregistered users are not allowed to access package express : express
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <>

npm ERR! Please include the following file with any support request:

Anyone can help me?

Answer Source

I think you may not be be using the appropriate registry. Try:

npm set registry ""

and run the npm install --save express again

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download