-
Notifications
You must be signed in to change notification settings - Fork 213
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
breaks in angular-cli: 1.0.0-beta.22-1 #28
Comments
I think this is actually a bug with angular-cli itself. I'm having these issues for a couple of modules and I see a few people with the same complaints in angular-cli/issues |
Same issue here. Is there a way to fix it myself before next cli release ? |
You can downgrade to 1.0.0-beta.21 |
Been told that it's not an issue with angular-cli, but the project people are trying to import. The problem with angular-cli at the moment is that it doesn't give you the error as to why something isn't regarded as an NgModule. I believe beta 23 will at least give a bit more insight as to why it doesn't like some modules. This needs fixing in this repository, but as to why it doesn't like it, I guess we'll find out when we get our hands on 23 |
As it read in angular/angular-cli#3426
also it is mentioned that
Quick fix for now, downgrading to angular-cli 1.0.0-beta.21 Unluckily I do not have any experiences with building libs and metadata.json however I hope this helps resolving the issue quickly. |
Error: CustomFormsModule is not an NgModule
at AotPlugin.getNgModuleMetadata (D:\Lab\Temp\MyProject\ng2\MyProject\node_modules@ngtools\webpack\src\plugin.js:332:19)
at D:\Lab\Temp\MyProject\ng2\MyProject\node_modules@ngtools\webpack\src\plugin.js:345:51
at Array.map (native)
at AotPlugin.extractLoadChildren (D:\Lab\Temp\MyProject\ng2\MyProject\node_modules@ngtools\webpack\src\plugin.js:343:14)
at D:\Lab\Temp\MyProject\ng2\MyProject\node_modules@ngtools\webpack\src\plugin.js:346:30
at Array.map (native)
at AotPlugin.extractLoadChildren (D:\Lab\Temp\MyProject\ng2\MyProject\node_modules@ngtools\webpack\src\plugin.js:343:14)
at AotPlugin._processNgModule (D:\Lab\Temp\MyProject\ng2\MyProject\node_modules@ngtools\webpack\src\plugin.js:272:38)
at D:\Lab\Temp\MyProject\ng2\MyProject\node_modules@ngtools\webpack\src\plugin.js:242:39
at process._tickCallback (internal/process/next_tick.js:103:7)
The text was updated successfully, but these errors were encountered: