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

Unhandled error event #35

Closed
remyleone opened this issue Nov 19, 2013 · 5 comments
Closed

Unhandled error event #35

remyleone opened this issue Nov 19, 2013 · 5 comments

Comments

@remyleone
Copy link

sieben@sieben-lincs:~|⇒ pa11y nature.com

Welcome to Pa11y
We'll sniff your page for you now.

Loading page...

events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:980:11)
at Process.ChildProcess._handle.onexit (child_process.js:771:34)

@rowanmanning
Copy link
Member

Hi Sieben,

I'll take a look at this as soon as I get a chance. Out of curiosity, do you get this error if you run pa11y as root?

@remyleone
Copy link
Author

Not at all.

2013/11/19 Rowan Manning notifications@github.com

Hi Sieben,

I'll take a look at this as soon as I get a chance. Out of curiosity, do
you get this error if you run pa11y as root?


Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-28790605
.

@whymarrh
Copy link

@sieben Do you have the PhantomJS binary in your PATH?

I think this issue comes from the shim.js file in the phantomjs-node module used. If you don't have the binary in your PATH, you can download the binary from the PhantomJS website.

@remyleone
Copy link
Author

Yeah now it works. But I'm very surprised that it works in .travis.yml without mentionning Phantom.

@rowanmanning
Copy link
Member

Glad you got it working, I'll see if I can make that error message a bit more descriptive. PhantomJS isn't in the travis config because we currently only run the unit tests on travis, where the PhantomJS stuff is mocked

joeyciechanowicz pushed a commit that referenced this issue Oct 27, 2021
Fixes the broken badges in our README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants