Lesson 11: No Contract deployed with name: PriceConsumerV3, Cannot read properties of undefined (reading 'Logger') #5952
-
I've tried to run yarn hardhat run scripts/deployment/deployPriceConsumerV3.js nothing happened, it just takes me back to the current directory. same with yarn hardhat deploy --tags feed --network localhost . yarn run deploy gives me this error here Cannot read properties of undefined (reading 'Logger') coming from this line in deployApiConsumer.js : ethers.utils.Logger.setLogLevel(ethers.utils.Logger.levels.ERROR) The link to my scripts : I've checked the documentation about deploy, still nothing worked. So I'd really appreciate your help! Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hello @Bobodilo I have cloned your repo and ran command |
Beta Was this translation helpful? Give feedback.
Yup just try reinstalling your packages and it should work :)