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
CI
environment variable tofalse
in 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:
CI
with the valuefalse
.