-
Hi, I get an error: TypeError: ethers.isAddressable is not a function. when running "yarn hardhat run scripts/aaveBorrow.js Can't find anything online about how to solve this issue. Would appreciate any help offered. Thank you! Repo: |
Beta Was this translation helpful? Give feedback.
Answered by
Nlferu
Oct 18, 2023
Replies: 1 comment 4 replies
-
Hello @sthurley You have just wrong syntax, use below: const {getWeth} = require("../scripts/getWeth")
async function main() {
await getWeth()
}
main()
.then(() => process.exit(0))
.catch((error) => {
console.error(error)
process.exit(1)
}) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @sthurley
Try fixing your packages versions then:
yarn.lock
andnode_modules
package.json
and copy/paste belowpackage.json
yarn
to install packages matching course ethers v5