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

Open daologger opened 2 years ago

daologger commented 2 years ago

I just left Ganache running and no idea when it crashed. Just now I tried to launch Ganache but it just keep crashing and re-launch fails.

Note that the "chaindata" directory is a symbolic link, which points to another disk(E:), coz my C: disk does not have sufficient space. I copied all the data in original "chaindata" dir to the target dir.

PLATFORM: win32 GANACHE VERSION: 2.5.4

EXCEPTION:

Error: UNKNOWN: unknown error, stat 'C:\Users\myuser\AppData\Roaming\Ganache\workspaces\myuser-alpha\chaindata'
    at statSync (fs.js:915:3)
    at fs.statSync (electron/js2c/asar.js:278:27)
    at Object.fs.statSync (electron/js2c/asar.js:278:27)
    at LocalStorage._init (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\node_modules\node-localstorage\LocalStorage.js:157:19)
    at new LocalStorage (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\node_modules\node-localstorage\LocalStorage.js:124:12)
    at JsonStorage_JsonStorage.setStorageDirectory (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\types\json\JsonStorage.js:14:20)
    at new JsonStorage_JsonStorage (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\types\json\JsonStorage.js:9:10)
    at new ContractCache_ContractCache (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\integrations\ethereum\main\types\contracts\ContractCache.js:8:20)
    at new Workspace_Workspace (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\types\workspaces\Workspace.js:29:26)
    at C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\types\workspaces\WorkspaceManager.js:67:19
daologger commented 2 years ago

I noticed that version 2.5.4 is the main release version on truffle's website, though v7.0.3 is the latest version on npm. Would you mind update the release package on your website?