-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular-devkit/build-angulardevkit/build-angular:dev-serverfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity5: regressiontype: bug/fix
Description
Command
serve
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
When I add option to "serve" with "forceEsbuild: true", serve not working and error occurred :
An unhandled exception occurred: Either browser or at least one entryPoints value must be provided.
that is regression, because video from youtube show it was working few months ago: https://www.youtube.com/watch?v=WE6IwM3Jees
Minimal Reproduction
- npx ng new testproject
- update to 17 angular if needed
- add "forceEsbuild: true" to "serve" section in angular.json (project.json when using nx)
for example:
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"forceEsbuild": true
},
"configurations": {
"production": {
"buildTarget": "angular17plain:build:production"
},
"development": {
"buildTarget": "angular17plain:build:development"
}
},
"defaultConfiguration": "development"
}Exception or Error
An unhandled exception occurred: Either `browser` or at least one `entryPoints` value must be provided.
Your Environment
Angular CLI: 17.0.6
Node: 20.8.1
Package Manager: npm 10.1.0
OS: darwin arm64
Angular: 17.0.6
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1700.6
@angular-devkit/build-angular 17.0.6
@angular-devkit/core 17.0.6
@angular-devkit/schematics 17.0.6
@schematics/angular 17.0.6
rxjs 7.5.7
typescript 5.2.2
zone.js 0.14.2
Anything else relevant?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angulardevkit/build-angular:dev-serverfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity5: regressiontype: bug/fix