-
Notifications
You must be signed in to change notification settings - Fork 12k
Error: ɵgetOrCreateAngularServerApp is not a function when using lazy loading routes in 19.1.x SSR when HMR enabled #29379
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
Also happens without SSR. Hot reload is not working |
Still seeing this issue with @angular/cli [vite] Internal server error: ɵgetOrCreateAngularServerApp is not a function
at /.../node_modules/@angular/build/src/tools/vite/middlewares/ssr-middleware.js:26:38 (x4) (Happens randomly when saving a file.) |
@anisabboud, the issue you're reporting is unrelated to this one. Please submit a new issue with the steps to reproduce. Thank you. |
I'm still getting this error :
It appears when I add something to any component of my app. |
any soltuions ? |
1 similar comment
any soltuions ? |
try this: |
04:00:03 [vite] Internal server error: ɵgetOrCreateAngularServerApp is not a function |
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. |
Command
serve
Is this a regression?
The previous version in which this bug was not present was
No response
Description
When implementing lazy loading routes, the application fails during runtime with the following error:
Minimal Reproduction
Steps to reproduce the issue:
Reproduction project: https://github.com/Ruisi-Lu/angular19.1-lazyload-route-bug-reproduction-
Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: