You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
getting this error after fixing any compile error:
TypeError: ɵgetOrCreateAngularServerApp is not a function
at _AngularAppEngine.eval
Minimal Reproduction
fix any compile error in Angular app having SSR/RenderMode (with application builder) & save file.
I will try to make minimal reproduction later.
Exception or Error
TypeError: ɵgetOrCreateAngularServerApp is not a function
at _AngularAppEngine.eval (/Users/**/**/app-***/.angular/cache/19.2.3/**/vite/deps_ssr/chunk-WFYZZED4.js:11513:25)
at Generator.next (<anonymous>)
at fulfilled (/Users/***/.angular/cache/19.2.3/app-***/vite/deps_ssr/chunk-SF4RXNR5.js:86:24)
error only occurs in our SSR app, disabling the hmr makes no difference. & saving file 2nd time after adding space or any new content fixes the error automatically. our other CSR only app doesn't have this issue.
This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please?
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.
This might be related to your directory structure so its really important to get an accurate repro to diagnose this.
Hi, this is difficult to regenerate in fresh app, but adding some more logs here:
logs shown in yellow color were added by me. entryPoint value is {} so if (!entryPoint) check is not useful.
Also when I save file again after adding empty space it doesn't call getEntryPointExportsForUrl function and only logs following & it works after that:
Page reload sent to client(s).
{
"added": [],
"modified": [
"/Users/**/***.component.ts"
],
"removed": []
}
Command
serve
Is this a regression?
The previous version in which this bug was not present was
No response
Description
getting this error after fixing any compile error:
Minimal Reproduction
fix any compile error in Angular app having SSR/RenderMode (with application builder) & save file.
I will try to make minimal reproduction later.
Exception or Error
Your Environment
Anything else relevant?
error only occurs in our SSR app, disabling the hmr makes no difference. & saving file 2nd time after adding space or any new content fixes the error automatically. our other CSR only app doesn't have this issue.
similar closed issue: #29458
The text was updated successfully, but these errors were encountered: