Cant deploy Create React App site

From reading the docs I believe this should “just work” but Im having trouble deploying a React site started from the Create React App project.

I know previously I needed to make a netlify.toml file but I thought this wasn’t required anymore? Ive just run yarn update and bumped React Scripts to the latest version to be sure.

The Deploy log show this:

1:55:08 PM: Finished saving go dependencies
1:55:11 PM: Error running command: Build script returned non-zero exit code: 1
1:55:11 PM: Failing build: Failed to build site
1:55:11 PM: failed during stage 'building site': Build script returned non-zero exit code: 1
1:55:11 PM: Finished processing build request in 1m8.317269669s

Thanks!

Hi James,

Not quite enough information there to help you, but we do ask you to try some debugging first anyway:

Once you’ve read through and tried that out, if you still can’t get things working, we’ll need a link to your complete build logs in our UI to best advise.