Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

System Error when running Ganache 2.5.4 on darwin #3518

Open
nichonien opened this issue Dec 2, 2021 · 0 comments
Open

System Error when running Ganache 2.5.4 on darwin #3518

nichonien opened this issue Dec 2, 2021 · 0 comments

Comments

@nichonien
Copy link

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)
@davidmurdoch davidmurdoch transferred this issue from trufflesuite/ganache Dec 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant