Reputation: 1090
I am trying to start my angular app using grunt serve
command
but I am getting Fatal error: spawn cmd ENOENT.
I used following commands to generate my Angular App
npm install -g yo grunt-cli bower
npm install -g generator-angular
yo angular
npm install
bower install
then i used grunt serve
command to start my app
but its not working.
System Info:
OS: Windows 7 64 bit
npm version : 2.11.3
please help me, I gone through all the grunt documentation but no clue.
Upvotes: 6
Views: 10308
Reputation: 11
Run grunt serve with cmd.exe instead of git bash. I have the same problem and have dealt with it in this way.
Upvotes: 1
Reputation: 506
Try the following possible solutions:
C:\Windows\System32\
to the PATH Environment variableUpvotes: 13