Getting Exit Codes during build when I was not erroring locally

I am having trouble deploying a react app I have saved at github repository: GitHub - SamMathewson98/Combat-Customs-QC-Retry

I get error codes 1 and 2 during the build stage. I posted my errors below:

8:44:55 AM: ​
8:44:55 AM: “build.command” failed
8:44:55 AM: ────────────────────────────────────────────────────────────────
8:44:55 AM: ​
8:44:55 AM: Error message
8:44:55 AM: Command failed with exit code 1: npm install && npm run build (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
8:44:55 AM: ​
8:44:55 AM: Error location
8:44:55 AM: In Build command from Netlify app:
8:44:55 AM: npm install && npm run build
8:44:55 AM: ​
8:44:55 AM: Resolved config
8:44:55 AM: build:
8:44:55 AM: command: npm install && npm run build
8:44:55 AM: commandOrigin: ui
8:44:55 AM: publish: /opt/build/repo/build
8:44:55 AM: publishOrigin: ui
8:44:57 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
8:44:57 AM: Failing build: Failed to build site
8:44:58 AM: Finished processing build request in 46.98s

Hi @SamMathewson98,

Thanks for reaching out and welcome to Netlify’s Support Forums!

Could you let us know the sitename (such as that you’re having issues with? Or if you could provide the URL to the deploy that has the error, this will help us investigate the error. Thanks!