首页 > 想手动编译bootstrap,安装grunt-cli时出错了

想手动编译bootstrap,安装grunt-cli时出错了

这是错误信息,请问如何解决呢?

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

我错了 对不起 ?

【热门文章】
【热门文章】