trufflesuite / ganache-ui

Personal blockchain for Ethereum development
https://www.trufflesuite.com/ganache
MIT License
4.66k stars 803 forks source link

System Error when running Ganache 2.5.4 on win32 #2089

Open tibet17931 opened 3 years ago

tibet17931 commented 3 years ago

PLATFORM: win32 GANACHE VERSION: 2.5.4

EXCEPTION:

Error: EPERM: operation not permitted, rename 'C:\Users\tibet\AppData\Roaming\Ganache\workspaces\Quickstart\Settings.599526637' -> 'C:\Users\tibet\AppData\Roaming\Ganache\workspaces\Quickstart\Settings'
    at Object.renameSync (fs.js:643:3)
    at writeFileSync (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\node_modules\write-file-atomic\index.js:124:8)
    at Proxy.setItem (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\node_modules\node-localstorage\LocalStorage.js:217:7)
    at JsonStorage_JsonStorage.setToStorage (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\types\json\JsonStorage.js:48:18)
    at JsonStorage_JsonStorage.set (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\types\json\JsonStorage.js:53:10)
    at WorkspaceSettings_WorkspaceSettings.set (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\types\settings\Settings.js:59:19)
    at Workspace_Workspace.saveAs (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\types\workspaces\Workspace.js:105:19)
    at IpcMainImpl.<anonymous> (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\index.js:442:17)
davidmurdoch commented 3 years ago

Thanks for opening this issue! Does this issue keep reoccurring or was it just the one time?

tibet17931 commented 3 years ago

this issue keep reoccurring. i can run ganache-cli but ganache ui i get this error

davidmurdoch commented 3 years ago

Can you disable windows defender? You might be running into this: https://github.com/microsoft/WSL/issues/1932#issuecomment-324775701