我需要帮助!
我已经能够毫不费力地安装和运行所有以前版本的PSK。我花了几个小时试图让1.1.0在我的环境中运行。我做了我能想到的一切。从谷歌搜索错误到这里查看此版本的所有当前问题。任何建议的修复都不适合我。
我没有更改代码,我正在运行CMD作为管理员。
当我抓住存储库的新副本并执行NPM& Bower安装,然后运行“gulp serve”无论如何我都会收到以下错误:
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)
我的环境:
我也不确定如何获得更详细的堆栈跟踪。
我该怎么办?
感谢您的帮助!
答案 0 :(得分:1)
事实证明我需要将 C:\ Windows \ System32 添加到我的PATH变量中。这么奇怪。当我这样做时,一切都像魅力一样。