Closed yujingxiacai closed 1 year ago
This is caused by upstream: https://github.com/npm/write-file-atomic/issues/28
Similar to https://github.com/nathanbuchar/electron-settings/issues/159. I think the solution is to disable atomicSave
on Windows
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'