-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimearea: zonesIssues related to zone.jsIssues related to zone.jsbugstate: has PR
Milestone
Description
Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
Yes
Description
Line 55 in zoneless_scheduling_impl.ts causes Zone is not defined exception.
if (Zone?.root?.run) {
...
Reproduction:
https://stackblitz.com/edit/stackblitz-starters-memovq?devToolsHeight=33&file=src%2Fmain.ts
Was working fine in 18.0.0-next.1:
https://stackblitz.com/edit/stackblitz-starters-p1azc6?file=src%2Fmain.ts
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/stackblitz-starters-memovq?devToolsHeight=33&file=src%2Fmain.ts
Please provide the exception or error you saw
`Zone is not defined`
Please provide the environment you discovered this bug in (run ng version)
Package Manager: yarn 1.22.22
OS: darwin arm64
Angular: 18.0.0-next.2
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router, service-worker
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1800.0-next.1
@angular-devkit/build-angular 18.0.0-next.1
@angular-devkit/core 18.0.0-next.1
@angular-devkit/schematics 18.0.0-next.1
@angular/cli 18.0.0-next.1
@angular/pwa 18.0.0-next.1
@schematics/angular 18.0.0-next.1
rxjs 7.8.1
typescript 5.5.0-dev.20240329
webpack 5.91.0
zone.js 0.14.4
Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimearea: zonesIssues related to zone.jsIssues related to zone.jsbugstate: has PR