Treating warnings as errors because process.env.CI = true. 5:54:20 PM: Most CI servers set it automatically. code example
Example: Treating warnings as errors because process.env.CI = true.
CI= npm run build
or
CI=false npm run build
use this commands