-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Can't resolve 'router.ngfactory' #13721
Comments
Fixed by removing |
Well, i cannot turn AOT on production build. So, how do i fix this error without disabling the AOT? |
Closing as it doesn’t follow template |
SOLVED! If you have this type of error probably you have upgraded from Angular 5 to 6 or 7. Replace |
@artuska This worked for me. VERIFIED! |
@artuska I do not have a rootDir param in my tsconfig.json from angularCLI. Any idea how to fix while still having AOT? |
@andrewantar same issue. Did you find a solution? |
Doesn't work? @AntJanus @andrewantar |
@gatsbyz nope :/ I tried both. I never had |
This happens in angular - 8.2.2 Any fix for this? |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This error throws all the time i run
ng build --configuration=production
with"aot": true
.This error throws all the time i run
ng serve --aot
.Angular — 7.2.5 // any version above 7
Angular CLI — 7.3.2 // any version above 7
TypeScript — 3.2.4
The text was updated successfully, but these errors were encountered: