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

[Bug] EPERM: operation not permitted, open '%UserProfile%\.yarnrc' #8599

Closed
1 task
NatoBoram opened this issue Mar 19, 2021 · 1 comment
Closed
1 task

Comments

@NatoBoram
Copy link

  • I'd be willing to implement a fix

Describe the bug

A clear and concise description of what the bug is. A bug is unintended. A feature not being
implemented is not a bug, and your issue may be closed for misleading labeling.

When the %UserProfile%\.yarnrc file is set to "hidden", a permission error is thrown. This happens even if the command is run as administrator, which does not have permission problems.

To Reproduce

The minimal information needed to reproduce your issue (ideally a package.json with a single dep).
Note that bugs without minimal reproductions will be closed as non-actionable.

IMPORTANT: We strongly prefer reproductions that use Sherlock. Please check our documentation
for more information: https://yarnpkg.com/advanced/sherlock

Reproduction
  1. Set %UserProfile%\.yarnrc to "Hidden"
  2. Run yarn in a project

Screenshots

If applicable, add screenshots to help explain your problem.

image

Environment if relevant (please complete the following information):

  • Windows 10 Pro [64-bit]
  • v15.6.0
  • 1.22.5

Additional context

Add any other context about the problem here.

@merceyz merceyz transferred this issue from yarnpkg/berry Mar 19, 2021
@merceyz
Copy link
Member

merceyz commented Mar 19, 2021

Duplicate of #8403

@merceyz merceyz marked this as a duplicate of #8403 Mar 19, 2021
@merceyz merceyz closed this as completed Mar 19, 2021
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