DEV Community

Discussion on: How to Build a Full Stack NFT Marketplace - V2 (2022)

Collapse
 
genie_anabelle profile image
Genie Anabelle • Edited

Hi, I'm having a runtime error in create-item.js when clicking to create the listing! Would appreciate any help, thank you!

The error is regarding: let value = event.args[2]

Collapse
 
ksteigerwald profile image
Kris Steigerwald • Edited

Restart your hardhat node, Redeploy your contracts, update your config.js with new contract addresses. Set MetaMask custom nounce to 0 (I had to do this to deal w/ another error) and then update the nounce with each following transaction.

hth

Collapse
 
gullinburstilab profile image
Jose Lopez Jr

When I redeploy the contract, I dont get any of the console logs, but it says "Done in 1.71s.", is there any reason I am unable to see the addresses?

Collapse
 
insivika profile image
Philipp A. • Edited

Thank you this worked. I also had a misconfiguration in my metamask account. Can you please explain why I have to manually set the nonce? How could I expect an actual user to do this?

Thread Thread
 
yawnxyz profile image
Jan Z

if you get the "nonce too high" error, do this: medium.com/@thelasthash/solved-non...

Collapse
 
cryptobeginner profile image
CryptoBeginner

Hi i having this same event.args[2] you found any solution?

Collapse
 
chaun profile image
Chaun

Hi also have the same issue, any solutions?

Collapse
 
insivika profile image
Philipp A.

Did you find a soludtion for this?

Collapse
 
baart1989 profile image
baart1989 • Edited

I had similar in my case it was that i had to re-run deploy.js command.