This is my package.json for the module that I\'m including in the parent project:
{
\"version\": \"0.0.1\",
\"name\": \"module-name\",
\"d
I suspect you're facing the issue where your package.json file is not in the same directory as your Gruntfile.js. When you run your grunt xxx commands, you get error an message like:
Local Npm module "xxx" not found. Is it installed?
For now, the solution is:
npm install to load them locallyIMHO, it is sad that we cannot have grunt resolve modules loaded from a parent npm module (i.e. package.json in a parent directory within the same project). The discussion here seems to indicate that it was done to avoid loading "global" modules but I think what we want is loading from "my project" modules instead.