DEV Community

Discussion on: Building a Full Stack NFT Marketplace on Ethereum with Polygon

Collapse
genie_anabelle profile image
Genie Anabelle • Edited on

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
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
baart1989 profile image
baart1989 • Edited on

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

Collapse
ksteigerwald profile image
Kris Steigerwald • Edited on

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