-
Notifications
You must be signed in to change notification settings - Fork 121
0.1.3: Cannot start PhantomJS #31
Comments
I just had the same issue.
0.1.3 tries to run phantomjs.exe from the invalid location:
|
Can you please edit the
On my PC I get this logged out:
Thanks |
I get this on the build server. Note that I have not installed phantomjs globally.
|
Can you install it globally just to see if it solves the problem. If that's the case you will have a workaround for today and I'll fix it tonight. |
Sorry, I do not have time to try this now, maybe someone else can assist. |
I'm also having this issue. thanks for the quick turnaround on PR #32 |
Hello, Yesterday I have lost half a day before I noticed that there is a new version of the runner :( |
+1, please fix this |
I'm also running into this issue. |
I'm running into this issue too. |
I'm still somehow experiencing this issue. On our Windows-based Jenkins, I have PhantomJS installed globally, however, launching the On the other side, when I provide the |
I am experiencing also the issue when PhantomJS get stucked when running tests and it displays: Disconnected (1 times), because no message in 10000 ms. |
@juristr Something changed this week in the We'll have to investigate and find out if they broke it accidentally or if it's how it works now. In the meantime you can point I'm reopening this issue. I'll try to fix the launcher asap. |
Perfekt 👍 Meanwhile, for anybody having the same issue, just do what |
Got a confirmation that this is a bug in the phantomjs module. See Medium/phantomjs#194. I'll test again when they release a fix and then close this issue. |
I just wanted to note here that I was having this issue with the latest versions of launcher and phantom and what solved the problem for me was installing libfontconfig |
I am getting this issue with 0.1.4 as well |
Having this same issue with:
|
Same:
|
Confirming @bitwit 's advice. |
I can confirm that installing |
+1 on libfontconfig fix thanks |
+1 |
This gist got me set up for Ubuntu 12.04.5. These were the missing packages:
|
+1 on libfontconfig works |
+1 on libgontconfig |
+1 on libfontconfig |
+1 on libfontconfig, thanks @bitwit ! |
Running `gulp test` was failing on starting PhantomJS. Fixed by installing libfontconfig: karma-runner/karma-phantomjs-launcher#31 (comment) [MAPDEV196]
thanks |
I was having the same problem and it was solved by |
Got same problem, karma-phantomjs-launcher: 0.1.4 , phantomjs: 1.9.8 on centos, and libfontconfig is not available |
For CentOS: |
I'm closing this issue as it seems all remaining problems are due to the installation process of phantomjs. Please file a new issue if there is something we can actually do to help with this. |
+1 on libfontconfig (fixed my Docker image) |
The problem for NixOS is that the /lib64/ld-linux-x86-64.so.2 interpreter doesn't exist. The solution is to have the phantomjs derivation from nixpkgs in your shell, |
|
Thanks a lot for the tip @jan-tomsa, libfontconfig did the trick. |
I faced the same issue,the solution that worked for me is to run |
Having this issue with suggested solution of *fontconfig, *freetype on Ubuntu 14.04 and with:
|
I don't know why fontconfig works, but it works for me too. |
in local directory run |
npm install phantomjs for MacOs didn't solve it for me |
After upgrading 0.1.2 to 0.1.3, I get the error message:
There's no delays between the starting and cannot start messages.
I'm using "^0.1.2" dependency on karma-phantomjs-launcher so I had 2 systems yesterday upgrade to 0.1.3. One is Windows XP and the other Windows 7, both are running nodejs 0.10.26 and phantomjs 1.9.7. On one system phantomjs is in the path, in the other case, karma-phantomjs-launcher is using the version it downloaded itself into its lib folder. I'm running this from grunt. Initially I was using karma 0.10 but tried to upgrade to 0.12.2 to resolve the error with no luck.
Ultimately, I discovered that reverting karma-phantomjs-launcher to 0.1.2 fixes the problem. If I "npm install [email protected]" then build works, if I install 0.1.3 then it fails. This is consistent even when starting from existing project or when deleting all node_modules and allowing npm to totally refresh everything.
The text was updated successfully, but these errors were encountered: