我用下面的命令卸载了 grunt。
npm uninstall -g grunt
然后我用下面的命令再次安装了 grunt。
npm install -g grunt-cli
浏览以下连结: Https://npmjs.org/package/grunt-html
我想使用上面的咕噜声插件
但是当我运行 grunt 命令时,它会给我以下错误:
D:\nodeJS\node_modules\grunt-html>grunt
grunt-cli: The grunt command line interface. (v0.1.6)
Fatal error: Unable to find local grunt.
If you're seeing this message, either a Gruntfile wasn't found or grunt
hasn't been installed locally to your project. For more information about
installing and configuring grunt, please see the Getting Started guide:
http://gruntjs.com/getting-started