Open tkoseoglu opened 7 years ago
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: https://github.com/angular/angular-cli/issues/3426
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.
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