Skip to content

Cannot find phantomjs binary in project node_modules #5

@ckundo

Description

@ckundo

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions