Open fudingyu opened 4 years ago
Hey @fudingyu !
This is related to https://github.com/trufflesuite/truffle/issues/3123.
Specifically:
This is an issue related to
ganache-core
's internals not yet being Node 14 compatible (trufflesuite/ganache-cli#732).It's a bit of an inconvenience but I've had some luck being able to still run
ganache-cli
in a separate terminal and running truffle tests against them on node 14.4.0. YMMV. For now, we're recommending users drop back down to Node 12.
Same problem here, dropping to Node 12 or 10: same outcome: truffle develop hangs, no output. Everything else seems to work fine. OS: Archlinux Truffle v5.1.32 (core: 5.1.32) Solidity v0.5.16 (solc-js) Node v12.18.2 Web3.js v1.2.1
Same problem here, dropping to Node 12 or 10: same outcome: truffle develop hangs, no output. Everything else seems to work fine. OS: Archlinux Truffle v5.1.32 (core: 5.1.32) Solidity v0.5.16 (solc-js) Node v12.18.2 Web3.js v1.2.1
Same here on Arch Linux. After downgrading to v12.18.2, truffle test
works fine while truffle develop
still hangs without outputs.
Truffle v5.1.35 (core: 5.1.35) Solidity - 0.4.24 (solc-js) Node v12.18.2 Web3.js v1.2.1
Thanks for sharing that @zexxlin & @privatier , I suspect this suggests something about ganache-core
's internals aren't Arch Linux friendly 🤔 .
Thank you for the feedback @CruzMolina . But ganache-cli
works fine on my host, doubt it may be truffle
related issue?
@zexxlin are you using Dockerized ganache-cli
or the npm pkg directly?
truffle develop
attempts to spin up ganache-core
in the background, so truffle develop
hanging and truffle test
working seems to suggest this is an issue with ganache-core
and Arch Linux.
@CruzMolina I'm running ganache-cli
installed as a npm pkg directly on my Arch Linux host, and it works fine. Considering ganache-cli
utilizes ganache-core
internally as well, something may go wrong with truffle develop
.
Ah, thanks for sharing that @zexxlin. Unfortunately, debugging truffle develop
issues are notoriously difficult. I wonder if something in chain.js
is acting up on Arch (chain.js
is the file truffle
invokes to spin up ganache-core
as a child process).
had the same freezing problem with truffle develop, so just started up ganache-cli manually, and I got an error msg that the 8545 port is used by some other app (turned out I had parity running on the same port)
I think truffle should at least print out the same 'port is used' error msg
Hey guys, Has anyone made any progress on this issue?
Issue
truffle develop hangs here.. no console output at all. Is that normal? how long should I wait?
I seen several guys have same problem,someone said in node v13 though.
Environment
Truffle v5.1.32
):v14.4.0
):6.14.5
):