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
Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
Yes
Description
In Angular 18, I used SSG Build-time Prerendering by following this documentation: (https://angular.dev/guide/prerendering) I added a script to generate a routes.txt. The routes from the routes.txt have been prerendered without any problems. After updating to Angular 19, the build fails with following error message, although I did not change anything in my angular.json and also did not add a renderMode:
The ':uid' route uses prerendering and includes parameters, but 'getPrerenderParams' is missing. Please define 'getPrerenderParams' function for this route in your server routing configuration or specify a different 'renderMode'.
Isn't this way of prerendering not available anymore?
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
The ':uid' route uses prerendering and includes parameters, but 'getPrerenderParams' is missing. Please define 'getPrerenderParams' function for this route in your server routing configuration or specify a different 'renderMode'.
Please provide the environment you discovered this bug in (run ng version)
In this documentation https://angular.dev/guide/prerendering , nobody explains that I have do define Server Routes. I just want to have the build-time Prerendering behaviour with txt. file
Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
Yes
Description
In Angular 18, I used SSG Build-time Prerendering by following this documentation: (https://angular.dev/guide/prerendering) I added a script to generate a routes.txt. The routes from the routes.txt have been prerendered without any problems. After updating to Angular 19, the build fails with following error message, although I did not change anything in my angular.json and also did not add a renderMode:
The ':uid' route uses prerendering and includes parameters, but 'getPrerenderParams' is missing. Please define 'getPrerenderParams' function for this route in your server routing configuration or specify a different 'renderMode'.
Isn't this way of prerendering not available anymore?
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response
The text was updated successfully, but these errors were encountered: