nolanlawson / cordova-plugin-sqlite-2

Native SQLite database API for Cordova/PhoneGap/Ionic, modeled after WebSQL (UNMAINTAINED)
https://nolanlawson.com/2016/04/10/introducing-the-cordova-sqlite-plugin-2/
Apache License 2.0
168 stars 28 forks source link

Error in Travis: Could not start Sauce Connect. Exit code 1 signal: null #2

Closed nolanlawson closed 8 years ago

nolanlawson commented 8 years ago

Oddly, I can run this test against Sauce Labs on my home machine (Mac OS X), but not on Travis (also OS X). The error is not very enlightening:

Error: Could not start Sauce Connect. Exit code 1 signal: null
    at ChildProcess.<anonymous> (/Users/travis/build/nolanlawson/sqlite-plugin-2/node_modules/sauce-connect-launcher/lib/sauce-connect-launcher.js:308:16)
    at emitTwo (events.js:100:13)
    at ChildProcess.emit (events.js:185:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)

An example of a failed job is here. Not sure what I should be doing.

nolanlawson commented 8 years ago

Here's the .travis.yml for that failed job.

nolanlawson commented 8 years ago

I filed a support request on Sauce.

nolanlawson commented 8 years ago

Weird, it appears that Travis isn't running the npm postinstall task for sauce-connect-launcher. So the fix is to manually add:

SAUCE_CONNECT_DOWNLOAD_ON_INSTALL=true node node_modules/sauce-connect-launcher/scripts/install.js

... after npm install.

nolanlawson commented 8 years ago

it was a bad zip file