Skip to content

[BUG] npm ERR! Error: EPERM: operation not permitted only on windows #8072

Open
@testeur-990

Description

@testeur-990

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

Hello,

For our dependency, Dash.js 5.0, we need to use Node 20.18.0, so npm 10.8.2 was installed with this Node version. However, when we run npm install on Windows, we encounter the error: ERR! Error: EPERM: operation not permitted, while it works fine on Mac.

Could you please assist us in fixing this issue with npm 10.8.2?

Expected Behavior

npm install works fine on windows as Mac

Steps To Reproduce

  1. In this environment : Windows
  2. With this config...
  3. Run : run npm install
  4. See error : npm ERR! Error: EPERM: operation not permitted only on windows

Environment

  • npm:10.8.2
  • Node.js:20.18.0
  • OS Name:Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds review for next stepsplatform:windowsis Windows-specific

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions