Build locally first
npm run build
Fix errors if any, Once we're able to build locally, we can connect our github repo branch to amplify, so that it'll automatically build.
Goto project in Amplify on AWS Console,
Give github permissions to your repo...