Grunt:

How to get rid of the grunt warning:

Local npm module "grunt-cli" not found. Is it installed?

I solved that annoying error message by moving grunt-cli from the devDependencies to peerDependencies.

{
  "name": "hello-world",
  "version": "0.0.0",
  "author": "goliatone",
  "dependencies": {},
  "peerDependencies": {
    "grunt-cli": "~0.1.9"
  },
  "devDependencies": {
    "glob":"~3.2.8",
    "karma": "~0.10.8",
    "grunt": "~0.4.2"
  }
}