Skip to content

Lesson-7 (11.17.59): I was trying to test fundme contract and getting error, can anyone help me? Thank you. #5666

Answered by alfaqi
rahulpandey70 asked this question in Q&A
Discussion options

You must be logged in to vote

it was about libraries.
I replaced your package.json with this

{
  "dependencies": {
    "@nomicfoundation/hardhat-toolbox": "^2.0.2",
    "@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.13",
    "dotenv": "^16.0.3",
    "hardhat": "^2.14.0",
    "solhint": "^3.4.1"
  },
  "devDependencies": {
    "@chainlink/contracts": "^0.6.1",
    "@nomiclabs/hardhat-solhint": "^3.0.1",
    "hardhat-deploy": "^0.11.29",
    "solidity-coverage": "^0.8.2"
  }
}

and it works fine
you may need to install the package by npm i --force

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@rahulpandey70
Comment options

@alfaqi
Comment options

@rahulpandey70
Comment options

@alfaqi
Comment options

Answer selected by rahulpandey70
@rahulpandey70
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants