Title: Error: spawn UNKNOWN - when attempting to use browserstack-local for the first time · Issue #33 · browserstack/browserstack-local-nodejs · GitHub
Open Graph Title: Error: spawn UNKNOWN - when attempting to use browserstack-local for the first time · Issue #33 · browserstack/browserstack-local-nodejs
X Title: Error: spawn UNKNOWN - when attempting to use browserstack-local for the first time · Issue #33 · browserstack/browserstack-local-nodejs
Description: I am having issues trying to get browserstack-local to work having followed the documentation. In my beforeLaunch I have: console.log("Connecting local"); return new Promise(function(resolve, reject){ exports.bs_local = new browserstack....
Open Graph Description: I am having issues trying to get browserstack-local to work having followed the documentation. In my beforeLaunch I have: console.log("Connecting local"); return new Promise(function(resolve, rejec...
X Description: I am having issues trying to get browserstack-local to work having followed the documentation. In my beforeLaunch I have: console.log("Connecting local"); return new Promise(function(reso...
Opengraph URL: https://github.com/browserstack/browserstack-local-nodejs/issues/33
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error: spawn UNKNOWN - when attempting to use browserstack-local for the first time","articleBody":"I am having issues trying to get browserstack-local to work having followed the documentation.\r\n\r\nIn my beforeLaunch I have:\r\n\r\n console.log(\"Connecting local\");\r\n return new Promise(function(resolve, reject){\r\n \texports.bs_local = new browserstack.Local();\r\n \texports.bs_local.start({'key': exports.config.capabilities['browserstack.key'] }, function(error) {\r\n \t\tif (error) return reject(error);\r\n \t\tconsole.log('Connected. Now testing...');\r\n \r\n \t\tresolve();\r\n \t});\r\n });\r\n\r\nWhen attempting to run my protractor script, I get the following error:\r\n\r\n Connecting local\r\n C:\\Users\\rparker\\AppData\\Roaming\\npm\\node_modules\\protractor\\node_modules\\q\\q.js\r\n :155\r\n throw e;\r\n ^\r\n \r\n Error: spawn UNKNOWN\r\n at exports._errnoException (util.js:1018:11)\r\n at ChildProcess.spawn (internal/child_process.js:319:11)\r\n at exports.spawn (child_process.js:378:9)\r\n at Object.exports.execFile (child_process.js:143:15)\r\n at C:\\Users\\rparker\\Documents\\GitHub\\interACT\\node_modules\\browserstack-loca\r\n l\\lib\\Local.js:33:34\r\n at LocalBinary.binaryPath (C:\\Users\\rparker\\Documents\\GitHub\\interACT\\node_m\r\n odules\\browserstack-local\\lib\\LocalBinary.js:83:7)\r\n at Local.getBinaryPath (C:\\Users\\rparker\\Documents\\GitHub\\interACT\\node_modu\r\n les\\browserstack-local\\lib\\Local.js:228:19)\r\n at Local.start (C:\\Users\\rparker\\Documents\\GitHub\\interACT\\node_modules\\brow\r\n serstack-local\\lib\\Local.js:28:10)\r\n at C:\\Users\\rparker\\Documents\\GitHub\\interACT\\test\\protractor-ie.conf.js:34:\r\n 24\r\n at beforeLaunch (C:\\Users\\rparker\\Documents\\GitHub\\interACT\\test\\protractor-\r\n ie.conf.js:32:12)\r\n\r\nI don't think I have missed out any steps. \r\n\r\nLooking at the stacktrace and the files it references, I can see it seems to be downloading a browserstack binary, does this happen at the start of each test run?\r\n\r\nThanks","author":{"url":"https://github.com/parky128","@type":"Person","name":"parky128"},"datePublished":"2017-05-22T14:49:53Z","url":"https://github.com/browserstack/browserstack-local-nodejs/issues/33"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0e226bcc-e36f-f215-4461-10c2c05fa70a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8FC2:3714B8:18C1BE:21ADFE:6B043059 |
| html-safe-nonce | 65cdef47b3544c6673153af1099bf6ca86400555207abd7ba6295291f92ff48b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkMyOjM3MTRCODoxOEMxQkU6MjFBREZFOjZCMDQzMDU5IiwidmlzaXRvcl9pZCI6IjExMDc1NjMxMjEyOTM0MDYyOTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1c14417a77fd74db1a49b753840e2366184bb8912058504be10c469acdd2846d |
| hovercard-subject-tag | issue:230420909 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/browserstack/browserstack-local-nodejs/33/issue_layout |
| twitter:image | https://opengraph.githubassets.com/985ffd41738b3ceb0ce0200f5194000fe911103cc1198196d0f26b40c90c68bf/browserstack/browserstack-local-nodejs/issues/33 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/985ffd41738b3ceb0ce0200f5194000fe911103cc1198196d0f26b40c90c68bf/browserstack/browserstack-local-nodejs/issues/33 |
| og:image:alt | I am having issues trying to get browserstack-local to work having followed the documentation. In my beforeLaunch I have: console.log("Connecting local"); return new Promise(function(resolve, rejec... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | parky128 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/browserstack/browserstack-local-nodejs git https://github.com/browserstack/browserstack-local-nodejs.git |
| octolytics-dimension-user_id | 1119453 |
| octolytics-dimension-user_login | browserstack |
| octolytics-dimension-repository_id | 51923223 |
| octolytics-dimension-repository_nwo | browserstack/browserstack-local-nodejs |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 51923223 |
| octolytics-dimension-repository_network_root_nwo | browserstack/browserstack-local-nodejs |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width