DEV Community

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

Collapse
 
militusinnocent profile image
Militus

Hi, I'm almost completely new. I tried CI= npm run build but it didn't work, I guess I'm doing sth wrong. Any ideas on how to fix this on vercel?

Collapse
 
josiasaurel profile image
Josias Aurel • Edited

On vercel and netlify, setting CI to false in environment variables make it work XD

Collapse
 
ahmedsarhan profile image
Ahmed Sarhan

I just signed in to say thank you ... this saved my day

Thread Thread
 
chazkiker2 profile image
Chaz Kiker

retweet