这是错误信息,请问如何解决呢?
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "E:\\softWares\\nodeJs\\\\node.exe" "E:\\softWares\\nodeJs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "grunt-cil"
npm ERR! node v0.12.0
npm ERR! npm v3.5.1
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/grunt-cil
npm ERR! 404
npm ERR! 404 'grunt-cil' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\ZXQ\npm\npm-debug.log
有个答案中说找不到grunt-cli
那是因为你打错成了grunt-cil
了。
先在安装grunt-cli
在全局环境下面,推荐使用cnpm
进行安装(npm
可能会有被墙的情况)。
cnpm install -g grunt-cli
grunt-cli
cnpm
我错了 对不起 ?