-
Notifications
You must be signed in to change notification settings - Fork 131
Please set env variable PHANTOMJS_BIN #69
Comments
Does phantomjs work for you independently of karma? |
yup just installed phantomjs 2.0 from their site and did the quick start |
Same issue here.
Ironically, exporting
This actually installs the expected
|
Could you show me the output of |
Okay it's as I expected, due to deduplication and being a peerDependency the phantomjs package gets moved to the top level, and so the path to it is |
You are welcome. Glad to help. |
Okay so it looks like it's not us :( We are just using |
Are you positive on this, @dignifiedquire ? I have debugged the plugin and it seems as if |
No I'm not sure as I can't reproduce it on my machine :/ which os/node version are you on? |
|
@AquilaSagitta could you please provide the full log output with log level set to |
debug info @dignifiedquire requested. http://pastebin.com/XhSEppjh |
@AquilaSagitta thanks, if you want please try my pr #78 as well, I hope it fixes this issue |
@dignifiedquire Didn't solve the issue. Now the path is, indeed, absolute. But it's still a path to a non existent binary.
|
Ok, I feel dumb. I've discovered that my auto-generated process.env.PHANTOMJS_BIN = 'node_modules/karma-phantomjs-launcher/node_modules/.bin/phantomjs'; at the very beginning. Entirely missed it this whole time. Removed it and worked flawlessly, both your branch and the 0.2.0 version. Shame on me. Nevertheless,
We should wait for some input from @AquilaSagitta. But, apart form that, you could close this issue if you want. Thank you very much, @dignifiedquire for your time and patience. |
Happy to hear that :) |
I also have the
in my |
That seems to resolve the issue >.< I karma was complaining that the plugin for phantomjs was missing tho. Thought karma shipped with phantomjs and chrome. I added |
@AquilaSagitta Was your I believe this is affecting users with existing/old setups created by those tools. |
It isn't. Do a clean |
@nfantone Yes this project was scaffold with Slush (Gulp.js equivalent of Yeoman) probably 2-3 months ago. You're right the clean install doesn't have a
NOTE this is with #78 installed |
Exactly. So was ours. In that same window frame. (I have edited my previous answer where I wrote slug, instead of Slush) I don't know if newer versions of Slush still include this, but we should open an issue over there. |
If you want to go ahead and do that feel free. I still don't understand what's happening or why removing that |
Can't get phantomjs to launch. I have installed karma and karma-phantomjs-launcher both locally and globally. I've tried reverting the versions and manually setting the environment variable but it still doesn't work. I can launch karma-chrome-launcher no problem but would prefer to use phantomjs. Is this a problem with phantomjs itself?
Windows 7, node 0.12, karma 12.31, karma-phantomjs-launcher 0.1.4, phantomjs 1.9.16
Any help is appreciated!
The text was updated successfully, but these errors were encountered: