You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{Connectinglocal
C:\Users\<User>\Documents\nightwatch-browserstack\scripts\local.runner.js:14if(error)throwerror;^LocalError
at C:\Users\<User>\Documents\nightwatch-browserstack\node_modules\browserstack-local\lib\Local.js:58:20atChildProcess.exithandler(child_process.js:280:7)atChildProcess.emit(events.js:182:13)atmaybeClose(internal/child_process.js:962:16)atProcess.ChildProcess._handle.onexit(internal/child_process.js:251:5}}
I had this same issue. On line 14 of local.runner.js, the BROWSERSTACK_ACCESS_KEY is pulled from .env
This assumes you are pulling this secret from a local .env file.
I fixed this by adding the dotenv NPM package to my package.json, then adding the following to the top of local.runner.js: require('dotenv').config();
From there, make sure you have a .env in your project with the following in it: BROWSERSTACK_ACCESS_KEY=<Your Key>
Uh oh!
There was an error while loading. Please reload this page.
🔴 Error-
⭕ Steps to reproduce-
⭕ System Details- Windows 10
The text was updated successfully, but these errors were encountered: