DEV Community

Discussion on: [Solved] “Treating warnings as errors because of process.env.CI = true”

Collapse
 
adisking1 profile image
Aditya Narayan Sah

Fix

  • Log in to Netlify
  • Choose your app and click on Site settings
  • Navigate to Build & Deploy
  • Under Continuous Deployment select Edit settings
  • Scroll down to Environment variables and add a new Variable with the following values

CI = false