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

Unable to connect to local , Binary issue #104

Open
BilalMohammad5 opened this issue May 4, 2020 · 3 comments
Open

Unable to connect to local , Binary issue #104

BilalMohammad5 opened this issue May 4, 2020 · 3 comments

Comments

@BilalMohammad5
Copy link

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! [email protected] bstack_Chrome: protractor typeScript/config/bstack_Chrome.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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

@shawnlobo96
Copy link

shawnlobo96 commented May 6, 2020

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.

@DanyloRomanov
Copy link

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

@SachinMNair
Copy link

Hey @DanyloRomanov, you can drop an email to [email protected] 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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants