Replies: 1 comment
-
@0xClouds I got your point, actually, you have installed the latest dependencies because in the video Patrick instructed to install dependencies with a command. And in the latest version code gets changed, so either you use the dependencies that are used in the video (copy the package.json file to your project) or try to read docs for the latest updates. For this error: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Im trying to use the hardhat starter kit : https://github.com/smartcontractkit/hardhat-starter-kit
I spent a good bit trying to follow with Patrick where he uses the hardhat console
const priceConsumerV3 =await ethers.getContract("PriceConsumerV3")
Also then I tried to run
node scripts/readPrice.js
both of these return that
ethers.getContract is not a function
, so I spent time trying to find a solution many people say to runyarn add @nomiclabs/hardhat-ethers@npm:hardhat-deploy-ethers
So I added this and then I get back
Error: No Deployment Plugin Installed, try 'import "hardhat-deploy"'
Which I could not find any information on online. Im only using the hardhat starter kit and the steps they've said to run on the documentation.Beta Was this translation helpful? Give feedback.
All reactions