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 error: throw er; // Unhandled 'error' event #30

Open
diegoeis opened this issue Mar 4, 2015 · 1 comment
Open

Travis error: throw er; // Unhandled 'error' event #30

diegoeis opened this issue Mar 4, 2015 · 1 comment

Comments

@diegoeis
Copy link

diegoeis commented Mar 4, 2015

I'm trying run hardy in travis, but I'm not passing throw this error, some ideas about that?
https://travis-ci.org/diegoeis/locawebstyle/builds/53061854

> [email protected] test /home/travis/build/diegoeis/locawebstyle
> node_modules/hardy/bin/hardy --browser=phantomjs test
Hardy v0.0.10
events.js:72
    throw er; // Unhandled 'error' event
    ^
Error: spawn ENOENT
at errnoException (child_process.js:1011:11)
at Process.ChildProcess._handle.onexit (child_process.js:802:34)
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
The command "bundle exec rake jasmine:ci && npm test" exited with 1.
Done. Your build exited with 1.

My .travis.yml

before_script:
  - sh -e /etc/init.d/xvfb start
  - export DISPLAY=:99.0
  - sleep 3
  - npm install
  - node_modules/hardy/bin/hardy selenium start
  - python -m SimpleHTTPServer&

 script:
  - bundle exec rake jasmine:ci && npm test

and my package:

"scripts": {
   "test": "node_modules/hardy/bin/hardy --browser=phantomjs test"
}
@jhamit
Copy link

jhamit commented Apr 27, 2015

I was getting this locally on hardy selenium start prior to installing the JDK. Have you done that already?

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