I am using Azure static Web Apps to host my React website.
And I keep facing the error below.
yarn run v1.22.10
$ react-scripts build
Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Treating warnings as errors because process.env.CI = true.
Most CI servers set it automatically.
Failed to compile.
I have tried npx browserslist@latest --update-db
for several times but it keep send run failed message to me.