nottheforon how to configure grunt: http://gruntjs.com/getting-startedto find Gruntfile.
The error hint Gruntfile.js file could not be found, but the project already has a Gruntfile.js file that was later found to be installed with the npm module is grunt not complete (may be interrupted in the installation, but grunt the module directory already exists with the node_modules directory), the workaround is to reinstall grunt Module:
E:\website\jquery-plugins>npm install grunt
Execute again:
E:\website\jquery-plugins> gruntLoading "uglify.js" tasks...ERROR>> Error: ENOENT, no such file or directory ‘E:\website\jquery-plugins\node_modules\grunt-contrib-uglify\node_modules\uglify-js\lib\utils.src‘Warning: Task "uglify" not found. Use --force to continue.Aborted due to warnings.
Error message without this file or directory, guess grunt the uglify plugin is not installed complete, reinstall:
E:\website\jquery-plugins>npm install grunt-contrib-uglify--save-dev
Execute grunt The default tasks (I am here by default tasks only uglify )
"uglify:build"1filewithout errors.
Grunt Error--fatal error:unable to find Gruntfile