Problems with deployment - autoprefixer

Having a nightmare trying to deploy at meek-bublanina-f5c33c as I keep getting this build error- tried all suggestions for similar issues but nothing is working for me

6:09:46 PM: 1. Build command from Netlify app
6:09:46 PM: ────────────────────────────────────────────────────────────────
6:09:46 PM: ​
6:09:46 PM: $ npm run build
6:09:46 PM: npm WARN config tmp This setting is no longer used. npm stores temporary files in a special
6:09:46 PM: npm WARN config location in the cache, and they are managed by
6:09:46 PM: npm WARN config cacache.
6:09:46 PM: > react-weather-app@0.1.0 build
6:09:46 PM: > react-scripts build
6:09:47 PM: Creating an optimized production build…
6:09:58 PM:
6:09:58 PM: Treating warnings as errors because process.env.CI = true.
6:09:58 PM: Most CI servers set it automatically.
6:09:58 PM:
6:09:58 PM: Failed to compile.
6:09:58 PM:
6:09:58 PM: Warning
6:09:58 PM: (2482:3) autoprefixer: Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.
6:09:58 PM: ​
6:09:58 PM: ────────────────────────────────────────────────────────────────
6:09:58 PM: “build.command” failed
6:09:58 PM: ────────────────────────────────────────────────────────────────
6:09:58 PM: ​
6:09:58 PM: Error message
6:09:58 PM: Command failed with exit code 1: npm run build (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
6:09:58 PM: ​
6:09:58 PM: Error location
6:09:58 PM: In Build command from Netlify app:
6:09:58 PM: npm run build
6:09:58 PM: ​
6:09:58 PM: Resolved config
6:09:58 PM: build:
6:09:58 PM: command: npm run build
6:09:58 PM: commandOrigin: ui
6:09:58 PM: publish: /opt/build/repo/build
6:09:58 PM: publishOrigin: ui
6:09:59 PM: Caching artifacts
6:09:59 PM: Started saving node modules
6:09:59 PM: Finished saving node modules
6:09:59 PM: Started saving build plugins
6:09:59 PM: Finished saving build plugins
6:09:59 PM: Started saving pip cache
6:09:59 PM: Finished saving pip cache
6:09:59 PM: Started saving emacs cask dependencies
6:09:59 PM: Finished saving emacs cask dependencies
6:09:59 PM: Started saving maven dependencies
6:09:59 PM: Finished saving maven dependencies
6:09:59 PM: Started saving boot dependencies
6:09:59 PM: Finished saving boot dependencies
6:09:59 PM: Started saving rust rustup cache
6:09:59 PM: Finished saving rust rustup cache
6:09:59 PM: Started saving go dependencies
6:09:59 PM: Finished saving go dependencies
6:10:01 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
6:10:02 PM: Creating deploy upload records
6:10:02 PM: Failing build: Failed to build site
6:10:02 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 2 (Search results for '"non-zero exit code: 2"' - Netlify Support Forums)
6:10:02 PM: Finished processing build request in 54.993564218s

Help!

Hiya, sorry you are having trouble with your build.

This Support Guide contains a ton of useful debugging tips that can likely help you solve your problem :slight_smile: Additionally, this Support Guide houses all of our resources for debugging build and deploy issues.

We also recommend trying to search the forums with the build error you encountered - it’s likely your question was already asked by someone else!

If you are still having problems, please provide as much information as you can on what you have already tried, what your build settings are, your package.json, etc. Thanks!