Angular-oauth2-oidc: AOT Build Issue

Created on 18 Aug 2017  路  12Comments  路  Source: manfredsteyer/angular-oauth2-oidc

Hi Manfred,

i have an AOT error since upgrading to version 2.0.*. The build shows three warnings if I use "ng serve --aot":
image

The real error occurs on loading the page:
image

I've tried to create a new project via angular cli. Adding nothing but OAuthModule. After injecting the OAuthService, the error occurs.

Most helpful comment

Thanks for this info. It's solved now with Version 2.7. I've tested it successfully with my demo app. Can you pls try it out.

All 12 comments

Thx for this info. I will look into this in the course of this day.

I can confirm the errors (_ng serve --aot_ or _ng build --prod_).
In debug mode everything works correctly.

Got similar issue with version 2. Every thing ok with debug/dev mode but a similar warnings and error in production.

I can confirm the issue.

Thanks for this info. It's solved now with Version 2.7. I've tested it successfully with my demo app. Can you pls try it out.

Thank you very much for the bugfix.
Both _ng serve --aot_ AND _ng build --prod_ are now working!

@manfredsteyer It's working for me too, thanks !

Thx for confirming this.

It's working great. :)

Thx. Good to know.

Because I initiated this issue: Works well, thanks 馃憤 :-)

Very welcome

Was this page helpful?
0 / 5 - 0 ratings

Related issues

phrouv picture phrouv  路  4Comments

godhar picture godhar  路  3Comments

jeroenheijmans picture jeroenheijmans  路  3Comments

PandaaAgency picture PandaaAgency  路  3Comments

Swissbite picture Swissbite  路  4Comments