PatrickAlphaC / hardhat-fund-me-fcc

82 stars 182 forks source link

error in FundMe.test.js #160

Closed Sanyam2103 closed 1 year ago

Sanyam2103 commented 1 year ago

i am at 11:17 in the video and testing the first unit FundMe.test.js but i am getting this error image image

S-Mazigh commented 1 year ago

Hello there, I think there may be a problem with your deployment script for fund me. Check if it stills works. Otherwise, try by commenting the use of verify since that is where you use the directory ../utils. I don't use windows, but is it normal to have mixed paths in your stack (windows paths using '\' and linux paths using '/' ) ? On another note, try to avoid spaces in your folder names, they tend to cause problems.

sunnyStefi commented 1 year ago

In this project we are using hardhat-deploy-ethers, that's DEF. A hardhat-deploy plugin for Ethers.js v5. If you want to use it, you have to downgrade your ethers to v5 @Sanyam2103

PatrickAlphaC commented 1 year ago

Can you:

  1. Make this a discusson on the full repo? https://github.com/smartcontractkit/full-blockchain-solidity-course-js/
  2. Follow this section for formatting questions? https://www.youtube.com/watch?t=19846&v=gyMwXuJrbJQ&feature=youtu.be