-
Notifications
You must be signed in to change notification settings - Fork 12k
i18n AOT Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' #7311
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
Solved!
Ng version
Run
All starts normal |
I had the same problem, I used the Manually removing residual Angular CLI guide, but it did not work for me, in my case, it was because I used
|
sudo npm uninstall -g @angular/cli |
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. |
Bug Report or Feature Request (mark with an
x
)Versions.
ng
node
npm
OS
Repro steps.
Create test project
Open
http://localhost:4200
in browser - all ok!Ctrl+C - stop server.
Create localization
Replace
on
And create localization
All ok, and I edit
src/i18n/messages.uk.xlf
<target state="new">Here are some links to help you start: </target>
to
<target state="translated">Ось деякі посилання, що допоможуть Вам розпочати: </target>
The
main.ts
is standardBug here
And run serve again
Add
--env=prod
or--prod
Does not solve the problem
What solution?
Sources
Angular-CLI Internationalization (i18n)
Angular Internationalization (i18n)
Ahead-of-Time Compilation
Issues 4551
Issues 5596
The text was updated successfully, but these errors were encountered: