Skip to content

npx hardhat test - Command Failed! #8

@guvent

Description

@guvent

Hi,

I had cloned this project and ran "npx hardhat test" but it says an error like;

Error HH801: Plugin @nomicfoundation/hardhat-toolbox requires the following dependencies to be installed: @nomicfoundation/hardhat-network-helpers, @nomicfoundation/hardhat-chai-matchers, @nomiclabs/hardhat-etherscan, @types/chai, @types/mocha, @typechain/hardhat, hardhat-gas-reporter, solidity-coverage, ts-node, typescript.
Please run: npm install --save-dev "@nomicfoundation/hardhat-network-helpers@^1.0.0" "@nomicfoundation/hardhat-chai-matchers@^1.0.0" "@nomiclabs/hardhat-etherscan@^3.0.0" "@types/chai@^4.2.0" "@types/mocha@>=9.1.0" "@typechain/hardhat@^6.1.2" "hardhat-gas-reporter@^1.0.8" "solidity-coverage@^0.8.1" "ts-node@>=8.0.0" "typescript@>=4.5.0"

For more info go to https://hardhat.org/HH801 or run Hardhat with --show-stack-traces

This error has all test scripts;

  • npx hardhat test test/game1Test.js
  • npx hardhat test test/game2Test.js
  • npx hardhat test test/game3Test.js
  • npx hardhat test test/game4Test.js
  • npx hardhat test test/game5Test.js

Why problem caused?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions