Have problems with deploying
Can someone help me?
8:04:28 PM: build-image version: d7b3813f01c06610bc1723ff1b22446513ee7941 (focal)
8:04:28 PM: build-image tag: v4.14.3
8:04:28 PM: buildbot version: be0925a1b4e8f8d2c5a767f3e0decf8856cad273
8:04:28 PM: Fetching cached dependencies
8:04:28 PM: Failed to fetch cache, continuing with build
8:04:28 PM: Starting to prepare the repo for build
8:04:28 PM: No cached dependencies found. Cloning fresh repo
8:04:28 PM: git clone https://github.com/DEZester/getwin-test-task
8:04:29 PM: Preparing Git Reference refs/heads/master
8:04:29 PM: Parsing package.json dependencies
8:04:30 PM: Starting build script
8:04:30 PM: Installing dependencies
8:04:30 PM: Python version set to 2.7
8:04:30 PM: Downloading and installing node v16.18.1...
8:04:31 PM: Downloading https://nodejs.org/dist/v16.18.1/node-v16.18.1-linux-x64.tar.xz...
8:04:31 PM: Computing checksum with sha256sum
8:04:31 PM: Checksums matched!
8:04:33 PM: Now using node v16.18.1 (npm v8.19.2)
8:04:33 PM: Enabling node corepack
8:04:33 PM: Started restoring cached build plugins
8:04:33 PM: Finished restoring cached build plugins
8:04:33 PM: Attempting ruby version 2.7.2, read from environment
8:04:34 PM: Using ruby version 2.7.2
8:04:34 PM: Using PHP version 8.0
8:04:34 PM: No npm workspaces detected
8:04:34 PM: Started restoring cached node modules
8:04:34 PM: Finished restoring cached node modules
8:04:34 PM: Installing NPM modules using NPM version 8.19.2
8:04:39 PM: npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
8:04:41 PM: npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
8:04:41 PM: npm WARN deprecated @types/redux-thunk@2.1.0: This is a stub types definition for Redux Thunk (https://github.com/gaearon/redux-thunk). Redux Thunk provides its own type definitions, so you don't need @types/redux-thunk installed!
8:04:41 PM: npm WARN deprecated @types/redux@3.6.0: This is a stub types definition for Redux (https://github.com/reactjs/redux). Redux provides its own type definitions, so you don't need @types/redux installed!
8:04:41 PM: npm WARN deprecated @types/axios@0.14.0: This is a stub types definition for axios (https://github.com/mzabriskie/axios). axios provides its own type definitions, so you don't need @types/axios installed!
8:04:47 PM: added 1465 packages, and audited 1466 packages in 12s
8:04:47 PM: 225 packages are looking for funding
8:04:47 PM: run `npm fund` for details
8:04:47 PM: 6 high severity vulnerabilities
8:04:47 PM: To address all issues (including breaking changes), run:
8:04:47 PM: npm audit fix --force
8:04:47 PM: Run `npm audit` for details.
8:04:47 PM: NPM modules installed
8:04:47 PM: Creating package sha
8:04:47 PM: Started restoring cached go cache
8:04:47 PM: Finished restoring cached go cache
8:04:47 PM: Installing Go version 1.17 (requested 1.17)
8:04:51 PM: unset GOOS;
8:04:51 PM: unset GOARCH;
8:04:51 PM: export GOROOT='/opt/buildhome/.gimme/versions/go1.17.linux.amd64';
8:04:51 PM: export PATH="/opt/buildhome/.gimme/versions/go1.17.linux.amd64/bin:${PATH}";
8:04:51 PM: go version >&2;
8:04:51 PM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.17.linux.amd64.env"
8:04:51 PM: go version go1.17 linux/amd64
8:04:52 PM: Detected 1 framework(s)
8:04:52 PM: "create-react-app" at version "5.0.1"
8:04:52 PM: Installing missing commands
8:04:52 PM: Verify run directory
8:04:53 PM:
8:04:53 PM: ────────────────────────────────────────────────────────────────
8:04:53 PM: Netlify Build
8:04:53 PM: ────────────────────────────────────────────────────────────────
8:04:53 PM:
8:04:53 PM: ❯ Version
8:04:53 PM: @netlify/build 28.1.13
8:04:53 PM:
8:04:53 PM: ❯ Flags
8:04:53 PM: baseRelDir: true
8:04:53 PM: buildId: 636e8e98524c8f1bcee08a27
8:04:53 PM: deployId: 636e8e98524c8f1bcee08a29
8:04:53 PM:
8:04:53 PM: ❯ Current directory
8:04:53 PM: /opt/build/repo
8:04:53 PM:
8:04:53 PM: ❯ Config file
8:04:53 PM: No config file was defined: using default values.
8:04:53 PM:
8:04:53 PM: ❯ Context
8:04:53 PM: production
8:04:53 PM:
8:04:53 PM: ────────────────────────────────────────────────────────────────
8:04:53 PM: 1. Build command from Netlify app
8:04:53 PM: ────────────────────────────────────────────────────────────────
8:04:53 PM:
8:04:53 PM: $ npm run build
8:04:53 PM: > getwin-pokemon@0.1.0 build
8:04:53 PM: > react-scripts build
8:04:54 PM: Creating an optimized production build...
8:04:57 PM: Failed to compile.
8:04:57 PM:
8:04:57 PM: Module not found: Error: Can't resolve './Header/Header' in '/opt/build/repo/src/components'
8:04:57 PM:
8:04:57 PM: ────────────────────────────────────────────────────────────────
8:04:57 PM: "build.command" failed
8:04:57 PM: ────────────────────────────────────────────────────────────────
8:04:57 PM:
8:04:57 PM: Error message
8:04:57 PM: Command failed with exit code 1: npm run build
8:04:57 PM:
8:04:57 PM: Error location
8:04:57 PM: In Build command from Netlify app:
8:04:57 PM: npm run build
8:04:57 PM:
8:04:57 PM: Resolved config
8:04:57 PM: build:
8:04:57 PM: command: npm run build
8:04:57 PM: commandOrigin: ui
8:04:57 PM: publish: /opt/build/repo
8:04:57 PM: publishOrigin: default
8:04:57 PM: Caching artifacts
8:04:57 PM: Started saving node modules
8:04:57 PM: Finished saving node modules
8:04:57 PM: Started saving build plugins
8:04:57 PM: Finished saving build plugins
8:04:57 PM: Started saving pip cache
8:04:57 PM: Finished saving pip cache
8:04:57 PM: Started saving emacs cask dependencies
8:04:57 PM: Finished saving emacs cask dependencies
8:04:57 PM: Started saving maven dependencies
8:04:57 PM: Finished saving maven dependencies
8:04:57 PM: Started saving boot dependencies
8:04:57 PM: Finished saving boot dependencies
8:04:57 PM: Started saving rust rustup cache
8:04:57 PM: Finished saving rust rustup cache
8:04:57 PM: Started saving go dependencies
8:04:57 PM: Finished saving go dependencies
8:04:59 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
8:04:59 PM: Creating deploy upload records
8:04:59 PM: Failing build: Failed to build site
8:04:59 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2
8:04:59 PM: Finished processing build request in 31.166015512s```