-
Notifications
You must be signed in to change notification settings - Fork 357
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
ng build --prod error with rc3 #1099
Comments
Yes, we are aware of this issue and working on debugging and finding out why.. we will release an RC.4 as soon as we fix it. Will keep track of the progress in this issue 😄 |
Awesome thanks! Sorry if this was a duplicate. I tried looking first. |
We prefer an issue here in the So thanks for the report! 😄 |
Hi guys, I got this problem, do you have any updates on progress or some way to fix it while an RC.4 does not released? Thanks. |
We are working on the fix for this.. we think we found the issue so we are gonna test this today and hopefully release an RC.4 with this fix ASAP. |
Can you all test with the nightly build please? We already did some preliminary tests, but wanna make sure its all good to go. |
Hi, and got the same error in that build too. Unexpected value 'CovalentLayoutModule....Please add a @NgModule annotation. |
can you clear your |
Yes I've done that. I created a completely new angular project with angular material and covalent, latest of what is released this morning, and I get the same error. If i do an import like suggested in the documentation This error is thrown when executing Now if I instead import the module from ERROR in ../@covalent/core/covalent-core.ts(118,17): Error during template compile of 'TdNavigationDrawerComponent' Am I doing something wrong? |
Check here @emoralesb05 . |
Cool, let me debug it and see what the issue could be. |
hmm.. Ok for sooome reason the Anyway.. just tried it and if you update the Gonna mention it in the docs so people are aware of this. |
Bug Report
Upgraded to rc3 and
ng build --prod
errors out.ng serve
andng build
do work though.I have a NgModule where i am importing the various Cov modules. There are two diff errors.
First is
@NgModule({exports: [...CovModules]})
.ERROR in : Can't export value CovalentCommonModule in @covalent/core/common/common.module.d.ts from CovModule in apps/web/src/app/shared/cov.module.ts as it was neither declared nor imported!
If I change my NgModule to import Cov modules as well as export.
@NgModule({imports: [...CovModules], exports: [...CovModules]})
.I get the other error.
ERROR in : Unexpected value 'CovalentLayoutModule in @covalent/core/covalent-core.d.ts' imported by the module 'CovModule in apps/web/src/app/shared/cov.module.ts'. Please add a @NgModule annotation.
Which version of Angular and Material, and which browser and OS does this issue affect?
Thanks for the cool lib!
The text was updated successfully, but these errors were encountered: