-
Notifications
You must be signed in to change notification settings - Fork 3k
ERROR in UIRouterModule is not an NgModule #3232
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
Comments
ui-router-ng2 1.0.0-beta.3 does not yet support AoT compile. We have a PR ui-router/angular#13 which adds AoT support which I'll get to hopefully next week. Closing this issue in favor of ui-router/angular#13 and ui-router/angular#15 |
I'm not compiling with the -aot flag that error is from a regular angular-cli compilation,
|
Getting the same error |
+1 |
I see. OK, I'm keeping this issue closed in favor of the one in the ng2 repository: ui-router/angular#15 |
any solution ? |
+1 |
Uh oh!
There was an error while loading. Please reload this page.
I'm having this error after updating to latest angular-cli 1.0.0-beta.24,
using angular v2.3.1 and angular-cli 1.0.0-beta.21 works but when updating the cli to 1.0.0-beta.24 I get that error in compilation but the app seems to work OK.
Steps to reproduce:
Using latest angular-cli create a new project
ng new new-test-project
.then install latest ui-router-ng2 (1.0.0-beta.3).
edit app.module.ts with the import:
this will result in the error in the title:
the error changes to this:
The text was updated successfully, but these errors were encountered: