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

Error with Browserstack local - console error Undefined #16

Open
rrfaria opened this issue Jun 6, 2019 · 0 comments
Open

Error with Browserstack local - console error Undefined #16

rrfaria opened this issue Jun 6, 2019 · 0 comments

Comments

@rrfaria
Copy link

rrfaria commented Jun 6, 2019

Env:
Ubuntu 18.04

local.log Error:

Either another browserstack local client is running on your machine or 
some server is listening on port 45691

How to simulate:

When there is error on code at step-definitions it brokes and show

TypeError: Cannot read property 'quit' of undefined
         at World.<anonymous> (
cucumber-js-browserstack/features/support/hooks.js:47:13)

then when you try run code again it starts to show undefined error

to run again you must run kill:

killall -9 BrowserStackLocal

I was analysing hook.js and I guess it needs an error handler to avoid it.

Another thing I would like to suggest is update the packages:
cucumber to 5.10
cucumber-assert to 2.0.1
browserstack-local to 1.4.0

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

1 participant