Error in plugin solidity-coverage: TypeError: cur._node._vm.on is not a function #2322
-
Hey all, nearing the end of Lesson 6 and running the "yarn hardhat coverage" command and getting the following error:
Been following everything as indicated, tried removing and adding plugin again. Same Issue. Found that others are having this issue too: Just letting others know in case they run into the issue. Hopefully that gets fixed soon. Seems like the solution is to try an older version of Hardhat but I'm too new at this stuff to know how to do that and not mess things up more :(. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
@ygorz : Just use this hardhat older version I have mention below, It will definitely fix your issue : You can add that, by the following command : Let me know if your issue is resolved! |
Beta Was this translation helpful? Give feedback.
@ygorz : Just use this hardhat older version I have mention below, It will definitely fix your issue :
You can add that, by the following command :
yarn add --dev hardhat@2.10.2
Let me know if your issue is resolved!