Visitar URL original
Unable to connect to local , Binary issue · Issue #104 · browserstack/browserstack-local-nodejs · GitHub
Skip to content

Unable to connect to local , Binary issue  #104

Description

@BilalMohammad5

protractor typeScript/config/bstack_Chrome.js

Connecting local
G:\work repos\efe_Jr_UI_Test_Automation\node_modules\q\q.js:155
throw e;
^

Error: spawn UNKNOWN
at ChildProcess.spawn (internal/child_process.js:394:11)
at spawn (child_process.js:540:9)
at Object.execFile (child_process.js:224:17)
at G:\work repos\efe_Jr_UI_Test_Automation\node_modules\browserstack-local\lib\Local.js:41:34
at LocalBinary.binaryPath (G:\work repos\efe_Jr_UI_Test_Automation\node_modules\browserstack-local\lib\LocalBinary.js:83:7)
at Local.getBinaryPath (G:\work repos\efe_Jr_UI_Test_Automation\node_modules\browserstack-local\lib\Local.js:200:19) at Local.start (G:\work repos\efe_Jr_UI_Test_Automation\node_modules\browserstack-local\lib\Local.js:36:10)
at G:\work repos\efe_Jr_UI_Test_Automation\typeScript\config\bstack_Chrome.js:35:30
at new Promise ()
at beforeLaunch (G:\work repos\efe_Jr_UI_Test_Automation\typeScript\config\bstack_Chrome.js:33:16) {
errno: 'UNKNOWN',
code: 'UNKNOWN',
syscall: 'spawn'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! protractor-typescript-cucumber@4.0.0 bstack_Chrome: protractor typeScript/config/bstack_Chrome.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the protractor-typescript-cucumber@4.0.0 bstack_Chrome script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Bilal\AppData\Roaming\npm-cache_logs\2020-05-04T06_47_04_749Z-debug.log

Activity

  1. shawnlobo96 commented on May 6, 2020

    @shawnlobo96

    Hey @BilalMohammad5

    The error message seems to be due to a stale running BrowserstackLocal instance.

    Try ending the process via task manager and re-executing your script.

    Let me know if this does not work.

  2. DanyloRomanov commented on Oct 13, 2021

    @DanyloRomanov

    Have similar issue with local connection with WDIO. Doublechecked and no BrowserstackLocal instance running
    Is there a solution to this issue somewhere?

  3. SachinMNair commented on Oct 13, 2021

    @SachinMNair

    Hey @DanyloRomanov, you can drop an email to support@browserstack.com stating your issue with details for the team to investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions