Repository navigation
Closed as not planned
Labels
area: @angular/ssrgemini-triagedLabel noting that an issue has been triaged by geminineeds: repro stepsWe cannot reproduce the issue with the information given
Milestone
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
I tried to migrate from CommonEngine to AngularNodeAppEngine.
- The CommonEngine build completes without any errors.
Prerendered 1 static route.
Application bundle generation complete. [121.080 seconds] - 2026-09-23T06:59:53.658Z
Output location: C:\angular\frontend\dist\project
- I made the needed changes (removed CommonEngine) to the server.ts -file ->
ng build-> I got this error message.
chunk-VHBGQMTA.mjs | - | 53.81 kB |
chunk-LNYR4NF6.mjs | - | 44.85 kB |
chunk-LQSQKM72.mjs | - | 43.17 kB |
chunk-RTM2IISS.mjs | - | 38.13 kB |
chunk-REZYB5B6.mjs | - | 32.01 kB |
chunk-6GOXTYWK.mjs | - | 31.59 kB |
chunk-F3E53472.mjs | - | 29.18 kB |
chunk-NU5CNSMJ.mjs | industry-classification-component | 28.76 kB |
...and 359 more lazy chunks files. Use "--verbose" to show all the files.
Prerendered 0 static routes.
Application bundle generation failed. [103.515 seconds] - 2026-09-23T06:34:16.479Z
X [ERROR] An error occurred while extracting routes.
AbortError: Routes extraction was aborted.
TimeoutError: The operation was aborted due to timeout
at new DOMException (node:internal/per_context/domexception:76:18)
at AbortSignal.s (file:///C:/angular/frontend/.angular/prerender-root/ee1dbdaa-99fb-4f71-99f5-028ce730198c/main.server.mjs:47:4586)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)
at AbortSignal.dispatchEvent (node:internal/event_target:776:26)
at runAbort (node:internal/abort_controller:547:10)
at abortSignal (node:internal/abort_controller:518:3)
at Timeout._onTimeout (node:internal/abort_controller:208:7)
at listOnTimeout (node:internal/timers:605:17)
at process.processTimers (node:internal/timers:541:7)
- Tested with angular default server.ts file (same server.ts file that is generated with "ng new new-project --ssr" -command -> Same error
- Tested with empty server routes -> same error.
export const ROUTES_SERVER: ServerRoute[] = [
];
Minimal Reproduction
Exception or Error
chunk-REZYB5B6.mjs | - | 32.01 kB |
chunk-6GOXTYWK.mjs | - | 31.59 kB |
chunk-F3E53472.mjs | - | 29.18 kB |
chunk-NU5CNSMJ.mjs | industry-classification-component | 28.76 kB |
...and 359 more lazy chunks files. Use "--verbose" to show all the files.
Prerendered 0 static routes.
Application bundle generation failed. [103.515 seconds] - 2026-09-23T06:34:16.479Z
X [ERROR] An error occurred while extracting routes.
AbortError: Routes extraction was aborted.
TimeoutError: The operation was aborted due to timeout
at new DOMException (node:internal/per_context/domexception:76:18)
at AbortSignal.s (file:///C:/angular/frontend/.angular/prerender-root/ee1dbdaa-99fb-4f71-99f5-028ce730198c/main.server.mjs:47:4586)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:843:20)
at AbortSignal.dispatchEvent (node:internal/event_target:776:26)
at runAbort (node:internal/abort_controller:547:10)
at abortSignal (node:internal/abort_controller:518:3)
at Timeout._onTimeout (node:internal/abort_controller:208:7)
at listOnTimeout (node:internal/timers:605:17)
at process.processTimers (node:internal/timers:541:7)
Your Environment
$ ng version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI : 22.1.8
Angular : 22.1.7
Node.js : 24.18.1
Package Manager : npm 11.16.0
Operating System : win32 x64
┌────────────────────────────────────┬───────────────────┬───────────────────┐
│ Package │ Installed Version │ Requested Version │
├────────────────────────────────────┼───────────────────┼───────────────────┤
│ @angular/build │ 22.1.8 │ ^22.1.8 │
│ @angular/cdk │ 22.1.7 │ ~22.1.7 │
│ @angular/cli │ 22.1.8 │ ~22.1.8 │
│ @angular/common │ 22.1.7 │ ~22.1.7 │
│ @angular/compiler │ 22.1.7 │ ~22.1.7 │
│ @angular/compiler-cli │ 22.1.7 │ ~22.1.7 │
│ @angular/core │ 22.1.7 │ ~22.1.7 │
│ @angular/forms │ 22.1.7 │ ~22.1.7 │
│ @angular/google-maps │ 22.1.7 │ ~22.1.7 │
│ @angular/language-service │ 22.1.7 │ ~22.1.7 │
│ @angular/material │ 22.1.7 │ ~22.1.7 │
│ @angular/material-date-fns-adapter │ 22.1.7 │ ~22.1.7 │
│ @angular/platform-browser │ 22.1.7 │ ~22.1.7 │
│ @angular/platform-server │ 22.1.7 │ ~22.1.7 │
│ @angular/router │ 22.1.7 │ ~22.1.7 │
│ @angular/ssr │ 22.1.8 │ ~22.1.8 │
│ @angular/youtube-player │ 22.1.7 │ ~22.1.7 │
│ rxjs │ 7.8.2 │ 7.8 │
│ typescript │ 6.0.3 │ ~6.0.3 │
│ vitest │ 5.0.1 │ ^5.0.1 │
Anything else relevant?
No response
Metadata
Metadata
Assignees
Labels
area: @angular/ssrgemini-triagedLabel noting that an issue has been triaged by geminineeds: repro stepsWe cannot reproduce the issue with the information given
Activity
alan-agius4 commentedon Sep 23, 2026
I'm sorry, but we can't reproduce the problem following the instructions you provided. Can you setup a minimal repro please?
You can read here why this is needed. A good way to make a minimal repro is to create a new app via
ng new repro-appand adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.This might be related to your directory structure so its really important to get an accurate repro to diagnose this.
GipHub123 commentedon Sep 23, 2026
@alan-agius4
Project is quite complex and code base is pretty large 😐 Removing all the irrelevant parts just takes too much time / It's might be really hard to pin point the problem since error message is too generic.
I suspected that there might be something wrong with the routes but I got same result with empty routes ([])
So my suggestion is that we wait and see if anyone else has the same problem.
alan-agius4 commentedon Sep 23, 2026
Closing as without a reproduction this is not actionable from our end. Feel free to re-open when there is an actionable reproduction.
angular-automatic-lock-bot commentedon Oct 24, 2026
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.