Thanks for the article. I am sure someone just starting out with netlify will find it useful. I also faced the same problem some time back. Actually the reason is clearly stated in the error message but it just went over my head. It is because netlify treats any warnings emitted by react as errors therefore failing the build process. I remember ignoring the warnings by adding CI='' just before the build command. I am not sure if that is still the recommended way.
CI=''npmrunbuild
I noticed the following typo in the article.
In the last 6 months, I deployed a punch of projects on Netlify, mostly React.
Probably you meant a bunch of projects
And looks like you entered the build command in the base directory field in the screenshot.
👋 Selftaught Accessibility & Frontend Developer
💻 Dev & UX Accessibility Specialist @Atos | CPACC
🙆 Improving the world with accessible web content
✍️ Content creator, Tips on How To Get Into Tech
Hi JU!
Thanks for the article. I am sure someone just starting out with netlify will find it useful. I also faced the same problem some time back. Actually the reason is clearly stated in the error message but it just went over my head. It is because netlify treats any warnings emitted by react as errors therefore failing the build process. I remember ignoring the warnings by adding
CI=''
just before the build command. I am not sure if that is still the recommended way.I noticed the following typo in the article.
Probably you meant a bunch of projects
And looks like you entered the build command in the base directory field in the screenshot.
Thank you so much for your comment, that helps a lot!