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 Nov 15, 2021. It is now read-only.
$ npm test
> [email protected] test /home/abcoathup/projects/forum/testenv
> mocha --exit --recursive test
Box
/home/abcoathup/projects/forum/testenv/node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/async/lib/async.js:358
callback(err);
^
Error: Callback was already called.
at /home/abcoathup/projects/forum/testenv/node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/async/lib/async.js:43:36
at WriteStream.<anonymous> (/home/abcoathup/projects/forum/testenv/node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/async/lib/async.js:358:17)
at WriteStream.emit (events.js:315:20)
at WriteStream.destroy (/home/abcoathup/projects/forum/testenv/node_modules/ganache-core/node_modules/level-ws/level-ws.js:140:8)
at finish (_stream_writable.js:658:14)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
OpenZeppelin Test Environment fails on node 14 with ganache-core error:
Error: Callback was already called
To reproduce follow Learn guides tutorial using node 14 (https://docs.openzeppelin.com/learn/writing-automated-tests#writing-unit-tests)
Reported in the community forum: https://forum.openzeppelin.com/t/testing-with-node-14-ganache-core-errors-with-callback-was-already-called/3068
Workaround is to use an earlier version of node such as node 10 or node 12.
The text was updated successfully, but these errors were encountered: