vertigo icon indicating copy to clipboard operation
vertigo copied to clipboard

Encountered error during test output analysis

Open navdeepblock8 opened this issue 4 years ago • 4 comments

Vertigo showing this error when run with Hardhat. Can someone help me to solve this issue?

navdeepblock8 avatar Jun 29 '21 17:06 navdeepblock8

Having the same issue. I had to first rename hardhat.config.ts to .js because of the error Could not find supported project directory in. But now I'm also facing the error: Encountered an error while running the framework's test command: Encountered error during test output analysis

patitonar avatar Aug 27 '21 12:08 patitonar

For me the way to fix this is to remove additional plugins inside Hardhat that are outputting something on the stdout. In my case it was require("hardhat-gas-reporter");. Hope this helps!

iamladi avatar Feb 25 '22 12:02 iamladi

When I test it using truffle, got the same error. If we use console or logger in the migration scripts, then will get this issues. This is grabbing all logs and trying to convert json format. If there are some additional logs, then will get that issue

BitBravo avatar Mar 29 '22 13:03 BitBravo

did anyone find a solution for this?

bebofit avatar Oct 05 '23 18:10 bebofit