Skip to content
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 find phantomjs binary in project node_modules #5

Open
ckundo opened this issue May 9, 2016 · 0 comments
Open

Cannot find phantomjs binary in project node_modules #5

ckundo opened this issue May 9, 2016 · 0 comments

Comments

@ckundo
Copy link

ckundo commented May 9, 2016

When I install the cli via npm and run quail eval twitter.com, I expect to see some messages, but instead get an error:

Error: Cannot find module '/path/to/project/node_modules/phantomjs/bin/phantomjs' at Function.Module._resolveFilename (module.js:338:15)

It looks to me like the cli is looking for phantomjs to be a local dependency, but I'd expect it to use the global phantomjs binary (located in /usr/local/bin/phantomjs on OS X).

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

No branches or pull requests

1 participant