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

windows operation not permitted, rename ... #169

Closed
yujingxiacai opened this issue Jun 14, 2022 · 2 comments · Fixed by #174
Closed

windows operation not permitted, rename ... #169

yujingxiacai opened this issue Jun 14, 2022 · 2 comments · Fixed by #174

Comments

@yujingxiacai
Copy link

Recently, when I opened my electron-application and the program ran to store the local custom data logic, the following error was reported.( I used electron-settings to store)

Error: EPERM: operation not permitted, rename 'C:\Users\yujingxiacai\AppData\Roaming\Electron\settings.json.2501025886' -> 'C:\Users\yujingxiacai\AppData\Roaming\Electron\settings.json'

  • Opreating System: Windows 10 pro(21H2)
  • Electron Version: ^15.1.0
  • electron-settings: ^4.0.2
@quanglam2807
Copy link
Collaborator

This is caused by upstream: npm/write-file-atomic#28

@quanglam2807
Copy link
Collaborator

Similar to #159. I think the solution is to disable atomicSave on Windows

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

Successfully merging a pull request may close this issue.

2 participants