PatrickAlphaC / hardhat-smartcontract-lottery-fcc

MIT License
117 stars 183 forks source link

when i install dependency on my terminal, i found error #179

Open today988 opened 11 months ago

today988 commented 11 months ago

lesson: 9 npm install @chainlink/contracts @chainlink/env-enc @openzeppelin/contracts @openzeppelin/contracts-upgradeable eth-crypto dotenv axios vm2 is-http-url prompt-sync

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: hardhat-smartcontract-lottery-fcc@1.0.0 npm ERR! Found: @nomiclabs/hardhat-ethers@0.3.0-beta.13 npm ERR! node_modules/@nomiclabs/hardhat-ethers npm ERR! dev @nomiclabs/hardhat-ethers@"npm:hardhat-deploy-ethers@^0.3.0-beta.13" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @nomiclabs/hardhat-ethers@"^2.0.0" from @nomiclabs/hardhat-waffle@2.0.6 npm ERR! node_modules/@nomiclabs/hardhat-waffle npm ERR! dev @nomiclabs/hardhat-waffle@"^2.0.1" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see: npm ERR! C:\Users\hp\AppData\Local\npm-cache_logs\2023-08-08T10_51_37_146Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\hp\AppData\Local\npm-cache_logs\2023-08-08T10_51_37_146Z-debug-0.log