使用npm install时出错(npm ERR!Windows_NT 6.3.9600)

Rah*_*hul 9 node.js npm

大家好我在尝试通过npm安装包时遇到以下错误.我使用的操作系统是Windows 8.它在Ubuntu上运行完美.请帮我解决这个问题.

C:\Users\xxxxx>npm install -g jshint

npm ERR! registry error parsing json

npm ERR! Windows_NT 6.3.9600 

npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\node\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "jshint"

npm ERR! node v0.12.4

npm ERR! npm  v2.10.1

npm ERR! Unexpected token <

npm ERR! <html>

npm ERR! <head>

npm ERR! </head>

npm ERR! <body>

npm ERR! We are sorry but this is temporarily unavailable.

npm ERR! <!-- Site Not Found. -->

npm ERR! </body>

npm ERR! </html>

npm ERR!

npm ERR!

npm ERR! If you need help, you may report this error at:

npm ERR!     <https://github.com/npm/npm/issues>


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

npm ERR!     C:\Users\xxxxx\npm-debug.log
Run Code Online (Sandbox Code Playgroud)

Rah*_*hul 6

我得到了这个问题的解决方案(至少在我的情况下).注册表的网址已过时.请看这个链接: 无法使用"npm install"在Node.js中安装任何软件包

谢谢.