angular2-cookie
angular2-cookie copied to clipboard
EXCEPTION: Token must be defined when building with AOT
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?
Am getting this too