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

NgProgressModule and NgProgressHttpModule not working in ng-package build #165

Closed
bitbeter opened this issue May 12, 2018 · 1 comment
Closed

Comments

@bitbeter
Copy link

bitbeter commented May 12, 2018

I'm working with Angular 6 and I a used Angular cli to generate library with it.
When I import NgProgressModule and NgProgressHttpModule and Build this error will be thrown:

BUILD ERROR
Error during template compile of 'CommonsModule'
  Function calls are not supported in decorators but 'NgProgressModule' was called.
: Unexpected value 'undefined' imported by the module 'CommonsModule in 
 /projects/commons/src/lib/commons.module.ts'
: Unexpected value 'NgProgressHttpModule in 
node_modules/@ngx-progressbar/http/lib/ng-progress-http.module.d.ts' imported by the module 'CommonsModule in 
/projects/commons/src/lib/commons.module.ts'. Please add a @NgModule annotation.
: Can't export value NgProgressModule in 
/node_modules/@ngx-progressbar/core/lib/ng-progress.module.d.ts from CommonsModule in /projects/commons/src/lib/commons.module.ts as it was neither declared nor imported!
: Can't export value NgProgressHttpModule in 
/node_modules/@ngx-progressbar/http/lib/ng-progress-http.module.d.ts from CommonsModule in /projects/commons/src/lib/commons.module.ts as it was neither declared nor imported!
Error during template compile of 'CommonsModule'
  Function calls are not supported in decorators but 'NgProgressModule' was called.

i am using @ngx-progressbar-rc.0

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