I know that this issue was filed 3 months ago but the issue is locked and I don't see any progress.
I need to use Node 14 but I can't because of a bug in ganache-cli.
Does the workaround provided in that issue not solve the problem while we rewrite some internals for Node 14?
For those of you using Node 14, you'll need to launch ganache-cli via node 8, 10, or 12 until this is fixed. For example, run nvm use 12 && npm install ganache-cli -g to install for node 12, and then run ganache-cli with nvm use 12 && ganache-cli.
https://github.com/trufflesuite/ganache-cli/issues/732#issuecomment-623782405
No because I don't want to use nvm and I need to use Node 14. But I do appreciate that the workaround was given.
Same issue here, except the workaround doesn't work for me either. Tried Node 12.18.3 (LTS), 10, and 8 with no luck.
@kende This workaround should work. Can you provide reproduction steps?
I had the same issue but after downgrading to Node 12.18.0 it is working. It's an issue of Node 14 and Ganache.
What I did is
Then when you run ganache it will work
Most helpful comment
No because I don't want to use nvm and I need to use Node 14. But I do appreciate that the workaround was given.