Deployment, Hosting, yarn build

Hello,
So I am trying to deploy/host a beta site. When running yarn build I run into this “error Command failed with exit code 1.” With some prettier warnings. I am not sure what the problem is, but I attempted to run yarn build on the ethereum-boilerplate template and receive the same error so what I have done is update yarn. Delete all node_modules and reinstall. I attempted to update the packages to new versions, but it broke my app. Wanted to check with you guys to make sure this would resolve the issue. This is my first deployment so any knowledge I am missing would be really helpful.
Thanks for your time,
Beau Allgood

Maybe you can share more of the error

“scripts”: {
“start”: “set “GENERATE_SOURCEMAP=false” && react-app-rewired start”,
“build”: “react-app-rewired build”,
“test”: “react-app-rewired test”,
“eject”: “react-app-rewired eject”,
“devchain”: “node Truffle/scripts/devChain.js”,
“connect”: “moralis-admin-cli connect-local-devchain”,
“watch:events”: “moralis-admin-cli add-contract”,
“deploy”: “node Truffle/scripts/deployContract.js”,
“deploypage”: “gh-pages -d build”,
“clean”: “npx gh-pages-clean”,
“lint:check”: “eslint .”,
“lint:fix”: “eslint --fix”,
“prettier:check”: “prettier --check .”,
“prettier:fix”: “prettier --write “**/*.{js,jsx,ts,tsx,css,md,json,html}” .prettierrc --config ./.prettierrc”,
“format”: “npm run lint:fix && npm run prettier:fix”,
“prepare”: “husky install”
},

Yeah, sorry so I run yarn build, and it says failed to compile with exit code 1, but I don’t know if I have the wrong build command, or what I am doing wrong.

I mean, the error message that you get, before that final error

So they are prettier errors… do those need to be fixed before i run yarn build?

you can see here how to post code on forum:
https://forum.moralis.io/t/read-before-posting-how-to-post-code-in-the-forum/233/3

So they are prettier errors… do those need to be fixed before i run yarn build?

You can run the command yarn format for these.