Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Unhandled Promise rejection: TypeError: Cannot set property 'name' of undefined #554

Closed
@filipesilva

Description

@filipesilva

Using zone.js@0.7.3, Angular 2 routerLink does not work properly whereas with zone.js@0.7.2 it did.

Here is a repro plunker: https://plnkr.co/edit/SYPR2SRi0xayQ693jJAB?p=preview
It is a simple list with a couple of links. Clicking on any link breaks the app with the following console error:

zone.js@0.7.3?main=browser:405 Unhandled Promise rejection: TypeError: Cannot set property 'name' of undefined
    at new EmptyError (VM20135 EmptyError.js:21)
    at FirstSubscriber._complete (VM20134 first.js:147)
// ...

In index.html if you revert https://unpkg.com/zone.js@0.7.3 to 0.7.2 the app works again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions