Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error HH801: Plugin @nomicfoundation/hardhat-toolbox #4479

Closed
odlainepre opened this issue Oct 15, 2023 · 2 comments
Closed

Error HH801: Plugin @nomicfoundation/hardhat-toolbox #4479

odlainepre opened this issue Oct 15, 2023 · 2 comments
Assignees

Comments

@odlainepre
Copy link

Hi, why does a package @nomicfoundation/hardhat-toolbox with dev dependencies require devDependences to be installed separately in root project?

Error HH801: Plugin @nomicfoundation/hardhat-toolbox requires the following dependencies to be installed: @nomicfoundation/hardhat-network-helpers, @nomicfoundation/hardhat-chai-matchers, @nomicfoundation/hardhat-ethers, @nomicfoundation/hardhat-verify, @types/chai, @types/mocha, @typechain/ethers-v6, @typechain/hardhat, chai, ethers, hardhat-gas-reporter, solidity-coverage, typechain.
Please run: npm install --save-dev "@nomicfoundation/hardhat-network-helpers@^1.0.0" "@nomicfoundation/hardhat-chai-matchers@^2.0.0" "@nomicfoundation/hardhat-ethers@^3.0.0" "@nomicfoundation/hardhat-verify@^1.0.0" "@types/chai@^4.2.0" "@types/mocha@>=9.1.0" "@typechain/ethers-v6@^0.4.0" "@typechain/hardhat@^8.0.0" "chai@^4.2.0" "ethers@^6.4.0" "hardhat-gas-reporter@^1.0.8" "solidity-coverage@^0.8.1" "typechain@^8.2.0"

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

@fvictorio
Copy link
Member

Those are peer dependencies, not dev dependencies. A peer dependency is something that has to be installed along with the package. If you are using npm 7 or later, these are installed automatically. If you are using yarn or an older version of npm, then you'll need to manually install them. We recommend using a recent version of npm to avoid having to do that.

@fvictorio fvictorio closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2023
@github-project-automation github-project-automation bot moved this from Backlog to Done in Hardhat Oct 16, 2023
@odlainepre
Copy link
Author

my version, npm -v 9.6.7

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

2 participants