-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot start PhantomJS #1270
Comments
@etiennebr remove global phantomjs and install it to the project |
Nope :(
Then still that error...
|
Do you have env variable echo $PHANTOMJS_BIN |
I added it to my .bashrc.
|
@etiennebr seems |
@etiennebr |
How can I change access for karma ? I removed karma globally and installed it locally only, but still the same issue.
While installation seems to work fine, karma isn't in
Now after some googling it seems related to file access, and similar to http://stackoverflow.com/questions/26968388/executing-karma-giving-permission-denied-error, but 1: the directory stated in doc http://karma-runner.github.io/0.8/intro/installation.html |
Hm... really very strange behavior. Myself I use Ubuntu and never met such problems on 12 and 14 As a suggestion try use nvm and install npm install -g karma-cli Thanks! |
Close, because problem does not in |
Just wanted to note, as I had a similar issue today - phantomjs on Ubuntu needs the |
@egeland Your solution fixed the problem. The package was missing on my Ubuntu. I got following error message:
Unfortunately this message does not give any hints about the problem, so I'm happy that I found your post. |
@dominicumbeer Glad it helped - your errors are exactly what I was seeing today. So mysterious, until you run |
@egeland : Good thing I found this post. I'm also having problems with PhantomJS not running in Karma in Meteor's velocity JS Kudos to you :) |
@egeland Me too!
grunt karma & karam start & sudo karam start all not work, but sudo grunt karma works fine
sudo karma start is stuck |
@luxueyan Did you install the packages as I mentioned above? |
@egeland Sorry, i didn't say my system is os x 10.9.5.
Now the only works way for me is : sudo grunt karma. |
@egeland +1 to your solution. Thank you very much for helping us ! |
RHEL/CentOS solution:
|
i think libfontconfig-dev isnt required (debian:jessie) |
@egeland Thank you so much! You saved my day! |
Just a note for others that we came across this issue when the script being executed wasn't actually executable. That is, a simple |
Hello, this seems to be somewhat related to issue #558. However I'm new to all this (npm, grunt, karma) and I'm not really sure of the identity of the problem.
When I
grunt karma:unit
I get this sad result
With my limited understanding I've tried installing and reinstalling (global and/or not) phantomjs but it didn't work out.
I'm on Ubuntu 12.04
karma@0.12.28
node@0.10.34
phantomjs@1.9.12
However, when I
$ phantomjs --version
, I get1.9.8
. which is odd. Checking on the phantomjs website seems to confirm the latests release is phantomjs 1.9.8.So I don't think there's another installation that karma could refer to. At this point, when I launch grunt karma:unit it accordingly say that phantomjs isn't there.
Then I reinstalled phantomjs
Still, karma complains
Cannot start PhantomJS Error: spawn EACCES
.The text was updated successfully, but these errors were encountered: