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

init triggering unnecessary re-install of Hardhat #6323

Closed
kanej opened this issue Feb 18, 2025 · 0 comments · Fixed by #6426
Closed

init triggering unnecessary re-install of Hardhat #6323

kanej opened this issue Feb 18, 2025 · 0 comments · Fixed by #6426
Assignees
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task

Comments

@kanej
Copy link
Member

kanej commented Feb 18, 2025

Installing Hardhat with pnpm i hardhat@next, running pnpm hardhat --init, and accepting the default answers initializes a working project, but it has an unnecessary last step that asks to re-install Hardhat:

? You need to update the following dependencies using the following command:
    pnpm add --save-dev "@ignored/hardhat-vnext@^3.0.0-next.19"
    
    Do you want to run it now? (Y/n) ‣ true

This also happens if Hardhat is installed as a dev dependency.

This only happens with pnpm btw. The same workflow with npm works fine

@kanej kanej added the v-next A Hardhat v3 development task label Feb 18, 2025
@kanej kanej added this to the Public Alpha milestone Feb 18, 2025
@kanej kanej added this to Hardhat Feb 18, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Hardhat Feb 18, 2025
@kanej kanej moved this from Backlog to To-do in Hardhat Feb 18, 2025
@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Feb 18, 2025
@antico5 antico5 moved this from To-do to In Progress in Hardhat Feb 27, 2025
@antico5 antico5 self-assigned this Feb 27, 2025
@antico5 antico5 moved this from In Progress to In Review in Hardhat Feb 27, 2025
@kanej kanej linked a pull request Feb 28, 2025 that will close this issue
@kanej kanej closed this as completed Mar 4, 2025
@github-project-automation github-project-automation bot moved this from In Review to Done in Hardhat Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants