Skip to content

spawn EACCES with protractor #25

Description

@notVitaliy

I'm getting the following error when running protractor:

Error: spawn EACCES
    at exports._errnoException (util.js:953:11)
    at ChildProcess.spawn (internal/child_process.js:302:11)
    at exports.spawn (child_process.js:372:9)
    at BrowserStackTunnel._startTunnel (/app/node_modules/browserstacktunnel-wrapper/src/BrowserStackTunnel.js:150:19)
    at BrowserStackTunnel.startTunnel (/app/node_modules/browserstacktunnel-wrapper/src/BrowserStackTunnel.js:167:12)
    at BrowserStackTunnel.start (/app/node_modules/browserstacktunnel-wrapper/src/BrowserStackTunnel.js:176:12)
    at exports.config.beforeLaunch (/app/config/protractor.conf.js:47:31)
    at /app/node_modules/protractor/built/util.js:48:49
    at Function.promise (/app/node_modules/q/q.js:682:9)
    at Object.runFilenameOrFn_ (/app/node_modules/protractor/built/util.js:38:16)

I'm running this using the beforeLaunch function for protractor, here is my code:

  beforeLaunch: function(done) {
    return browserStackTunnel.start(function (startError) {
      if (startError) return done(startError);

      return true;
    });
  },

ubunutu: 16.04
node: 6.2.0
npm: 3.8.9

The error seems to be a permissions error, I've chown'd the entire directory to the proper user:group but that didn't fix it.

Let me know if you need any more info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions