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

Travis CI failing on OSX #23

Open
paulkernfeld opened this issue Nov 26, 2016 · 0 comments
Open

Travis CI failing on OSX #23

paulkernfeld opened this issue Nov 26, 2016 · 0 comments

Comments

@paulkernfeld
Copy link

I added a stdio option (#22) that shows that the failures are as below. I actually got the same error on my laptop, and I was able to fix it manually by following the instructions from the first comment in this issue for the Ruby version of headless.

> headless@1.1.0 test /Users/travis/build/paulkernfeld/node-headless
> node test/test.js
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
_XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed, errno = 2
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for local
(EE) 
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) 
/Users/travis/build/paulkernfeld/node-headless/test/test.js:5
  throw new Error('Timeout 2 seconds. You don\'t have xvfb installed or someth
        ^
Error: Timeout 2 seconds. You don't have xvfb installed or something else is seriously wrong.
    at options.display.width [as _onTimeout] (/Users/travis/build/paulkernfeld/node-headless/test/test.js:5:9)
    at Timer.listOnTimeout [as ontimeout] (timers.js:121:15)
npm ERR! Test failed.  See above for more details.
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