我使用以下命令卸载了grunt。
npm uninstall -g grunt
然后我再次使用以下命令安装了grunt。
npm install -g grunt-cli
请访问以下链接:https : //npmjs.org/package/grunt-html
我想使用上面的grunt插件
但是,当我运行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