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

latest angular-cli breaks build #165

Open
tkoseoglu opened this issue Mar 7, 2017 · 3 comments
Open

latest angular-cli breaks build #165

tkoseoglu opened this issue Mar 7, 2017 · 3 comments

Comments

@tkoseoglu
Copy link

tkoseoglu commented Mar 7, 2017

I've updated my local version of angular-cli, 1.0.0-beta.28.3.
Now, my app doesn't build any more with error message:
"NgSemanticModule is not an NgModule"

Thank you
--tolga

@N1v0k
Copy link

N1v0k commented Mar 9, 2017

Same problem here. This module is not compatible with the latest angular2 anymore.

@angular/cli: 1.0.0-rc.1
node: 7.7.1
os: win32 x64
@angular/common: 2.4.9
@angular/compiler: 2.4.9
@angular/core: 2.4.9
@angular/forms: 2.4.9
@angular/http: 2.4.9
@angular/material: 2.0.0-beta.2
@angular/platform-browser: 2.4.9
@angular/platform-browser-dynamic: 2.4.9
@angular/router: 3.4.9
@angular/cli: 1.0.0-rc.1
@angular/compiler-cli: 2.4.9

Also checkout:
angular/angular-cli#3426

@ogarvey
Copy link

ogarvey commented Apr 1, 2017

I've just run into this and using the following import statement fixed it for me:

import { NgSemanticModule } from "ng-semantic/ng-semantic";

Edit:

Now it's suddenly stopped working... Slightly confused as nothing has changed in the short time since my original comment.

Edit 2:

Rather strange, it seems that if I change it back to import { NgSemanticModule } from "ng-semantic"; it compiles again. But then if I stop ng serve and rerun, it breaks, so I change it back to import { NgSemanticModule } from "ng-semantic/ng-semantic"; and it works again, seems to repeat like that ad inifinitum.

@mamsoudi
Copy link

mamsoudi commented Apr 4, 2017

@tkoseoglu Your Answer is here, Look at my comment here

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

4 participants