To compile bootstrap manually, an error occurred while installing grunt-cli.

  html5, question

This is an error message. How can we solve it?

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
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

One answer said that it could not be found.grunt-cliThat’s because you have the wrong numbergrunt-cilHere we go.


Install firstgrunt-cliUnder the global environment, it is recommended to usecnpmTo install (npmMay have been The Wall).

cnpm install -g grunt-cli