-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed as duplicate of#29420
Description
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
This issue is related to the package @angular/ssr and was introduced in its 19.1.0 version. Using a route matcher on a '/' route results in error after running ng serve or ng build. Locking the package's version to 19.0.7 removes this error. I'm reporting this as a bug since I haven't found this change to be documented anywhere.
Please provide a link to a minimal reproduction of the bug
https://github.com/mateuszroszczyk/ssr-bug-repro
Please provide the exception or error you saw
[vite] Internal server error: Error(s) occurred while extracting routes:
- The route '/' uses a route matcher which is not supported.
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 19.1.3
Node: 20.12.2
Package Manager: pnpm 9.2.0
OS: win32 x64
Angular: 19.1.2
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1901.3 (cli-only)
@angular-devkit/build-angular 19.1.3
@angular-devkit/core 19.1.3 (cli-only)
@angular-devkit/schematics 19.1.3 (cli-only)
@angular/cli 19.1.3
@angular/ssr 19.1.3
@schematics/angular 19.1.3 (cli-only)
rxjs 7.8.1
typescript 5.6.3
zone.js 0.15.0
Anything else?
No response
Metadata
Metadata
Assignees
Labels
No labels