-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed as not planned
Description
Command
build
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
In a fresh Angular 19 SSR app with Server Routing, after updating to Express v5 I'm getting a compile error.
Minimal Reproduction
- Generate a new project:
ng new express5-repro --ssr --server-routing --style=css
- In this project, update the dependencies
express
and@types/express
to v5 - Run
ng build
Exception or Error
Application bundle generation failed.
✘ [ERROR] An error occurred while extracting routes.
Missing parameter name at 2: https://git.new/pathToRegexpError
Your Environment
Angular CLI: 19.2.5
Node: 22.14.0
Package Manager: npm 11.2.0
OS: darwin arm64
Angular: 19.2.4
... common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1902.5
@angular-devkit/build-angular 19.2.5
@angular-devkit/core 19.2.5
@angular-devkit/schematics 19.2.5
@angular/cli 19.2.5
@angular/ssr 19.2.5
@schematics/angular 19.2.5
rxjs 7.8.2
typescript 5.7.3
zone.js 0.15.0
Anything else relevant?
No response
Metadata
Metadata
Assignees
Labels
No labels