运行gulp时,出现spawn cmd错误

时间:2019-04-08 04:32:32

标签: javascript gulp

运行gulpfile时,出现如下错误“ spawn cmd.exe ENOENT”。.

  

{错误:命令失败:gulp --gulpfile。
  ./src/Project/FrontEnd/living-styleguide//gulpfile.js build。
  events.js:167         投掷者//未处理的“错误”事件。
      在onErrorNT(internal / child_process.js:406:16)上。
        ^错误:生成cmd.exe无效

我的路径环境变量包括c:\ windows \ system32,因此应该找到cmd.exe

0 个答案:

没有答案