Skip to content

effect throws error in zoneless mode #49798

@markostanimirovic

Description

@markostanimirovic

Which @angular/* package(s) are the source of the bug?

core

Is this a regression?

No

Description

The effect function throws an error in zoneless mode on this line.

Please provide a link to a minimal reproduction of the bug

https://github.com/markostanimirovic/zoneless-ng-16

Please provide the exception or error you saw

ReferenceError: Zone is not defined
    at EffectManager.create
    at effect

Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 16.0.0-next.7
Node: 16.16.0
Package Manager: npm 8.11.0
OS: win32 x64

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions