You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
For the past few days, I am trying to use truffle console to deploy and test contracts on local network. The deployment goes well but when I try to run any command (get accounts on the network or load contract instance) it throws below error
Summary
=======
> Total deployments: 3
> Final cost: 0.0086664 ETH
- Blocks: 0 Seconds: 0
- Saving migration to chain.
- Blocks: 0 Seconds: 0
- Blocks: 0 Seconds: 0
- Saving migration to chain.
truffle(develop)> ClaimManager.deployed().then(function(instance){return instance.version() });
Uncaught:
ProviderError: CONNECTION ERROR: Couldn't connect to node http://127.0.0.1:9545/.
at Function.deployed (/opt/homebrew/lib/node_modules/truffle/build/webpack:/packages/contract/lib/contract/constructorMethods.js:82:1)
at Function.detectNetwork (/opt/homebrew/lib/node_modules/truffle/build/webpack:/packages/contract/lib/contract/constructorMethods.js:125:25)
So I did fresh Ganache setup, it didn't work and it crashed last time so I had to kill the PID and then I got the below error.
PLATFORM: darwin
GANACHE VERSION: 2.5.4
EXCEPTION:
Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed
at ChildProcess.send (internal/child_process.js:678:16)
at /webpack:/src/integrations/ethereum/common/services/EthereumChainService.js:81:21
at new Promise (<anonymous>)
at EthereumChainService_EthereumChainService.startServer (/webpack:/src/integrations/ethereum/common/services/EthereumChainService.js:70:14)
at ethereum_Ethereum.startServer (/webpack:/src/integrations/ethereum/index.js:155:23)
at integrations_IntegrationManager.startServer (/webpack:/src/integrations/index.js:98:27)
at IpcMainImpl.<anonymous> (/webpack:/src/main/index.js:486:28)
The text was updated successfully, but these errors were encountered:
For the past few days, I am trying to use truffle console to deploy and test contracts on local network. The deployment goes well but when I try to run any command (get accounts on the network or load contract instance) it throws below error
So I did fresh Ganache setup, it didn't work and it crashed last time so I had to kill the PID and then I got the below error.
PLATFORM: darwin
GANACHE VERSION: 2.5.4
EXCEPTION:
The text was updated successfully, but these errors were encountered: