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

Hardhat version changed from 2.6.1 to 2.1.2 after running "npm install" command #1840

Closed
changzhi1990 opened this issue Aug 31, 2021 · 2 comments

Comments

@changzhi1990
Copy link

Hi, all

Recently, I encounter a problem when running "npm hardhat compile". Here are the detailed steps:

➜  amm-arbitrageur git:(master) npx hardhat --version
2.6.1
➜  amm-arbitrageur git:(master) npm install --save-dev ts-node typescript

added 1282 packages in 1m

85 packages are looking for funding
run `npm fund` for details
➜  amm-arbitrageur git:(master) ✗ npx hardhat --version
2.1.2

Why the version of hardhat has been changed from 2.6.1 to 2.1.2?

Actually, I encounter the same issue here. The terminal was stuck when downloading the compiler. After some investigation, I find the fix of this issue has been merged. So I want to use the latest hardhat version.

I have no idea when the hardhat version has been changed.

Could someone give me some advice? BTW, my OS is macOS.

Thanks.

@fvictorio
Copy link
Member

This seems to be related to how you are using npm or yarn. My guess is that you have a lock file that uses that version, or maybe just your package.json has that version.

The issue tracker is only for bug reports and feature requests. Please use our Discord server if you have more questions.

@changzhi1990
Copy link
Author

This seems to be related to how you are using npm or yarn. My guess is that you have a lock file that uses that version, or maybe just your package.json has that version.

The issue tracker is only for bug reports and feature requests. Please use our Discord server if you have more questions.

Thanks

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants