ERROR: CALLBACK WAS ALREADY CALLED – GANACHE

正文开始

[md] 原文:[http://www.talkcrypto.org/blog/2020/07/09/error-callback-was-already-called-ganache/](http://www.talkcrypto.org/blog/2020/07/09/error-callback-was-already-called-ganache/ "http://www.talkcrypto.org/blog/2020/07/09/error-callback-was-already-called-ganache/")

windows运行 ganache-cli

报错: >Ganache CLI v6.9.1 (ganache-core: 2.10.2) Error: Callback was already called.

原因是与ganache核心的内部结构还不兼容Node v14有关。

The reason is an issue related to ganache-core’s internals not yet being Node v14 compatible.

>npm unlink node npm link node@12

$ npm link --overwrite node@12 --force
$ npx ganache-cli --deterministic 

正文结束

npm异常记录 nmp In most cases you are behind a proxy or have bad network settings.