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

Plugin @nomicfoundation/hardhat-ignition-ethers requires the following dependencies #5520

Open
Asad45AsRa opened this issue Jul 14, 2024 · 8 comments
Assignees
Labels
status:needs-decision We need to make a decision about this

Comments

@Asad45AsRa
Copy link

Version of Hardhat

Hardhat version 2.9.9

What happened?

F:\BlockChain World\LearningFold4\hardhat>npx hardhat help
Error HH801: Plugin @nomicfoundation/hardhat-ignition-ethers requires the following dependencies to be installed: @nomicfoundation/hardhat-ignition, @nomicfoundation/ignition-core.
Please run: npm install --save-dev "@nomicfoundation/hardhat-ignition@^0.15.0" "@nomicfoundation/ignition-core@^0.15.0"

Minimal reproduction steps

plese resolve that
Uploading Screenshot (515).png…

Search terms

No response

@kanej
Copy link
Member

kanej commented Jul 15, 2024

Hey @Asad45AsRa, can you give us more context here, are you trying to install @nomicfoundation/hardhat-ignition?

Or is it that you are trying to update the toolbox?

@kanej kanej added status:needs-more-info There's not enough information to start working on this issue and removed status:triaging labels Jul 15, 2024
@sebastiantf
Copy link

sebastiantf commented Jul 31, 2024

Seeing this as well when trying to install the latest toolbox following the docs

@kanej I'm using yarn

@kanej
Copy link
Member

kanej commented Aug 1, 2024

Seeing this as well when trying to install the latest toolbox following the docs

What package manager are you using? Is this npm/yarn/pnpm?

@sebastiantf
Copy link

sebastiantf commented Aug 1, 2024

updated original comment

@kanej
Copy link
Member

kanej commented Aug 5, 2024

updated original comment

yarn doesn't automatically install peer dependencies as npm does. The equivalent install for yarn for the @nomicfoundation/hardhat-toolbox toolbox would be:

yarn add --dev @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-ignition @nomicfoundation/hardhat-ignition-ethers @nomicfoundation/hardhat-network-helpers @nomicfoundation/hardhat-chai-matchers @nomicfoundation/hardhat-ethers @nomicfoundation/hardhat-verify chai@4 ethers hardhat-gas-reporter solidity-coverage @typechain/hardhat typechain @typechain/ethers-v6

@sebastiantf
Copy link

But I used the same yarn command on the docs that also includes the long list incl peer deps

@kanej
Copy link
Member

kanej commented Aug 5, 2024

But I used the same yarn command on the docs that also includes the long list incl peer deps

I have done a run through locally on a new Hardhat project, installed via yarn and with then installed @nomicfoundation/hardhat-toolbox with the command above. I didn't see an error message - it installed cleanly.

What error message are you seeing?

@sebastiantf
Copy link

sebastiantf commented Aug 5, 2024

Oh yeah a fresh new hardhat project worked. I was trying to run the install command / upgrade deps in an existing hardhat project. I did try removing node_modules and lockfile. Still same.

In the end, ended up generating a new HH project and copying over the deps list in package.json

@schaable schaable assigned kanej and unassigned schaable Aug 8, 2024
@schaable schaable added status:triaging and removed status:needs-more-info There's not enough information to start working on this issue labels Aug 8, 2024
@kanej kanej added status:needs-decision We need to make a decision about this and removed status:triaging labels Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:needs-decision We need to make a decision about this
Projects
Status: Backlog
Development

No branches or pull requests

4 participants