I type “grunt clean” in the command bar and get the following error
GRUNT-CLI: The Grunt Command Line Interface (v1.2.0) Fatal error: Unable to find local grunt. If you're seeing this message, 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`
The solution
sudo npm install -g grunt-cli
After running the above command continue with the following command
cd [my project root]
npm install grunt --save-dev
The following error occurred when running Grunt
Loading "Gruntfile.js" tasks... ERROR >> Error: Cannot find module 'node-minify' Warning: Task "default" not found. Use --force to continue. Aborted due to warnings.
Rerun the
NPM install -- save-dev node-monify NPM install