dappuniversity / nft_marketplace

145 stars 186 forks source link

Error: call revert exception (method="itemCount()" #8

Open Tzikas opened 1 year ago

Tzikas commented 1 year ago

After navigating to the my-listed-items route I'm getting this error: Uncaught (in promise) Error: call revert exception (method="tokenCount()", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.5.0). tokenCount does appear when i log it in the console.

swet-s commented 1 year ago

Try deploying contract by typing npm run deploy on your console

after that run npm start

The error will go away. It worked for me.

ben46 commented 1 year ago

can you post your package.json file here, sir. I have been stuck for 24hrs.

ngmisl commented 1 year ago

getting the same errors, seems like they even have it in their tutorial video...

abhik-b commented 1 year ago

Try deploying contract by typing npm run deploy on your console

after that run npm start

The error will go away. It worked for me.

Thanks a lot , it worked for me 💯

upendra-eth commented 1 year ago

Hello, I've solved all the issues you're experiencing while watching this video in 2023, explained the solution in a video to make it more beginner-friendly, and also uploaded the updated code to my git repository. Please find all links below

Video link - https://youtu.be/rHBuddTLzR0