SC5 / gulp-bobrsass-boilerplate

Gulp BoBrSASS Boilerplate
7 stars 13 forks source link

"Ghostdriver exited prematurely" #41

Open terotil opened 9 years ago

terotil commented 9 years ago

For the record,

This error was caused by Selenium server default port 4444 being already reserved. I don't know if there's a simple way of selecting a free port or explicitly reporting the collision. If there were, it would help on this case.

$ npm run test

> gulp-bobrsass-boilerplate@0.5.0 test /home/tero/sc5/mushroom-work
> gulp test

[13:51:20] Using gulpfile ~/sc5/mushroom-work/gulpfile.js
[13:51:20] Starting 'test'...
[13:51:20] Starting 'test-setup'...
[13:51:20] Test server starting
[13:51:20] Finished 'test' after 8.24 ms
[13:51:20] Test server error in connecting to http://localhost:8080/
[13:51:21] Test server got URL response - running
[13:51:21] Ghostdriver starting
[13:51:21] 'test-setup' errored after 1.1 s
[13:51:21] Error: Ghostdriver exited prematurely.
    at ChildProcess.handlePrematureExit (/home/tero/sc5/mushroom-work/node_modules/exec-wait/index.js:49:25)
    at ChildProcess.g (events.js:180:16)
    at ChildProcess.emit (events.js:98:17)
    at Process.ChildProcess._handle.onexit (child_process.js:809:12)
Error running task sequence: { task: 'test-setup',
  message: 'test-setup promise',
  duration: 1.10467447,
  hrDuration: [ 1, 104674470 ],
  err: [Error: Ghostdriver exited prematurely.] }