question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

System Error when running Ganache 2.5.4 on win32

See original GitHub issue

ive tried installing this multiple times… I AM using windows 11 pro and windows Insiders dev update… not sure how much of a difference that makes. I’m sure if i trace out all the debugging i could probably pinpoint whats going on but i definitely don’t have that kind of time and was hoping the professionals could hook it up with some answers 😃

PLATFORM: win32 GANACHE VERSION: 2.5.4

EXCEPTION:

Error: ENOENT: no such file or directory, rename 'C:\Users\Josh\AppData\Roaming\Ganache\default\chaindata\ContractCache.193083593' -> 'C:\Users\Josh\AppData\Roaming\Ganache\default\chaindata\ContractCache'
    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.setAll (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\types\json\JsonStorage.js:58: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:12: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 WorkspaceManager_WorkspaceManager.enumerateWorkspaces (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\types\workspaces\WorkspaceManager.js:71:26)
    at WorkspaceManager_WorkspaceManager.bootstrap (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\types\workspaces\WorkspaceManager.js:76:10)
    at IpcMainImpl.<anonymous> (C:\Program Files\WindowsApps\GanacheUI_2.5.4.0_x64__5dg5pnz03psnj\app\resources\app.asar\webpack:\src\main\index.js:404:22)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:5
  • Comments:5

github_iconTop GitHub Comments

1reaction
devang1144commented, Dec 17, 2021

Yes I’m also using windows 11 and facing the same issue. Don’t know why. On windows 10 its working fine, ig this is windows issue.

If you find any fix pls tell

0reactions
aniket-devcommented, Mar 14, 2022

Same here ganache wont run on win 11 someone comment down a solution please

Read more comments on GitHub >

github_iconTop Results From Across the Web

System Error when running Ganache 2.5.4 on win32 #4897
Hello, I've installed Ganache, move it to F:\drive with the Windows feature, so I get this error : PLATFORM: win32 GANACHE VERSION: 2.5.4...
Read more >
Ganache Install File System Error Solution Windows 10
Solve File System Error while Installing Ganache in Windows 10. Use Add-AppxPackage -Path .\ Ganache -2.4.0-win-x64.appx command to Install ...
Read more >
System Error When Running Ganache 2.5.4 On Win32
When using the Smart Contract Interaction page for locally deployed contracts the page is shown with the Loading Dapp message but not interface...
Read more >
Windows Ganache install Errors - Ethereum Stack Exchange
I'm attempting to install ganache via npm install ganache from my windows machine using PowerShell. Upon execution, a list of errors is ...
Read more >
Developers - System Error when running Ganache 2.5.4 on win32 -
PLATFORM: win32. GANACHE VERSION: 2.5.4. EXCEPTION: TypeError: Cannot read property 'pop' of undefined at CheckpointTrie.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found