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 instability #6038

Open
Tracked by #6000
kanej opened this issue Dec 10, 2024 · 0 comments
Open
Tracked by #6000

init instability #6038

kanej opened this issue Dec 10, 2024 · 0 comments
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Milestone

Comments

@kanej
Copy link
Member

kanej commented Dec 10, 2024

Sometimes hardhat3 --init hangs on npm install once in a while (maybe 1/3rd to 1/2 of the tries), this is in typescript+node devcontainer on Windows.

  • Running directly doesn’t hang, running through hardhat3 —init hangs.
  • running it separately verbose works, maybe we should add —verbose to the hardhat3 init to check.
  • particular npm install that always hangs is this:

npm install --save-dev "@ignored/hardhat-vnext@^3.0.0-next.15" "@ignored/hardhat-vnext-keystore@^3.0.0-next.11" "@ignored/hardhat-vnext-node-test-runner@^3.0.0-next.11" "@ignored/hardhat-vnext-network-helpers@^3.0.0-next.11" "@ignored/hardhat-vnext-viem@^3.0.0-next.10" "@types/node@^22.8.5" "forge-std@foundry-rs/forge-std#v1.9.4" "typescript@~5.5.0" "viem@^2.21.37"

This was reported by Marian when installing the Alpha within Docker on windows.

This is likely hard to reproduce and is likely showing up because of a network issue. However, the fact that running the instruction directly through npm works but our install halts suggests we might not be handling an error within --init when we call npm install.

@kanej kanej mentioned this issue Dec 10, 2024
25 tasks
@kanej kanej added the v-next A Hardhat v3 development task label Dec 10, 2024
@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Dec 10, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Hardhat Dec 10, 2024
@kanej kanej moved this from Backlog to To-do in Hardhat Dec 10, 2024
@kanej kanej added this to the Public Alpha milestone Dec 10, 2024
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: To-do
Development

No branches or pull requests

1 participant