hardhat-gas-reporter
hardhat-gas-reporter copied to clipboard
"Uncaught error outside test suite" on Ubuntu 18.04.3
Latest hardhat and latest hardhat gas reporter results in 1) Uncaught error outside test suite with zero config setup, and with config setup.
Node LTS v14.15.1
We tried to debug this and it seemed like it might be tied to a specific Ubuntu setup, but the exact cause wasn't found...
Version info:
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Same issue here
@NotRealAI Do you have any more info that could help debug this? Are you also on this ubuntu version?
@NotRealAI Do you have any more info that could help debug this? Are you also on this ubuntu version?
Ubuntu 19.10 / Node 10.15 here. Wish I had something more to give you.
Ok, that's helpful. Now we have four Ubuntu / Node configurations and three occurrences of the error.
Ubuntu | Node | ok | who |
---|---|---|---|
18.04 | 14.15.1 | ❌ | matthewlilley |
19.10 | 10.15 | ❌ | notrealAI |
20.04 (?) | 12.16 | ✅ | hh-gr circleCI |
20.04 | 16.13.0 | ❌ | stevieraykatz |
(This problem might not be os related, idk)
For people who also found this issue via google :)
Had such issue, removing 'eth-gas-reporter' helped.
Also for more error details you can run DEBUG='*' time npx hardhat
Ran into this issue just now running ubuntu 20.04, npm 8.1.0, node v16.13.0
hardhat version: ├── [email protected]
mocha: ├── @types/[email protected]
chai: ├── [email protected]
hardhat-gas-reporter: ├── [email protected]
Happy to provide any additional context for debugging here.
@stevieraykatz If you run npm list eth-gas-reporter
in your project do you see more than one version?
I have the same issue with latest version of HardHat on macOS: 1) Uncaught error outside test suite:
Full output:
76 passing (8s)
1 failing
1) Uncaught error outside test suite:
Uncaught TypeError: Do not know how to serialize a BigInt
at stringify (<anonymous>)
at writeChannelMessage (node:internal/child_process/serialization:127:20)
at process.target._send (node:internal/child_process:839:17)
at process.target.send (node:internal/child_process:739:19)
at ~/Projects/NGGYU/node_modules/workerpool/src/worker.js:131:22