Home
Support Forums

Build failed in create-react-app

My first deployment was successful but the next gave an error.

I’ve tried some set of instructions like setting CI= yarn run build in build command and setting CI= react-scripts build in my package.json but I keep getting error.

github repository

Hi @Olaleye-Blessing,

I can see that this is not a Netlify-specific error as this even happens locally. Do note that the support team cannot provide help with custom code. So, even though others might, you’d probably be better off by asking this question on a programming forum than here.

However, I can see that this error started occurring from add Authentication commit. I’d recommend to switch back to the last working commit and make small changes to narrow the error down.