I created everything for the project with the following commands:
sudo npm install -g grunt-cli
sudo npm install grunt
sudo npm install grunt-contrib-jshint
sudo npm install jshint-stylish
sudo npm install time-grunt
sudo npm install jit-grunt
And this is my package.json file
{
"name": "Project1",
"private": true,
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-jshint": "^0.12.0",
"jit-grunt": "^0.9.1",
"jshint-stylish": "^2.1.0",
"time-grunt": "^1.3.0"
},
"engines": {
"node": ">=0.10.0"
}
}
When I run the grunt command, it gives the following errors:
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'time-grunt'
Warning: Task "default" not found. Use --force to continue.
Aborted due to warnings.
source
share