-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
angular/build:applicationarea: @angular-devkit/build-angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
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
Hi.
I have project with 19 locales in it. Build gives up when using application builder with this exception:
An unhandled exception occurred: EMFILE: too many open files, open 'C:\Users\123\WebstormProjects\123\dist\456\server\ro\chunk-XKJBHO6U.mjs'
Fatal error writing debug log file: Error: EMFILE: too many open files, open 'C:\Users\123\AppData\Local\Temp\ng-P9vNh5\angular-errors.log'
Error: EMFILE: too many open files, open 'C:\Users\123\WebstormProjects\123\dist\456\server\ro\chunk-XKJBHO6U.mjs'
Log file is empty.
If you leave only 2 languages, the build will end.
Minimal Reproduction
ng build
Exception or Error
An unhandled exception occurred: EMFILE: too many open files, open 'C:\Users\123\WebstormProjects\123\dist\456\server\ro\chunk-XKJBHO6U.mjs'
Fatal error writing debug log file: Error: EMFILE: too many open files, open 'C:\Users\123\AppData\Local\Temp\ng-P9vNh5\angular-errors.log'
Error: EMFILE: too many open files, open 'C:\Users\123\WebstormProjects\123\dist\456\server\ro\chunk-XKJBHO6U.mjs'
Your Environment
Angular CLI: 17.0.0-next.8
Node: 18.18.1
Package Manager: npm 9.8.1
OS: win32 x64
Angular: 17.0.0-next.7
... animations, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic
... platform-server, router, service-worker
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1700.0-next.8
@angular-devkit/build-angular 17.0.0-next.8
@angular-devkit/core 17.0.0-next.8
@angular-devkit/schematics 17.0.0-next.8
@angular/cdk 17.0.0-next.6
@angular/cli 17.0.0-next.8
@angular/material 17.0.0-next.6
@angular/ssr 17.0.0-next.8
@schematics/angular 16.2.5
rxjs 7.8.1
typescript 5.2.2
zone.js 0.14.0
Anything else relevant?
No response
Metadata
Metadata
Assignees
Labels
angular/build:applicationarea: @angular-devkit/build-angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix