I try install time-grunt local and global, clear npm cache, update npm, but nothing helps. I get:
Loading "Gruntfile.js" tasks...ERROR
Error: Cannot find module 'time-grunt'
Warning: Task "default" not found. Use --force to continue.
My version od packages: node: '0.10.31', npm: '1.4.23'
After run: npm install --save-dev time-grunt in package.json state:
"devDependencies": {
"grunt": "^0.4.5",
...
"time-grunt": "^1.0.0"
}
This is part of my grunfile.js:
module.exports = function( grunt ) {
require('time-grunt')(grunt);
grunt.initConfig({
// grunt tasks here
});
// load tasks here
// register task here
}
Other grunt tasks runing without error.
I not understand what is wrong.
How I can test correctly installation of time-grunt by command line?