How to run NFT Marketplace using Moralis in visual studio on linux?

This is all I have. I’m stuck on this video at 7:06 https://www.youtube.com/watch?v=WZWCzsB1xUE&t=444s

Are you able to get your application Id and server Url from your server? If so all you need is add them to your .env file. If you are getting errors in running the app pleases send me error screenshot, so I can help you well.

Have you installed yarn? Installation | Yarn - Package Manager (yarnpkg.com)

Hey @rom use sudo since it’s permission issue :raised_hands:

I re-read everything, tried it, it does not work on linux

How to solve this permissions problem?

One devops tells me this: You are installing with apt in their yarn video.


I’ll repeat my question (problem):
I have linux with visual studio code installed.
How to run this project in this configuration? : https://github.com/ethereum-boilerplate/ethereum-nft-marketplace-boilerplate


Guys, I understand that you understand this issue, please write in more detail.
Thanks in advance!

Add sudo in front of the install command to get past the permission denied error.

I installed Yarn, but now it won’t start.
Here is the log after installation:

Now, when starting, “yarn start” gives an error: ERROR: [Errno 2] No such file or directory: ‘start’

Have you run yarn install first?

I attached the log to the file, see if you are a programmer, please.

:thinking: hmmm I can see, you can able to install yarn.

You should be in the Nft Marketplace folder to run yarn install.

https://www.cyberciti.biz/faq/how-to-change-directory-in-linux-terminal/ . I think this will help you switching directories.

yes, I installed yarn by doing these commands in sequence:

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

echo “deb https://dl.yarnpkg.com/debian/ stable main” | sudo tee /etc/apt/sourc

sudo apt update

sudo apt install yarn

sudo apt install --no-install-recommends yarn

And to make sure that it is installed and which version we do this:
yarn --version

now throws these errors after installing Yarn:

Run yarn install. Looks like you have added some additional packages.

1 Like

Yarn is there.
Another error was thrown: error Couldn’t find the binary git.

Could these commands to understand if he is and where. I didn’t have it: https://gist.github.com/hofmannsven/6814451
And it helped to install Git.: https://git-scm.com/download/linux


After that, everything started but with errors, tell me how to remove these errors:

For the first one, see this for a fix.

For the second, you should be able to go to that line in the QuickStart.jsx file and delete it - if you have to delete characters, add them back in after the line is gone. Or try this: https://stackoverflow.com/a/53769213