dappuniversity / millow

Real Estate NFT DApp
195 stars 209 forks source link

Error connecting to Blockchain in order to list properties/load NFT contracts into App #5

Open isaackielma opened 1 year ago

isaackielma commented 1 year ago

I am facing this error when trying to list properties/load contracts into App:

/ipfs/QmQVcpsjrA6crliJjZAodYwmPekYgbnXGo4DFubJiLc2EB/${i + 1}.json: invalid path "/ipfs/QmQVcpsjrA6crliJjZAodYwmPekYgbnXGo4DFubJiLc2EB/${i + 1}.json": invalid CID: input isn't valid multihash

Screenshot 2022-11-21 at 19 04 18

is the issue with this link: "https://ipfs.io/ipfs/QmQVcpsjrA6cr1iJjZAodYwmPekYgbnXGo4DFubJiLc2EB/${i + 1}.json" or there is another issue perhaps?

Screenshot 2022-11-21 at 16 41 02 Screenshot 2022-11-21 at 16 41 18 Screenshot 2022-11-21 at 16 41 58

Additional Info: I started facing the issue at this part of the tutorial https://youtu.be/C4blK6X-D_4?t=6715:

rohitscript commented 1 year ago

I'm also getting issue ...Loading List of Properties!!!

isaackielma commented 1 year ago

To me it was going all well, until this line here:

Screenshot 2022-11-22 at 17 05 40
rohitscript commented 1 year ago

I'm Getting this Error image .. image

isaackielma commented 1 year ago
Screenshot 2022-11-25 at 21 15 00

rohitverse.

I just tried this again and it worked:

  1. Quit everything

  2. Shutdown computer

  3. Open everything running all commands for hardhat node and npm start

  4. Then run this command: npx hardhat run ./scripts/deploy.js --network localhost

rohitscript commented 1 year ago

can you share code of App.js im getting same error!

rohitscript commented 1 year ago

can you share code of App.js im getting same error! . image

1qh commented 1 year ago

Please tell me how to fix the code. I have the same error =((

Bhakti087 commented 1 year ago

Has anyone got the solution to this problem?

shantanusharma6079 commented 1 year ago

any solution to this problem?

SimranSiddiqui commented 1 year ago

@Bhakti087 Try Adding the hardhat local network to the metamask and then start the server This link will help https://support.chainstack.com/hc/en-us/articles/4408642503449-Using-MetaMask-with-a-Hardhat-node It worked for me !!