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
After updating from 19.0.x to 19.1.3 even with HMR disabled ng serve crashes any time I update any file.
Looks similar to #29424, but happens also with HMR disabled.
Minimal Reproduction
Run ng serve --no-hmr
Exception or Error
[vite] (ssr) Error when evaluating SSR module /main.server.mjs:
|- Error: [vite] cannot find entry point module '/main.server.mjs'.
at fetchModule (file:///app/frontend/node_modules/@angular/build/node_modules/vite/dist/node/chunks/dep-BJP6rrE_.js:51477:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async handleInvoke (file:///app/frontend/node_modules/@angular/build/node_modules/vite/dist/node/chunks/dep-BJP6rrE_.js:44166:22)
at async EventEmitter.listenerForInvokeHandler (file:///app/frontend/node_modules/@angular/build/node_modules/vite/dist/node/chunks/dep-BJP6rrE_.js:44239:19)
An unhandled exception occurred: [vite] cannot find entry point module '/main.server.mjs'.
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.
Command
serve
Is this a regression?
The previous version in which this bug was not present was
No response
Description
After updating from 19.0.x to 19.1.3 even with HMR disabled
ng serve
crashes any time I update any file.Looks similar to #29424, but happens also with HMR disabled.
Minimal Reproduction
Run
ng serve --no-hmr
Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: