Failed during building site Build script returned non-zero exit code 1 react-select issu

8:41:07 AM: Netlify Build
8:41:07 AM: ────────────────────────────────────────────────────────────────
8:41:07 AM: ​
8:41:07 AM: ❯ Version
8:41:07 AM: netlify/build 29.26.2
8:41:07 AM: ​
8:41:07 AM: ❯ Flags
8:41:07 AM: baseRelDir: true
8:41:07 AM: buildId: 654c4db4d9a9611fd66ff11c
8:41:07 AM: deployId: 654c4db4d9a9611fd66ff11e
8:41:07 AM: ​
8:41:07 AM: ❯ Current directory
8:41:07 AM: /opt/build/repo
8:41:07 AM: ​
8:41:07 AM: ❯ Config file
8:41:07 AM: No config file was defined: using default values.
8:41:07 AM: ​
8:41:07 AM: ❯ Context
8:41:07 AM: production
8:41:07 AM: ​
8:41:07 AM: Build command from Netlify app
8:41:07 AM: ────────────────────────────────────────────────────────────────
8:41:07 AM: ​
8:41:07 AM: $ npm run build
8:41:07 AM: > clime@0.1.0 build
8:41:07 AM: > react-scripts build
8:41:08 AM: Creating an optimized production build…
8:41:11 AM: Failed to compile.
8:41:11 AM:
8:41:11 AM: Module not found: Error: Can"t resolve “react-select” in “/opt/build/repo/node_modules/react-select-async-paginate/dist/esm”
8:41:11 AM: ​
8:41:11 AM: “build.command” failed
8:41:11 AM: ────────────────────────────────────────────────────────────────
8:41:11 AM: ​
8:41:11 AM: Error message
8:41:11 AM: Command failed with exit code 1: npm run build (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
8:41:11 AM: ​
8:41:11 AM: Error location
8:41:11 AM: In Build command from Netlify app:
8:41:11 AM: npm run build
8:41:11 AM: ​
8:41:11 AM: Resolved config
8:41:11 AM: build:
8:41:11 AM: command: npm run build
8:41:11 AM: commandOrigin: ui
8:41:11 AM: environment:
8:41:11 AM: - CI
8:41:11 AM: - NPM_FLAGS
8:41:11 AM: - REACT_APP_GEO_API_HOST
8:41:11 AM: - REACT_APP_GEO_API_KEY
8:41:11 AM: - REACT_APP_GEO_API_URL
8:41:11 AM: - REACT_APP_WEATHER_API_KEY
8:41:11 AM: - REACT_APP_WEATHER_API_URL
8:41:11 AM: publish: /opt/build/repo/build
8:41:11 AM: publishOrigin: ui
8:41:11 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
8:41:11 AM: Failing build: Failed to build site
8:41:12 AM: Finished processing build request in 26.701s
8:41:11 AM: Failed during stage “building site”: Build script returned non-zero exit code: 2

package.json -
{
“name”: “clime”,
“version”: “0.1.0”,
“private”: true,
“dependencies”: {
“emotion/react”: “^11.11.1”,
“emotion/styled”: “^11.11.0”,
“mui/icons-material”: “^5.14.16”,
“mui/material”: “^5.14.16”,
“mui/styles”: “^5.14.16”,
“testing-library/jest-dom”: “^5.17.0”,
“testing-library/react”: “^13.4.0”,
“testing-library/user-event”: “^13.5.0”,
“react”: “^18.2.0”,
“react-accessible-accordion”: “^5.0.0”,
“react-dom”: “^18.2.0”,
“react-scripts”: “5.0.1”,
“react-select-async-paginate”: “^0.7.3”,
“web-vitals”: “^2.1.4”
},
“scripts”: {
“start”: “react-scripts start”,
“build”: “react-scripts build”,
“test”: “react-scripts test”,
“eject”: “react-scripts eject”
},
“eslintConfig”: {
“extends”: [
“react-app”,
“react-app/jest”
]
},
“browserslist”: {
“production”: [
“>0.2%”,
“not dead”,
“not op_mini all”
],
“development”: [
“last 1 chrome version”,
“last 1 firefox version”,
“last 1 safari version”
]
}
}

Looks like an issue with your code, not Netlify. Please fix that.