in package json, have tried many different versions of karma-phantomjs-launcher, phantomjs, including phantomjs-prebuilt.
current package json "devdependencies": { "jasmine-core": "^2.5.2", "karma": "^1.6.0", "karma-jasmine": "^1.1.0", "karma-phantomjs-launcher": "^0.1.1", "phantomjs": "^1.9.20" }
in cases "phantomjs have not captured in 60000 ms" tries twice, gives up.
i on windows 10, running command line in webstorm. however, same errors in visual studio code.
what problem? karma starts, karma finds files, phantomjs starts, not capture.
i've seen suggestions set localhost in hosts file , checking whether karma port 9876 in use. nothing seems work.
please advise. thanks
from thread https://github.com/karma-runner/karma-phantomjs-launcher/issues/84
go c:\windows\system32\drivers\etc\hosts or /etc/hosts on linus
add 127.0.0.1 localhost
hostfile , works !
Comments
Post a Comment