Skip to content

browser-esbuild: An unhandled exception occurred: EPERM: operation not permitted, copyfile #26021

Closed
@zip-fa

Description

@zip-fa

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. browser-esbuild gives up with this error:

An unhandled exception occurred: EPERM: operation not permitted, copyfile 'C:\Users\123\WebstormProjects\123\src\manifest.json' -> 'C:\Users\123\WebstormProjects\123\dist\123'
See "C:\Users\ikpoc\AppData\Local\Temp\ng-G3vwG2\angular-errors.log" for further details.

Error log is the same. Tried running with admin privileges with same result.

Minimal Reproduction

ng build

Exception or Error

No response

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.8
... animations, cli, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic
... platform-server, router, service-worker, ssr

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/material               17.0.0-next.6
@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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions