karma start
使用正确的网址启动Chrome,但Chrome只是坐在那里旋转。此外,Karma推出的那个窗口中没有其他网址可以使用。--user-data-dir=C:\tmp\karma-7572069
- 这是相同的行为...浏览器只是旋转而没有其他网址在该窗口中工作任何建议?
谷歌搜索并倾注了无数类似的SO问题后,我认为这肯定与损坏的用户个人资料有关...但在擦除Chrome用户文件夹并重新安装等之后,我还能尝试什么?
0.12.28
39.0.2171.95 m
调试日志:
DEBUG [config]: Loading config d:\Code\test2\karma.conf.js DEBUG [plugin]: Loading karma-* from d:\Code\test2\node_modules DEBUG [plugin]: Loading plugin d:\Code\test2\node_modules/karma-chrome-launcher. DEBUG [plugin]: Loading plugin d:\Code\test2\node_modules/karma-firefox-launcher. DEBUG [plugin]: Loading plugin d:\Code\test2\node_modules/karma-ie-launcher. DEBUG [plugin]: Loading plugin d:\Code\test2\node_modules/karma-jasmine. DEBUG [plugin]: Loading plugin d:\Code\test2\node_modules/karma-opera-launcher. INFO [karma]: Karma v0.12.28 server started at http://localhost:9876/ INFO [launcher]: Starting browser Chrome DEBUG [temp-dir]: Creating temp dir at C:\tmp\karma-7572069 DEBUG [launcher]: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --user-data-dir=C:\tmp\karma-7572069 --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate http://localhost:9876/?id=7572069 DEBUG [watcher]: Resolved files: d:/Code/test2/node_modules/jasmine-core/lib/jasmine-core/jasmine.js d:/Code/test2/node_modules/karma-jasmine/lib/boot.js d:/Code/test2/node_modules/karma-jasmine/lib/adapter.js WARN [launcher]: Chrome have not captured in 60000 ms, killing. DEBUG [launcher]: Process Chrome exited with code 0 DEBUG [temp-dir]: Cleaning temp dir C:\tmp\karma-7572069 INFO [launcher]: Trying to start Chrome again (1/2). DEBUG [launcher]: Restarting Chrome DEBUG [temp-dir]: Creating temp dir at C:\tmp\karma-7572069 DEBUG [launcher]: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --user-data-dir=C:\tmp\karma-7572069 --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate http://localhost:9876/?id=7572069 WARN [launcher]: Chrome have not captured in 60000 ms, killing. DEBUG [launcher]: Process Chrome exited with code 0 DEBUG [temp-dir]: Cleaning temp dir C:\tmp\karma-7572069 INFO [launcher]: Trying to start Chrome again (2/2). DEBUG [launcher]: Restarting Chrome DEBUG [temp-dir]: Creating temp dir at C:\tmp\karma-7572069 DEBUG [launcher]: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --user-data-dir=C:\tmp\karma-7572069 --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate http://localhost:9876/?id=7572069 WARN [launcher]: Chrome have not captured in 60000 ms, killing. DEBUG [launcher]: Process Chrome exited with code 0 DEBUG [temp-dir]: Cleaning temp dir C:\tmp\karma-7572069 ERROR [launcher]: Chrome failed 2 times (timeout). Giving up. DEBUG [launcher]: Disconnecting all browsers
答案 0 :(得分:1)
想出来。我的控制台是以非管理员身份运行的。 Booo。现在一切正常。