Skip to content

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

Closed

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

Activity

  1. zip-fa commented on Oct 12, 2023

    @zip-fa
    Author

    Update: created fresh project with ng new, same error:

    An unhandled exception occurred: EPERM: operation not permitted, copyfile 'C:\Users\123\WebstormProjects\test-project\src\favicon.ico' -> 'C:\Users\123\WebstormProjects\test-project\dist\test-project'
    
  2. self-assigned this
    on Oct 12, 2023
  3. added 3 commits that reference this issue on Oct 12, 2023
    a1287c4
    a8f701a
    9c6907f
  4. added 8 commits that reference this issue on Oct 12, 2023
    e8faaac
    fdcec79
    61afb1f
    ae67402
    750a67b
    d1a5e5f
    d454353
    3397778
  5. added 2 commits that reference this issue on Oct 12, 2023
    b2678bb
    b78508f
  6. added a commit that references this issue on Oct 16, 2023
    d4f39fc
  7. added a commit that references this issue on Oct 17, 2023
    509fd7f
  8. angular-automatic-lock-bot commented on Nov 12, 2023

    @angular-automatic-lock-bot

    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.

  9. locked and limited conversation to collaborators on Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions