Skip to content
This repository was archived by the owner on Aug 21, 2020. It is now read-only.
This repository was archived by the owner on Aug 21, 2020. It is now read-only.

EXCEPTION: Token must be defined when building with AOT #43

Open

Description

@ottosson

I get a really annoying error message and crash when I build my project with ahead of time compilation.

EXCEPTION: Token must be defined!
...
EXCEPTION: Uncaught (in promise): Error: Token must be defined!
...
Unhandled Promise rejection: Token must be defined! ; Zone: angular ; Task: Promise.then ; Value: Error: Token must be defined!
...

I use Angular 2.4.1 with angular2-cookie v1.2.6. Might this be related to #37?

Activity

  1. brendanalexdr commented on Jan 28, 2017

    @brendanalexdr

    Am getting this too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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