Support for Express V5 with Nx Angular SSR app #32368
fgoulet
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My monorepo use Express V5 for serving some apis. I tried to add an Angular app with SSR to the monorepo but the build fail with this error:
Prerendered 0 static routes.
Application bundle generation failed. [3.305 seconds]
X [ERROR] An error occurred while extracting routes.
Missing parameter name at 2: https://git.new/pathToRegexpError
I believe this is due to a breaking change in Express v5.
When creating an Angular SSR app with the Angular CLI, the default version of Express is 5 now and it works fine.
Is there any works in progress to make Nx Angular SSR app compatible with Express v5 ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions