Skip to content

Following along with Lesson 13: Hardhat DeFi and Aave, and getting this error: TypeError: ethers.isAddressable is not a function #6236

Answered by Nlferu
sthurley asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @sthurley

Try fixing your packages versions then:

  1. Delete yarn.lock and node_modules
  2. Clear your package.json and copy/paste below package.json
  3. Run command yarn to install packages matching course ethers v5
{
  "name": "hardhat-defi-fcc",
  "devDependencies": {
    "@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.13",
    "@nomiclabs/hardhat-etherscan": "^3.0.0",
    "@nomiclabs/hardhat-waffle": "^2.0.2",
    "chai": "^4.3.4",
    "ethereum-waffle": "^3.4.0",
    "ethers": "^5.5.3",
    "hardhat": "^2.8.3",
    "hardhat-deploy": "^0.9.29",
    "hardhat-gas-reporter": "^1.0.7",
    "solidity-coverage": "^0.7.18"
  },
  "dependencies": {
    "@aave/protocol-v2": "^1.0.1"

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@sthurley
Comment options

@Nlferu
Comment options

Answer selected by sthurley
@sthurley
Comment options

@Nlferu
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