Been struggling with creating my NFT during the Rarible clone tutorial. I keep getting these 2 errors when trying to create the NFT.
inpage.js:1 MetaMask no longer injects web3. For details, see: https://docs.metamask.io/guide/provider-migration.html#replacing-window-web3
get @ inpage.js:1
mintNFT @ main.js:176
createItem @ main.js:156
async function (async)
createItem @ main.js:139
main.js:176 Uncaught (in promise) TypeError: Cannot read property ‘Contract’ of undefined
at mintNFT (main.js:176)
at HTMLButtonElement.createItem (main.js:156)
mintNFT @ main.js:176
createItem @ main.js:156
async function (async)
createItem @ main.js:139
Really not sure what I’m missing, and have been trying to find solutions for a while now. Thank you for your time.