Warnings as Error
Treating warnings as errors because process.env.CI = true. Most CI servers set it automatically.
Configure Environment Variables in Netlify: Alternatively, you can set the
CIenvironment variable tofalsein Netlify's build environment settings:- Navigate to your site dashboard on Netlify.
- Go to "Site settings".
- Under "Build & deploy", click "Environment".
- Add a new environment variable:
CIwith the valuefalse.