Skip to content

Lesson 13: TypeError: getNamedAccounts is not a function #2607

Answered by RoboCrypter
mmuaaz asked this question in Q&A
Discussion options

You must be logged in to vote

@mmuaaz : Follow the steps :

  1. First delete your node_modules folder.
  2. Then Copy the package.json file, I'm giving you below,
  3. Paste it, Then run yarn to install the dependencies!

This one!

{
  "name": "hardhat-project",
  "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",
    "@chainlink/con…

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
11 replies
@RoboCrypter
Comment options

@mmuaaz
Comment options

@mmuaaz
Comment options

@mmuaaz
Comment options

@Prayag2003
Comment options

Answer selected by mmuaaz
Comment options

You must be logged in to vote
1 reply
@mmuaaz
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants