简体   繁体   中英

NPM install failed on Windows for running grunt

I was trying to install grunt on Windows 7. I completed the npm install -g grunt-cli without any error. But when I tried npm install in the root directory of my project I got the following errors: 终端截图

I'm working with the latest Node.js version. I am running the command prompt as administrator. Any suggestions please? Thank you.

The npm registry is down at the moment. Follow the issue here: https://github.com/isaacs/npm/issues/4126

你需要先在你的机器上安装phantomjs (一个无头浏览器,它将用于qunit测试)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM