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
zone-mix: Cannot read property 'eventNames' of undefined #31626
Comments
@rezonant , thanks for posting the issue, I will fix this bug, please rollback to zone.js 0.8.29 for now. |
JiaLiPassion
added a commit
to JiaLiPassion/angular
that referenced
this issue
Jul 18, 2019
14 tasks
JiaLiPassion
added a commit
to JiaLiPassion/angular
that referenced
this issue
Jul 22, 2019
JiaLiPassion
added a commit
to JiaLiPassion/angular
that referenced
this issue
Jul 23, 2019
JiaLiPassion
added a commit
to JiaLiPassion/angular
that referenced
this issue
Jul 23, 2019
JiaLiPassion
added a commit
to JiaLiPassion/angular
that referenced
this issue
Jul 23, 2019
JiaLiPassion
added a commit
to JiaLiPassion/angular
that referenced
this issue
Jul 24, 2019
mhevery
pushed a commit
that referenced
this issue
Jul 24, 2019
sabeersulaiman
pushed a commit
to sabeersulaiman/angular
that referenced
this issue
Sep 6, 2019
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After upgrading from Angular 7 to Angular 8, our Electron builds break seemingly because of zone-mix:
Taking a look at code, it is calling
api.getGlobalObjects()
and then accessing.eventNames
,but the definition in effect is from zone-mix.js:644
The polyfills file in use for our Electron builds are:
The installed version of zone.js is 0.9.1.
I checked STANDARD-APIS.md and it does still recommend 'zone-mix' for Node-capable Electron builds (
nodeIntegration = true
). Tried removingzone-patch-electron
but there's no change.Is this still the recommended polyfills.ts setup for Angular apps running in Electron with Node integration turned on?
The error is not present if I opt for
zone.js/dist/zone
(the standard) as opposed to zone-mix, but I assume I'll only have Zone integration for browser APIs and not Node.js ones, so that's not ideal.The text was updated successfully, but these errors were encountered: