Comments (6)
I'm seeing failures in 1.4.3 as well yet 1.4.2 is passing. I don't see any relevant issues since 1.4.3's release. I've done a little bit of debugging and it looks like something in Karma's setup as loading http://google.com/ works fine.
from karma-electron.
I moved to launching Karma in its continuous mode and launching electron
directly. This is the error we are getting:
$ ./node_modules/.bin/electron lib/electron-launcher.js --url http://localhost:9876/
/home/todd/github/karma-electron/lib/electron-launcher.js:4
throw err;
^
TypeError: Cannot set property 'openerId' of undefined
at mergeBrowserWindowOptions (/home/todd/github/karma-electron/node_modules/electron/dist/resources/electron.asar/browser/guest-window-manager.js:44:35)
at EventEmitter.<anonymous> (/home/todd/github/karma-electron/node_modules/electron/dist/resources/electron.asar/browser/guest-window-manager.js:144:13)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:201:7)
at WebContents.<anonymous> (/home/todd/github/karma-electron/node_modules/electron/dist/resources/electron.asar/browser/api/web-contents.js:219:13)
at emitTwo (events.js:106:13)
at WebContents.emit (events.js:191:7)
from karma-electron.
I'm going to try setting up a minimal gist to reproduce the error and opening an issue on electron
.
from karma-electron.
Alright, the issue has been reported in electron/electron#7519. For now, I suggest sticking to [email protected]
from karma-electron.
@etiennejcharles I'm having the exact same issue. Thanks for reporting it and the downgrade suggestion.
@twolfson Thanks for the detailed trace of this issue! I've learned from it. :)
from karma-electron.
[email protected] has been released and it looks like the issue has been resolved. Closing this issue
from karma-electron.
Related Issues (20)
- `electron` did show not nothing happen then HOT 1
- Can't import nodejs modules in an angular-cli project (Typescript) HOT 1
- Errors without stack traces coming from karma-electron? HOT 5
- running with ndb for debugging? HOT 2
- Unable to open Electron window using --show HOT 3
- Electron 5 nodeIntegration HOT 12
- Custom launcher `require` mechanism doesn't work HOT 4
- Module paths are messed up HOT 5
- Error: Karma plugin is meant to be used from within Angular CLI and will not work correctly outside of it HOT 1
- How to configure NODE_PATH for the Electron instance? HOT 24
- [feature] option like 'require', but for renderer processes. HOT 1
- Karma times out when using Electron 9 and client.useIframe = false HOT 20
- Non-context aware native modules in renderer will cause specs to error HOT 3
- [questions] Is Electron 12 supported? HOT 16
- electron V12.0.4---------require is not defined HOT 3
- ES Modules HOT 2
- "require is not defined" after update to karma-electron 7 / electron 12 HOT 12
- Regardless of the `browserWindowOptions.show` value, a window always opens. HOT 12
- sqlite3 stalls with nodeIntegration true contextIsolation false HOT 12
- Consider migrating this great work to @web/test-runner. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from karma-electron.