我需要帮助!
我已经能够毫不费力地安装和运行所有以前版本的PSK。我花了几个小时试图在我的环境中运行1.1.0。我已经做了我能想到的一切。从googling错误到在这里查看这个版本的所有当前问题。任何建议的修正对我都不起作用。
我没有做任何代码更改,我是作为管理员运行CMD。
当我获取存储库的新副本并执行NPM & Bower安装时,然后运行“grab”,无论发生什么,我都会得到以下错误:
C:\FrontEnd\polymer-starter-kit>gulp serve
[09:45:33] Using gulpfile C:\FrontEnd\polymer-starter-kit\gulpfile.js
[09:45:33] Starting 'styles'...
[09:45:33] Starting 'elements'...
[09:45:33] Starting 'images'...
[09:45:33] Finished 'elements' after 249 ms
[09:45:33] styles all files 98 B
[09:45:33] Finished 'styles' after 590 ms
[09:45:34] images all files 35.41 kB
[09:45:34] Finished 'images' after 357 ms
[09:45:34] Starting 'serve'...
[09:45:34] Finished 'serve' after 73 ms
[PSK] Access URLs:
------------------------------------
Local: http://localhost:5000
External: http://xxx.xxx.x.x:5000
------------------------------------
UI: http://localhost:3001
UI External: http://xxx.xxx.x.x:3001
------------------------------------
[PSK] Serving files from: .tmp
[PSK] Serving files from: app
events.js:141
throw er; // Unhandled 'error' event
^
Error: spawn cmd ENOENT
at exports._errnoException (util.js:837:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at doNTCallback2 (node.js:429:9)
at process._tickCallback (node.js:343:17)我的环境:
我也不知道如何获得更详细的堆栈跟踪。
我该怎么办?
谢谢你的帮助!
发布于 2015-10-04 06:07:09
结果,我需要将C:\Windows\System32添加到PATH vars中。太奇怪了。当我这样做的时候,一切都像魅力一样运作。
https://stackoverflow.com/questions/32909498
复制相似问题