Deployment Issue with react App

Hello! :blush:

I’m having issues with building and deploying my React project, and I keep encountering these errors. Any assistance would be greatly appreciated.

Thank you so much

3:58:42 PM: Waiting for other deploys from your team to complete. Check the queue: https://app.netlify.com/teams/nada-235/builds
3:59:33 PM: build-image version: 7642deb181638b3835e1167f6d37cbbbfd478984 (focal)
3:59:33 PM: buildbot version: 6553b8c77ec3a732f0459126c608b1e119cbb0e0
3:59:33 PM: Fetching cached dependencies
3:59:33 PM: Failed to fetch cache, continuing with build
3:59:33 PM: Starting to prepare the repo for build
3:59:33 PM: No cached dependencies found. Cloning fresh repo
3:59:33 PM: git clone --filter=blob:none https://github.com/Nada-235/IraqWonders
3:59:34 PM: Preparing Git Reference refs/heads/master
3:59:36 PM: Starting to install dependencies
3:59:36 PM: Python version set to 3.8
3:59:36 PM: Attempting Ruby version 2.7.2, read from environment
3:59:37 PM: Using Ruby version 2.7.2
3:59:37 PM: Started restoring cached go cache
3:59:37 PM: Finished restoring cached go cache
3:59:37 PM: go version go1.19.13 linux/amd64
3:59:38 PM: Using PHP version 8.0
3:59:39 PM: v18.18.1 is already installed.
3:59:39 PM: Now using node v18.18.1 (npm v9.8.1)
3:59:39 PM: Enabling Node.js Corepack
3:59:39 PM: Started restoring cached build plugins
3:59:39 PM: Finished restoring cached build plugins
3:59:39 PM: Started restoring cached corepack dependencies
3:59:39 PM: Finished restoring cached corepack dependencies
3:59:39 PM: Started restoring cached yarn cache
3:59:39 PM: Finished restoring cached yarn cache
3:59:40 PM: No yarn workspaces detected
3:59:40 PM: Started restoring cached node modules
3:59:40 PM: Finished restoring cached node modules
3:59:40 PM: Installing npm packages using Yarn version 1.22.19
3:59:40 PM: yarn install v1.22.19
3:59:40 PM: [1/4] Resolving packages...
3:59:41 PM: [2/4] Fetching packages...
4:00:01 PM: [3/4] Linking dependencies...
4:00:01 PM: warning " > @material-ui/core@4.12.4" has incorrect peer dependency "react@^16.8.0 || ^17.0.0".
4:00:01 PM: warning " > @material-ui/core@4.12.4" has incorrect peer dependency "react-dom@^16.8.0 || ^17.0.0".
4:00:01 PM: warning "@material-ui/core > @material-ui/styles@4.11.5" has incorrect peer dependency "react@^16.8.0 || ^17.0.0".
4:00:01 PM: warning "@material-ui/core > @material-ui/styles@4.11.5" has incorrect peer dependency "react-dom@^16.8.0 || ^17.0.0".
4:00:01 PM: warning "@material-ui/core > @material-ui/system@4.12.2" has incorrect peer dependency "react@^16.8.0 || ^17.0.0".
4:00:01 PM: warning "@material-ui/core > @material-ui/system@4.12.2" has incorrect peer dependency "react-dom@^16.8.0 || ^17.0.0".
4:00:01 PM: warning "@material-ui/core > @material-ui/utils@4.11.3" has incorrect peer dependency "react@^16.8.0 || ^17.0.0".
4:00:01 PM: warning "@material-ui/core > @material-ui/utils@4.11.3" has incorrect peer dependency "react-dom@^16.8.0 || ^17.0.0".
4:00:01 PM: warning " > @mui/styled-engine-sc@5.14.12" has incorrect peer dependency "styled-components@^5.3.1".
4:00:01 PM: warning " > @mui/x-date-pickers@6.16.0" has unmet peer dependency "@mui/system@^5.8.0".
4:00:01 PM: warning " > @testing-library/user-event@13.5.0" has unmet peer dependency "@testing-library/dom@>=7.21.4".
4:00:01 PM: warning "react-scripts > eslint-config-react-app > eslint-plugin-flowtype@8.0.3" has unmet peer dependency "@babel/plugin-syntax-flow@^7.14.5".
4:00:01 PM: warning "react-scripts > eslint-config-react-app > eslint-plugin-flowtype@8.0.3" has unmet peer dependency "@babel/plugin-transform-react-jsx@^7.14.9".
4:00:01 PM: warning "react-scripts > react-dev-utils > fork-ts-checker-webpack-plugin@6.5.3" has unmet peer dependency "typescript@>= 2.7".
4:00:01 PM: warning "@babel/plugin-proposal-private-property-in-object > @babel/plugin-syntax-private-property-in-object@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
4:00:01 PM: warning "@babel/plugin-proposal-private-property-in-object > @babel/helper-create-class-features-plugin@7.22.15" has unmet peer dependency "@babel/core@^7.0.0".
4:00:01 PM: warning "react-scripts > eslint-config-react-app > @typescript-eslint/eslint-plugin > tsutils@3.21.0" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
4:00:01 PM: warning " > @babel/plugin-proposal-private-property-in-object@7.21.11" has unmet peer dependency "@babel/core@^7.0.0-0".

Hey @Nada-235, welcome!

Those aren’t errors, but warnings. Is there any more logging?

Gr,

Andy

I know They are Warnings but that’s all what I got :frowning:
I will try to share more details
Thank you so much

4:23:49 PM: β€œbuild.command” failed
4:23:49 PM: ────────────────────────────────────────────────────────────────
4:23:49 PM: ​
4:23:49 PM: Error message
4:23:49 PM: Command failed with exit code 1: yarn run build (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
4:23:49 PM: ​
4:23:49 PM: Error location
4:23:49 PM: In Build command from Netlify app:
4:23:49 PM: yarn run build
4:23:49 PM: ​
4:23:49 PM: Resolved config
4:23:49 PM: build:
4:23:49 PM: command: yarn run build
4:23:49 PM: commandOrigin: ui
4:23:49 PM: publish: /opt/build/repo/build
4:23:49 PM: publishOrigin: ui
4:23:55 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
4:23:55 PM: Failing build: Failed to build site
4:23:55 PM: Finished processing build request in 1m20.899s

hi do you think you can share your site name/id?