upagna upagna - 1 month ago 11
Node.js Question

Grunt "Gruntfile.js" tasks...ERROR

pm WARN EPACKAGEJSON partnerportal@0.0.0 No description
npm WARN EPACKAGEJSON partnerportal@0.0.0 No license field.
>> Local Npm module "grunt-autoprefixer" not found. Is it installed?
>> Local Npm module "grunt-concurrent" not found. Is it installed?
>> Local Npm module "grunt-contrib-concat" not found. Is it installed?
>> Local Npm module "grunt-contrib-connect" not found. Is it installed?
>> Local Npm module "grunt-contrib-htmlmin" not found. Is it installed?
>> Local Npm module "grunt-contrib-jshint" not found. Is it installed?
>> Local Npm module "grunt-contrib-uglify" not found. Is it installed?
>> Local Npm module "grunt-contrib-watch" not found. Is it installed?
>> Local Npm module "grunt-filerev" not found. Is it installed?
>> Local Npm module "grunt-google-cdn" not found. Is it installed?
>> Local Npm module "grunt-karma" not found. Is it installed?
>> Local Npm module "grunt-newer" not found. Is it installed?
>> Local Npm module "grunt-ng-annotate" not found. Is it installed?
>> Local Npm module "grunt-svgmin" not found. Is it installed?
>> Local Npm module "grunt-usemin" not found. Is it installed?
>> Local Npm module "grunt-wiredep" not found. Is it installed?
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'time-grunt'


New to NPM and grunt. Not sure exactly whats going on? Any ideas how to debug? installed NPM and BOWER

Answer

I think that, you was not run npm install to install all packages for your project before running grunt. In the normal case, to build a Grunt App. We should run by the steps below:

Install NPM packages.

cd to_root_project_path

npm install

Install Bower packages

bower install

Finally, run grunt tast