Ganache stuck at adding Truffle project
See original GitHub issueI just came back to Ethereum development. Upgraded my Ganache and found out theres a new feature to add Truffle projects to the Workspace.
Decided to use it. I add the project which truffle.js
and truffle-config.js
are the same:
module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
// to customize your Truffle configuration!
networks: {
development: {
host: "127.0.0.1",
port: 7545,
network_id: "*" // Match any network id
}
}
};
Then, I save&restart… gets stuck at action SETTINGS/SET_SETTINGS
.
Expected Behavior
Normal loading of Ganache.
Current Behavior
Stuck at loading after restart.
Context
- Windows 10.
- Ganache 2.0.1.
This DOES NOT happen in Ubuntu.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Ganache (from Truffle) hangs when started - Stack Overflow
1-x86_64.AppImage" that I downloaded from GitHub, Ganache just hangs showing the following screen with no more actions. Ganache Hangs at Start.
Read more >Truffle migrate hangs when I run ganache with the --db flag
and I run "truffle migrate" in my project directory then it hangs for a while and produces the following output:
Read more >Ganache freezes at eth_estimateGas during delegatecalls #985
Solution Run contract calls with an explicit gasLimit async () { await contract.functionWithDelegateCall( args, { gasLimit: 4000000 } ...
Read more >Truffle/Ganache : Transactions stucked forever : r/ethdev
I'm using Ganache through Truffle this way : truffle develop (where my project is). migrate --reset. My contracts are deployed, ...
Read more >Ganache settings - Truffle Suite
Ethereum¶. Workspace sets the workspace name and shows the currently linked Truffle projects. See our more detailed docs on creating and deleting workspaces...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For anyone who may run into this in the future. My problem was that I was loading a truffle.js config file and it was getting stuck on the loading screen.
Running
npm install
inside my project folder, where the truffle.js file is, fixed the problem.One main contract inheriting an interface, and 6 dependencies. Here is the exact structure of my
./contracts
folder:Yes. Unfortunately without any improvement.
Also tried
npm rebuild