致命错误:产卵cmd ENOENT - 咕噜发球 [英] Fatal Error: spawn cmd ENOENT -- grunt serve

查看:160
本文介绍了致命错误:产卵cmd ENOENT - 咕噜发球的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正尝试使用 grunt serve 命令
启动我的角度应用程序,但是我遇到了致命错误:spawn cmd ENOENT。



我使用以下命令生成我的Angular应用程序

  npm install -g yo grunt-cli bower 
npm install -g生成器-angle
yo角度
npm安装
bower安装

然后我用 grunt serve 命令启动我的应用程序



但它不起作用。

系统信息:
操作系统:Windows 7 64位
npm版本:2.11.3 / b>

解决方案

尝试以下可能的解决方案:


  • 验证npm文件夹是否存在于以下位置C:\ Users \ My-UserName\AppData\Roaming\\\
    pm

  • 试试清理

  • 在PATH环境变量中添加 C:\ Windows \ System32 \


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.

解决方案

Try the following possible solutions:

  • Verify the npm folder exists at the following location C:\Users\My-UserName\AppData\Roaming\npm
  • Try to run npm cache clean
  • Add C:\Windows\System32\ to the PATH Environment variable

这篇关于致命错误:产卵cmd ENOENT - 咕噜发球的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆