Why does my Netlify build fail on warnings but pass locally?
Summary As of October 2026, Netlify's troubleshooting guide says Netlify builds run with CI=true and some tools then treat warnings as errors. Fix the warnings, or prefix the build command with CI='' (an empty value); Netlify warns against CI=false because many tools read any non-empty string as true.