0

When I'm running the truffle compile cmd getting the prompt "Everything is upto date." ABIS folder is created but the corresponding file related to contacts are not there. Basically, the folder is empty. Ganache is running, settings are correct. Please see the attached screenshot for more info. But when I run truffle console it says "unbale to connect to the server." Anyone has any idea what's happening. I'm running windows.enter image description here

truffke_config.js

 networks: {
development: {
  host: "127.0.0.1",     // Localhost (default: none)
  port: 7545,            // Standard Ethereum port (default: none)
  network_id: "*",       // Any network (default: none)
 },
1

I solved this issue by installing ganache-CLI via WSL. Able to interact with the local blockchain now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.