Closed vlio20 closed 5 months ago
You likely have prerendering enabled in you angular.json
.
Looking how to turn it off. This wasn't the default with ng17?
Is this the right way to turn it off? I followed this doc: https://angular.dev/guide/prerendering#build-options-for-prerender
"prerender": {
"discoverRoutes": false
}
It's "prerender": false
.
Thanks for the quick reply! Really appreciated!
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
I have an ssr angular application that I upgraded from ng17 to ng18. When my app is being built it is doing http calls with the httpClinet to my backend.
Please provide a link to a minimal reproduction of the bug
I can't share a link as this app is private
Please provide the exception or error you saw
Anything else?
Note that though I have those errors during the build, the build is eventually successful. The problem is that I want to create a cookie interceptor and then the build hangs. Please see interceptor and the error:
Error: