A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/DevExpress/testcafe-browser-provider-browserstack/issues/27 below:

Cannot read property 'message' of undefined · Issue #27 · DevExpress/testcafe-browser-provider-browserstack · GitHub

When running our tests on our Jenkins, I get an error

/var/lib/****/node_modules/browserstack-local/lib/Local.js:61
          callback(new LocalError(data['message']['message']));
                                                 ^

TypeError: Cannot read property 'message' of undefined
    at /var/lib/****/node_modules/browserstack-local/lib/Local.js:61:50
    at ChildProcess.exithandler (child_process.js:267:7)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

The issue here is, that the response of the childProcess.execFile in the browserstack-local package is empty. error is null and stdout and stderr are both empty strings. That's why data is an empty object.

I tried investigating what is going on, but I did not find a solution.

The binaryArgs for our run were:

[ '--daemon',
  'start',
  '--log-file',
  '/dev/null',
  '--key',
  '****',
  '--local-identifier',
  1523874577640,
  '--enable-logging-for-api' ]

If I try to provide a logfile, it will be empty.

We do not use a proxy.

If I run the tests locally on my machine (with the same credentials), I do not get an error. The tests start normally.

Did anybody ever have a similar issue or does anybody have an idea what might be going on? Any help would be appreciated!

jtrautschold and shermaneric


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4