My project consists solely of the "npx create-react-app ..." output. To recreate it, simply run "npx create-react-app [project name]" in your terminal, replacing [project name] with your desired project name.
Attempting to deploy it on Netlify Sites like this:
https://i.stack.imgur.com/ZjdSx.png
The Netlify console displayed:
6:26:29 PM: build-image version: 4c0c1cadee6a31c9bb8d824514030009c4c05c6a (focal)
6:26:29 PM: build-image tag: v4.15.0
6:26:29 PM: buildbot version: 8e21f3a6f94b4bf664f0a5ce69b751fdfc9791bd
...
6:27:08 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
6:27:08 PM: Failing build: Failed to build site
6:27:08 PM: Finished processing build request in 39.873911654s
Why is this not working? It's just a basic boilerplate code. What modifications are needed for it to function properly?