project_web3_battle_game icon indicating copy to clipboard operation
project_web3_battle_game copied to clipboard

Unable to install package "@nomiclabs/hardhat-ethers"

Open priyabrat8 opened this issue 1 year ago • 3 comments

priyabrat8 avatar Jun 10 '23 16:06 priyabrat8

same issue broo

clikdevelopers avatar Aug 06 '23 15:08 clikdevelopers

got the same issue brooo... Any idea how to resolve that???

AnmolChauhan123 avatar Aug 06 '23 15:08 AnmolChauhan123

You will need to the update the your package.json file

This is how mines look.

{
  "name": "hardhat-project",
  "devDependencies": {
    "@nomicfoundation/hardhat-toolbox": "^2.0.0",
    "hardhat": "^2.22.6"
  },
  "dependencies": {
    "@nomiclabs/hardhat-ethers": "^2.2.3",
    "@openzeppelin/contracts": "^4.9.6",
    "dotenv": "^16.4.5",
    "node": "^22.4.0"
  }
}

Now install with npm install

andrewpsp avatar Jul 03 '24 13:07 andrewpsp