angular2-cookie icon indicating copy to clipboard operation
angular2-cookie copied to clipboard

EXCEPTION: Token must be defined when building with AOT

Open ottosson opened this issue 8 years ago • 1 comments
trafficstars

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?

ottosson avatar Jan 23 '17 17:01 ottosson

Am getting this too

brendanalexdr avatar Jan 28 '17 18:01 brendanalexdr