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

Module problem? #144

Open
ReFiRnE opened this issue Dec 12, 2016 · 2 comments
Open

Module problem? #144

ReFiRnE opened this issue Dec 12, 2016 · 2 comments

Comments

@ReFiRnE
Copy link

ReFiRnE commented Dec 12, 2016

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

@gnegno84
Copy link

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.

@abdulapopoola
Copy link

See #149 for a workaround

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

3 participants