Rarible Clone dilemma

How do i fix my server? Let me double checkā€¦

Iā€™ve copied and pasted your code.
Are you using a code editor plugin ā€œLive Serverā€?

I added the extension but havenā€™t quite figured it out. Iā€™m new to thisā€¦

I seeā€¦ Now it says mweb is not a constructor

Which code editor do you use?

Virtual Studio Code vscode

Try this plugin:
https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer#review-details

Thatā€™s the one Iā€™m using

https://marketplace.visualstudio.com/items?itemName=techer.open-in-browser#review-details

Its my metamask web 3 extension. I only had the metamask ext. Smh. Now it says object objectā€¦ How should i set the settings in the metamask web3 ext?

Now it says cannot read property map

Does the metamask have to be preset to a particular testnet?

Take a look at adding custom Network RPC

If you have tested your code on sandbox and it woked fine, so there is a problem with your localhost live server

1 Like

Thatā€™s gotta be the answer but i dont have a chain id number to fill in

Hey @SolidCircle
Did you manage to solve the problem?

No. This is probably a dumb question, but am i supposed to actually download ganache? I was just about to do the command : npm install -g ganache.cli

Because I canā€™t configure my metamask wallet to my local server, but do i even have a local server. Rookie questions, i knowā€¦

I ran ganache but that didnā€™t help. Hmmmā€¦ it gotta be something simple that Iā€™m not doing. Its not the code or the server. Then its gotta be the wallet. Im using the Brave browser, could that be it?

@SolidCircle take a look at a short video
https://www.youtube.com/watch?v=nUEBAS5r4Og

Thatā€™s the video i watched that got me tobdownload ganache. But after i download it and run it, still says the same thing. Question: When i run command : python3 -m http.server ; what server is that running on? Its not ganache because it was running and allowing me to access the site before i downloaded ganache.