Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

PhantomJS have not captured in 60000 ms, killing - Error in test run #206

Open
Cloudbyte-code opened this issue Sep 27, 2017 · 1 comment

Comments

@Cloudbyte-code
Copy link

I get this error while doing the ng test

Error:

2017-09-27T18:47:58.5196376Z �[32m27 09 2017 14:47:58.500:INFO [karma]: �[39mKarma v1.7.0 server started at http://0.0.0.0:9876/
2017-09-27T18:47:58.5206377Z �[32m27 09 2017 14:47:58.517:INFO [launcher]: �[39mLaunching browser PhantomJS with unlimited concurrency
2017-09-27T18:47:58.5326389Z �[32m27 09 2017 14:47:58.530:INFO [launcher]: �[39mStarting browser PhantomJS
2017-09-27T18:48:58.5366387Z �[33m27 09 2017 14:48:58.534:WARN [launcher]: �[39mPhantomJS have not captured in 60000 ms, killing.
2017-09-27T18:49:00.5388389Z �[33m27 09 2017 14:49:00.536:WARN [launcher]: �[39mPhantomJS was not killed in 2000 ms, sending SIGKILL.
2017-09-27T18:49:02.5390389Z �[33m27 09 2017 14:49:02.536:WARN [launcher]: �[39mPhantomJS was not killed by SIGKILL in 2000 ms, continuing.

Config

"karma": "1.7.0",
"karma-jasmine": "1.1.0",
"karma-jasmine-html-reporter": "0.2.2",
"karma-junit-reporter": "1.2.0",
"karma-phantomjs-launcher": "1.0.4",
"karma-remap-istanbul": "0.6.0",
"karma-xml-reporter": "0.1.4",
"phantomjs-prebuilt": "2.1.14",

I have phantomjs-2.1.1-windows on the local drive
Port 9876 is not being used.

Please help

@jrdncchr
Copy link

Same problem and it was solved when I followed this solution:
karma-runner/karma#2647 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants