Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler Error on Angular 5.1.3 #31

Open
tn0 opened this issue Jan 11, 2018 · 1 comment
Open

Compiler Error on Angular 5.1.3 #31

tn0 opened this issue Jan 11, 2018 · 1 comment

Comments

@tn0
Copy link

tn0 commented Jan 11, 2018

I have include your module in my project like descripted.
When I try to run

run build --aot

I get the error

ERROR in @chevtek/angular-spinners/src/spinner.module.ts(6,2): Error during template compile of 'SpinnerModule'
Function calls are not supported in decorators in 'NgModule'
'NgModule' calls a function at @angular/core/core.ts(194,50).

My versions are

Angular: 5.1.3
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

@angular/cli: 1.6.3
@angular-devkit/build-optimizer: 0.0.36
@angular-devkit/core: 0.0.22
@angular-devkit/schematics: 0.0.42
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.3
@schematics/angular: 0.1.11
@schematics/schematics: 0.0.11
typescript: 2.5.3
webpack: 3.10.0

@leandro-cervelin
Copy link

@tn0 hi! did you fix that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants