ngSemantic icon indicating copy to clipboard operation
ngSemantic copied to clipboard

Module problem?

Open ReFiRnE opened this issue 8 years ago • 2 comments

I have this error in console: Uncaught Error: Unexpected module 'NgSemanticModule' declared by the module 'AppModule'(…) I am new to angular2 and web dev.

ReFiRnE avatar Dec 12 '16 11:12 ReFiRnE

Same for me. I've created a new app using angular-cli and trying to include ng-semantic as stated in the guide. As i've read, actually AOT build is not supported, so i'm not using it. The funny thing is that if

  • I remove from app.module the import of NgSemanticModule
  • Call the ng serve (that successfully builds and serve the app that obviously fails at runtime as it will not understand the ng-semantic components tags)
  • Then add NgSemanticModule to the app.module and save, causing webpack to refresh the bundles.

Then it will work...this seems crazy to me. Any help would be really appreciated. Please note that i'm a total noob too, and i could have missed some huge points.

gnegno84 avatar Dec 12 '16 12:12 gnegno84

See #149 for a workaround

abdulapopoola avatar Feb 10 '17 05:02 abdulapopoola