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 #5510

Open adarshu21 opened 1 year ago

adarshu21 commented 1 year ago

PLATFORM: win32 GANACHE VERSION: 2.5.4

EXCEPTION:

Error: ENOENT: no such file or directory, open 'C:\Users\Adarsh\AppData\Roaming\Ganache\workspaces\Quickstart\Settings'
    at Object.openSync (fs.js:440:3)
    at Object.func (electron/js2c/asar.js:140:31)
    at Object.func [as openSync] (electron/js2c/asar.js:140:31)
    at Object.readFileSync (fs.js:342:35)
    at Object.fs.readFileSync (electron/js2c/asar.js:542:40)
    at Object.fs.readFileSync (electron/js2c/asar.js:542:40)
    at Proxy.getItem (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\node_modules\node-localstorage\LocalStorage.js:237:19)
    at JsonStorage_JsonStorage.getFromStorage (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\types\json\JsonStorage.js:18:42)
    at JsonStorage_JsonStorage.get (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\types\json\JsonStorage.js:30:12)
    at WorkspaceSettings_WorkspaceSettings._getRaw (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\types\settings\Settings.js:23:26)
jeffsmale90 commented 1 year ago

Can you please try with the latest version of Ganache-UI? In v2.7.0 we made some improvements to how workspace files are managed. If upgrading fixes the issue, please close this, otherwise we will look into this when we have some time.

https://github.com/trufflesuite/ganache-ui/releases

Thanks!