在运行" gulp serve"时生成CMD的Gulp错误

时间:2015-05-21 23:01:44

标签: node.js gulp

D:\Web\TeamBW\TeamBWSite>gulp serve
[19:15:29] Using gulpfile D:\Web\TeamBW\TeamBWSite\gulpfile.js
[19:15:29] Starting 'styles'...
[19:15:30] 'styles' all files 0 B
[19:15:30] Finished 'styles' after 492 ms
[19:15:30] Starting 'serve'...
[19:15:30] Finished 'serve' after 70 ms
[WSK] Local URL: http://localhost:3000
[WSK] External URL: http://192.168.1.5:3000
[WSK] Serving files from: .tmp
[WSK] Serving files from: app
events.js:85
      throw er; // Unhandled 'error' event
            ^
Error: spawn cmd ENOENT
    at exports._errnoException (util.js:746:11)
    at Process.ChildProcess._handle.onexit (child_process.js:1053:32)
    at child_process.js:1144:20
    at process._tickCallback (node.js:355:11)

D:\Web\TeamBW\TeamBWSite>

我在尝试运行' gulp serve'时遇到了这个错误。在我的google web starter kit目录中。在运行' gulp之前服务'我运行了这些命令

  1. cd TeamBWSite
  2. npm install
  3. npm install gulp -g
  4. 我感谢任何帮助。

    由于

0 个答案:

没有答案