lapwinglabs / x-ray-phantom

phantom driver for x-ray.
112 stars 30 forks source link

I am getting a weird error when I run x-ray-phantom #11

Closed winnemucca closed 8 years ago

winnemucca commented 8 years ago

My first error is phantomjs-node: You don't have 'phantomjs' installed

My other error is Warning: phantomjs-2.0.0 already installed

I am running nodemon

Here is my package.json

"node-phantom-simple": "^2.0.1", "phantomjs": "^1.9.17", "x-ray": "^2.0.2", "x-ray-phantom": "^1.0.1"

matthewmueller commented 8 years ago

Oh you don't have phantom installed on your computer. I think you need to run brew install phantomjs

matthewmueller commented 8 years ago

Edit: sorry I misread. I don't think Nightmare supports Phantom 2.0.0 yet...

winnemucca commented 8 years ago

Oh, no worries. I will look at changing phantom to an earlier version. Is there one that works best?

On Jul 30, 2015, at 7:59 PM, Matthew Mueller notifications@github.com wrote:

Edit: sorry I misread. I don't think Nightmare supports Phantom 2.0.0 yet...

— Reply to this email directly or view it on GitHub https://github.com/lapwinglabs/x-ray-phantom/issues/11#issuecomment-126541180.

matthewmueller commented 8 years ago

See if 1.9.7 works for you, that's the one I'm running

winnemucca commented 8 years ago

great thanks.

On Thu, Jul 30, 2015 at 11:38 PM, Matthew Mueller notifications@github.com wrote:

See if 1.9.7 works for you, that's the one I'm running

— Reply to this email directly or view it on GitHub https://github.com/lapwinglabs/x-ray-phantom/issues/11#issuecomment-126572053 .

misaxi commented 8 years ago

I'm a bit confused - please shed some lights. Since this module depends on Nightmare, which in turn uses electron, why phantom is required?

umpirsky commented 8 years ago

@matthewmueller Why phantomjs is not x-ray-phantom dependency? And why do you encourage us to install it using brew when there is a npm package?

Also, I installer it with npm install phantomjs --save so I have it locally for my project, but still getting:

phantomjs-node: You don't have 'phantomjs' installed

Any help is appreciated. Thanks.