-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Report error reason starting electron #22
Comments
This is a problem in Karma itself, not our library specifically =/ Here's a gist demonstrating the same issue but in Firefox in a Docker container: https://gist.github.com/twolfson/f099e18cf5eb9cc55384e7a0582fbe10 Karma message:
Running Firefox directly: root@85de9cecee79:/docker# ./vendor/firefox/firefox
XPCOMGlueLoad error for file /docker/vendor/firefox/libmozgtk.so:
libgtk-3.so.0: cannot open shared object file: No such file or directory
Couldn't load XPCOM. We've received this issue before in #17 and I'm almost certain I've encountered it before (e.g. when setting up this repo in Travis CI). I'm going to see if there are any existing Karma issues to resolve this |
There seems to be karma-runner/karma#2465 but no PRs to resolve it. It's not exactly what we want as it requries opt-in but I feel like it would be close enough for PRs. I've found a reasonable patch for our behavior which I'll submit briefly |
Alright, we've opened up karma-runner/karma#2639. I'm going to close this issue since it's outside of |
Legend! thanks @twolfson |
Good news! Our patch has been landed/released in |
Hi, thanks for karma-electron.
I dont think karma-electron is reporting startup errors from electron, which would be nice to do.
One example is if libgtk2.0-0 isnt installed. When running karma from
npm run
all it shows is the messageCannot start Electron
, but if you run electron on its own it will give more descriptive stack trace.libgtk2.0-0 not found
.I would think you can redirect stderr to get this..
Karma message
expected
The text was updated successfully, but these errors were encountered: