Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPERM: operation not permitted #193

Open
5 tasks done
ianzone opened this issue Dec 6, 2023 · 1 comment
Open
5 tasks done

EPERM: operation not permitted #193

ianzone opened this issue Dec 6, 2023 · 1 comment

Comments

@ianzone
Copy link

ianzone commented Dec 6, 2023

Describe the bug

yihen@think MINGW64 ~
$ ni -g typescript
Already up to date
Progress: resolved 38, reused 38, downloaded 0, added 0, done
 EPERM  EPERM: operation not permitted, open 'C:\Users\yihen\AppData\Local\pnpm\ni'

and the file 'C:\Users\yihen\AppData\Local\pnpm\ni' is removed after execution

Reproduction

using git bash windows to install global packages like above

System Info

System:
    OS: Windows 11 10.0.22621
    CPU: (20) x64 13th Gen Intel(R) Core(TM) i7-13800H
    Memory: 18.51 GB / 31.66 GB
  Binaries:
    Node: 20.10.0 - ~\AppData\Local\pnpm\node.EXE
    npm: 10.2.3 - ~\AppData\Local\pnpm\npm.CMD
    pnpm: 8.11.0 - ~\AppData\Local\pnpm\pnpm.EXE
  Browsers:
    Edge: Chromium (119.0.2151.97)
    Internet Explorer: 11.0.22621.1

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@HawtinZeng
Copy link
Contributor

Maybe you should run your command in a elevated PowerSheel or Command Prompt. I rarely use MINGW64 : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants