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 mod
I ended up installing all grunt dependencies manually.
npm install time-grunt npm install load-grunt-config
and then all modules listed here:
Note: you can install all of the dependencies in the photo above in one go with npm install.
npm install
Finally I ran the grunt command and it worked!
grunt