Build failing with autoprefixer error saying: Replace transition-property to transition, because Autoprefixer could not support any cases of transition-property and other transition-*

Site name: brilliant-swan-7f1a80
Here are the logs:
2:28:08 PM: Build ready to start
2:28:10 PM: build-image version: 72a309a113b53ef075815b129953617827965e48 (focal)
2:28:10 PM: build-image tag: v4.8.2
2:28:10 PM: buildbot version: 515e5c33287d8b909c004fcf2e460e8645e8c1c6
2:28:10 PM: Fetching cached dependencies
2:28:10 PM: Failed to fetch cache, continuing with build
2:28:10 PM: Starting to prepare the repo for build
2:28:10 PM: No cached dependencies found. Cloning fresh repo
2:28:10 PM: git clone GitHub - RacketyWater7/ealaka-multivendor-dashboard: This is a dashboard for the Ealaka brand to handle multiple vendors and the related store stuff.
2:28:11 PM: Preparing Git Reference refs/heads/main
2:28:11 PM: Parsing package.json dependencies
2:28:12 PM: Starting build script
2:28:12 PM: Installing dependencies
2:28:12 PM: Python version set to 2.7
2:28:13 PM: v16.15.1 is already installed.
2:28:13 PM: Now using node v16.15.1 (npm v8.11.0)
2:28:13 PM: Started restoring cached build plugins
2:28:13 PM: Finished restoring cached build plugins
2:28:13 PM: Attempting ruby version 2.7.2, read from environment
2:28:14 PM: Using ruby version 2.7.2
2:28:14 PM: Using PHP version 8.0
2:28:15 PM: No npm workspaces detected
2:28:15 PM: Started restoring cached node modules
2:28:15 PM: Finished restoring cached node modules
2:28:15 PM: Installing NPM modules using NPM version 8.11.0
2:28:15 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
2:28:15 PM: npm WARN config location in the cache, and they are managed by
2:28:15 PM: npm WARN config cacache.
2:28:15 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
2:28:15 PM: npm WARN config location in the cache, and they are managed by
2:28:15 PM: npm WARN config cacache.
2:28:24 PM: npm WARN deprecated source-map-url@0.4.1: See GitHub - lydell/source-map-url: [DEPRECATED] Tools for working with sourceMappingURL comments.
2:28:32 PM: npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
2:28:37 PM: npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
2:28:50 PM: added 1505 packages, and audited 1506 packages in 34s
2:28:50 PM: 171 packages are looking for funding
2:28:50 PM: run npm fund for details
2:28:50 PM: 11 vulnerabilities (1 moderate, 8 high, 2 critical)
2:28:50 PM: To address issues that do not require attention, run:
2:28:50 PM: npm audit fix
2:28:50 PM: To address all issues (including breaking changes), run:
2:28:50 PM: npm audit fix --force
2:28:50 PM: Run npm audit for details.
2:28:50 PM: NPM modules installed
2:28:50 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
2:28:50 PM: npm WARN config location in the cache, and they are managed by
2:28:50 PM: npm WARN config [cacache].
2:28:50 PM: Started restoring cached go cache
2:28:50 PM: Finished restoring cached go cache
2:28:50 PM: Installing Go version 1.17 (requested 1.17)
2:28:56 PM: unset GOOS;
2:28:56 PM: unset GOARCH;
2:28:56 PM: export GOROOT=‘/opt/buildhome/.gimme/versions/go1.17.linux.amd64’;
2:28:56 PM: export PATH=“/opt/buildhome/.gimme/versions/go1.17.linux.amd64/bin:${PATH}”;
2:28:56 PM: go version >&2;
2:28:56 PM: export GIMME_ENV=“/opt/buildhome/.gimme/env/go1.17.linux.amd64.env”
2:28:56 PM: go version go1.17 linux/amd64
2:28:56 PM: Installing missing commands
2:28:56 PM: Verify run directory
2:28:57 PM: ​
2:28:57 PM: ────────────────────────────────────────────────────────────────
2:28:57 PM: Netlify Build
2:28:57 PM: ────────────────────────────────────────────────────────────────
2:28:57 PM: ​
2:28:57 PM: ❯ Version
2:28:57 PM: @netlify/build 27.3.0
2:28:57 PM: ​
2:28:57 PM: ❯ Flags
2:28:57 PM: baseRelDir: true
2:28:57 PM: buildId: 62bebe28cf5ec339a66805c8
2:28:57 PM: deployId: 62bebe28cf5ec339a66805ca
2:28:57 PM: ​
2:28:57 PM: ❯ Current directory
2:28:57 PM: /opt/build/repo
2:28:57 PM: ​
2:28:57 PM: ❯ Config file
2:28:57 PM: No config file was defined: using default values.
2:28:57 PM: ​
2:28:57 PM: ❯ Context
2:28:57 PM: production
2:28:57 PM: ​
2:28:57 PM: ────────────────────────────────────────────────────────────────
2:28:57 PM: 1. Build command from Netlify app
2:28:57 PM: ────────────────────────────────────────────────────────────────
2:28:57 PM: ​
2:28:57 PM: $ npm run build
2:28:57 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
2:28:57 PM: npm WARN config location in the cache, and they are managed by
2:28:57 PM: npm WARN config [cacache].
2:28:57 PM: > project_ealaka_dashboard@0.1.0 build
2:28:57 PM: > react-scripts build
2:28:59 PM: Creating an optimized production build…
2:30:51 PM:
2:30:51 PM: Treating warnings as errors because process.env.CI = true.
2:30:51 PM: Most CI servers set it automatically.
2:30:51 PM:
2:30:51 PM: Failed to compile.
2:30:51 PM:
2:30:51 PM: Warning
2:30:51 PM: autoprefixer: Replace transition-property to transition, because Autoprefixer could not support any cases of transition-property and other transition-*
2:30:52 PM: ​
2:30:52 PM: ────────────────────────────────────────────────────────────────
2:30:52 PM: “build.command” failed
2:30:52 PM: ────────────────────────────────────────────────────────────────
2:30:52 PM: ​
2:30:52 PM: Error message
2:30:52 PM: Command failed with exit code 1: npm run build
2:30:52 PM: ​
2:30:52 PM: Error location
2:30:52 PM: In Build command from Netlify app:
2:30:52 PM: npm run build
2:30:52 PM: ​
2:30:52 PM: Resolved config
2:30:52 PM: build:
2:30:52 PM: command: npm run build
2:30:52 PM: commandOrigin: ui
2:30:52 PM: publish: /opt/build/repo/build
2:30:52 PM: publishOrigin: ui
2:30:52 PM: Caching artifacts
2:30:52 PM: Started saving node modules
2:30:52 PM: Finished saving node modules
2:30:52 PM: Started saving build plugins
2:30:52 PM: Finished saving build plugins
2:30:52 PM: Started saving pip cache
2:30:52 PM: Finished saving pip cache
2:30:52 PM: Started saving emacs cask dependencies
2:30:52 PM: Finished saving emacs cask dependencies
2:30:52 PM: Started saving maven dependencies
2:30:52 PM: Finished saving maven dependencies
2:30:52 PM: Started saving boot dependencies
2:30:52 PM: Finished saving boot dependencies
2:30:52 PM: Started saving rust rustup cache
2:30:52 PM: Finished saving rust rustup cache
2:30:52 PM: Started saving go dependencies
2:30:52 PM: Finished saving go dependencies
2:30:53 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
2:30:53 PM: Creating deploy upload records
2:30:54 PM: Failing build: Failed to build site
2:30:54 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 2
2:30:54 PM: Finished processing build request in 2m44.097749158s

Change your build command to CI= npm run build.