Raffle Error in deploying #6134
Replies: 5 comments
-
i asked chatGPT and told me to clean node-modules or reinstalling the packages or just update hardhat-ethers
|
Beta Was this translation helpful? Give feedback.
-
Could not resolve dependency: Conflicting peer dependency: ethers@6.7.1 Fix the upstream dependency conflict, or retry |
Beta Was this translation helpful? Give feedback.
-
console told me that there is an error at
its points to
and doesn't contains events or subId , also for the line of |
Beta Was this translation helpful? Give feedback.
-
deploy works in test network but not in local network. |
Beta Was this translation helpful? Give feedback.
-
Hello @EngAbdalrhman You are just messing with ethers version. Please match course ethers version (v5) otherwise fix your syntax to ethers v6. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm at 15:20:00 and when deploying time came I faced a problem in deploying deploy-raffle, for mocks it deployed without problems,
before that, there was an error in installing
npm i --dev @nomiclabs/hardhat-ethers@npm:hardhat-deploy-ethers ethers
and I fixed it by force installing, Note: I am working with npm package, not yarn.
i tried both
const vrfCoordinatorV2Mock = await ethers.getContract( "VRFCoordinatorV2Mock" );
andbut still facing the same issue, my repo
in last is mocks necessary ? can I just run on the testnet without needing of it , and use
npm hardhat run
directly instead ofnpm deploy
Beta Was this translation helpful? Give feedback.
All reactions