从赛普拉斯3.2.0升级到3.3.0后,赛普拉斯将打开,仅显示电子选项以供执行。
我尝试完全卸载赛普拉斯(两个版本),然后使用npm从头开始重新安装。
尝试执行此操作时: https://docs.cypress.io/guides/guides/debugging.html#Clear-App-Data
我明白了:
{ Error: spawn cmd ENOENT
at _errnoException (util.js:1024:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
code: 'ENOENT',
errno: 'ENOENT',
syscall: 'spawn cmd',
path: 'cmd',
spawnargs:
[ '/c',
'start',
'""',
'/wait',
'C:\\Users\\James\\AppData\\Roaming\\Cypress\\cy\\production' ] }
Error: spawn cmd ENOENT
at _errnoException (util.js:1024:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
我希望赛普拉斯在升级时不会丢失现有Chrome安装的位置,并且我希望能够通过清除应用数据而不会出现错误来调试问题。