You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
I'm running into the dreaded Function calls are not supported in decorators with a number of my modules. If I am compiling with the Angular CLI in AOT mode (ng serve --prod), I do not get these errors. I've created a small reproduction here: https://github.com/ewhauser/angular-bazel-example/tree/jwt
ERROR: /Users/ewhauser/working/angular-bazel-example/src/BUILD.bazel:14:1: Compiling Angular templates (ngc) //src:src failed (Exit 1)
Error during template compile of 'AppModule'
Function calls are not supported in decorators but 'JwtModule' was called.
: Unexpected value 'undefined' imported by the module 'AppModule in /private/var/tmp/_bazel_ewhauser/77225148e87cf692ce2dde408b0ec7a8/execroot/angular_bazel_example/src/app.module.ts'
Error during template compile of 'AppModule'
Function calls are not supported in decorators but 'JwtModule' was called.
The text was updated successfully, but these errors were encountered:
@ewhauser with @gregmagolan we worked on a fix. Seems like the problem you reported is no longer reproducible. We hit two other issues, however, that are part of this fix auth0/angular2-jwt#608.
I'm running into the dreaded
Function calls are not supported in decorators
with a number of my modules. If I am compiling with the Angular CLI in AOT mode (ng serve --prod
), I do not get these errors. I've created a small reproduction here: https://github.com/ewhauser/angular-bazel-example/tree/jwtThe text was updated successfully, but these errors were encountered: