I had a problem running grunt from the command line on my windows 8 machine.
My research shows that the most common solution is to install grunt-cli, since Grunt is no longer global. I also need to make sure that I really install the Grunt task runner, since this is not installed with grunt-cli.
Other solutions point to the PATH system environment variable, but it seems to be pointed out as I would expect:
C: \ Users [username] \ AppData \ Roaming \ NPM
Having done all this, I still get a "grunt" that is not recognized as an error message of an internal or external command, operating program, or batch file in the CLI. I tried the following things, removing everything after each attempt:
- Installed grunt-cli globally (npm install -g grunt-cli), then grunt at the directory level I want to use (npm install grunt)
- Same as above, but with a change in installation order
- Same as above, but using Admin command line
Am I missing something obvious?
Daniel Attfield Oct 02 '13 at 11:09 2013-10-02 11:09
source share