问题描述
我当时正在用摩卡咖啡测试我的电子应用程序,但多次出现此错误(而且我仍然收到!)。每次我运行程序时,它都会返回错误
> Executing task: npm run test <
> forte@1.0.0 test PATH TO PROJECT
> mocha ./tests/test.js
0 passing (3ms)
Test Failed Failed to create session.
unkNown error: Chrome Failed to start: was killed.
(unkNown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location \node_modules\spectron\lib\launcher.bat is no longer running,so ChromeDriver is
assuming that Chrome has crashed.)
只要这很重要,说(The process started from chrome location \node_modules...
的那部分实际上就是整个路径,不仅如此。
在我的test.js文件中,我有Spectron主页上的代码,您可以查看here。测试文件怎么了?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)