-
Notifications
You must be signed in to change notification settings - Fork 65
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
Running tests on Jenkins: TypeError: Cannot read property 'message' of undefined #27
Comments
Hi @Lukas-Kullmann! Looks like it's a problem with browserstack-local-nodejs package. I would recommend you to create an issue there. For debugging purposes, I suggest you to check exit code of the Browserstack Local process, if it's not zero, likely it's a problem with permissions or something, check if binary at |
Hi @AndreyBelym! Thanks for the response! I will fix it and open a PR. :) |
That's interesting. Sorry for casting you @pulkitsharma07, but could you please clarify if it is required to use this flag when running multiple builds, or I should contact the Browserstack Support for that? It's my shame that I've missed that flag, but everything was working fine for us before. The flag affects a number of |
@Lukas-Kullmann I've published |
I thank you so much, that was super fast - lightning speed! :-) |
Hey there. I'm sorry to bump this old thread. I'm running into a similar issue here. Not sure if I'm doing something grossly wrong. Thanks! |
Hi @shermaneric, have you tried to set the |
Indeed. Here's the SO post. I'm attempting to run it out of the node alpine-7 container. Probably something limiting me there perhaps? Thanks for the quick response! |
When running our tests on our Jenkins, I get an error
The issue here is, that the response of the
childProcess.execFile
in thebrowserstack-local
package is empty.error
isnull
andstdout
andstderr
are both empty strings. That's whydata
is an empty object.I tried investigating what is going on, but I did not find a solution.
The binaryArgs for our run were:
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!
The text was updated successfully, but these errors were encountered: