Make sure you are using at least Node 14. We recommend using NVM to manage your Node verison: https://heynode.com/tutorial/install-nodejs-locally-nvm/
yarn install
yarn start
yarn build
...then upload the contents of ./dist
to your server.
Make sure you copy ./src/.htaccess
to your server as well!