I had to modify grunt.cmd because the path for my system was very wrong:
Initially:
%~dp0\Application Data\npm\node_modules\grunt
To print:
\\dacwnas\Profiles\<user>\Application Data\npm\Application Data\npm\node_modules\grunt
Running grunt.cmd will cause a module error. Changing it to %~dp0\node_modules\grunt" fixes the error.
But when you run grunt.cmd --version , nothing is displayed in the windows. It just pauses for a moment and returns to an empty command line.
I am running a 64-bit version of Windows 7 and the command line is starting as an administrator
Eric C
source share