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

Windows - did you install phantomjs #74

Open
mikemellor11 opened this issue Feb 17, 2016 · 1 comment
Open

Windows - did you install phantomjs #74

mikemellor11 opened this issue Feb 17, 2016 · 1 comment

Comments

@mikemellor11
Copy link

I keep getting this error, i have phantomjs installed globally and locally for other tasks (karma/grunticon ect.) All of those seem to boot up phantom just fine but casperjs gives me the error

Running "casperjs:local" (casperjs) task
Verifying property casperjs.local exists in config...OK
Files: _Test/casperjs/index.js
Options: casperjsOptions=[]
Command: C:\Users\mmellor\Desktop\preprocess\node_modules\grunt-casperjs\node_modules\.bin\casperjs.cmd

Running tests from "_Test/casperjs/index.js":
Fatal: [Errno 2] No such file or directory; did you install phantomjs?

Here's my config

    casperjs: {
            options: {
                casperjsOptions: [
                ]
            },
            local: {
                src: ['_Test/casperjs/*.js']
            }
        }

If i run phantomjs -v from the same location it finds it

$ phantomjs -v
2.1.1

Any idea?

@JustinT01
Copy link

I am also facing similar issue when trying to run casperjs:
"
Running CasperJS with: ['/Users/thomasj/dev/projects/VRT/node_modules/backstopjs/capture/genBitmaps.js',
'--ignore-ssl-errors=true',
'--captureConfigFileName=/var/folders/9p/r9ryl_f93q75jfymg1x24gls6v173t/
T/capture/3555d660dd495d80b3877473ea646f5eda3be723.json' ]
CasperJS: ERROR - Fatal: No such file or directory; did you install phantomjs?
"

Anyone has any idea about this issue?

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

2 participants