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

Fix "EPERM: operation not permitted, open 'C:\Users\account\AppData\Local #1693

Merged
merged 1 commit into from
Sep 14, 2019

Conversation

feross
Copy link
Member

@feross feross commented Sep 14, 2019

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update
[x] Bug fix
[ ] New feature
[ ] Other, please explain:

What changes did you make? (Give an overview)

This is the error on Windows that was preventing release of WebTorrent Desktop 0.21.0. #1674 (comment)

Is the Local folder read-only? Possible long-term fix is to remove 'application-config' dependency and use electron.app.getPath('appData') directly.

Is there anything you'd like reviewers to focus on?

@feross
Copy link
Member Author

feross commented Sep 14, 2019

Seems to still get the same error. So the issue is not Local vs Roaming. It seems to be inconsistent too...

Trying to swap out cp-file for a plain Node.js copyFileSync in case there's some bug in cp-file.

@feross
Copy link
Member Author

feross commented Sep 14, 2019

Replacing cp-file seems to have fixed it. I can't reproduce it anymore. I don't really know what to make of this... but I'm eager to get 0.21.0 out. So let's push ahead.

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

Successfully merging this pull request may close these issues.

1 participant