Deploy details
Your deploy failed due to an errorDeploy log
Initializing
Complete
Initializing
Complete
3:49:25 AM: Build ready to start
3:49:42 AM: build-image version: 59029cc38debec12b365d8cde2431251b878d6bf (focal)
3:49:42 AM: buildbot version: bb1ad402dcdb036fd1e0d06fdfff977602f794a0
3:49:42 AM: Fetching cached dependencies
3:49:42 AM: Starting to download cache of 1.8GB
3:49:47 AM: Finished downloading cache in 4.07s
3:49:47 AM: Starting to extract cache
3:50:08 AM: Finished extracting cache in 21.972s
3:50:09 AM: Finished fetching cache in 26.147s
3:50:09 AM: Starting to prepare the repo for build
3:50:09 AM: Preparing Git Reference pull/3288/head
3:50:11 AM: Starting to install dependencies
3:50:11 AM: Started restoring cached mise cache
3:50:12 AM: Finished restoring cached mise cache
3:50:13 AM: mise python@3.13.2 install
3:50:13 AM: mise python@3.13.2 download cpython-3.13.2+20250317-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
3:50:14 AM: mise python@3.13.2 extract cpython-3.13.2+20250317-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
3:50:14 AM: mise python@3.13.2 python --version
3:50:14 AM: mise python@3.13.2 Python 3.13.2
3:50:14 AM: mise python@3.13.2 ✓ installed
3:50:14 AM: Python version set to 3.13
3:50:17 AM: Collecting pipenv
3:50:17 AM: Downloading pipenv-2024.4.1-py3-none-any.whl.metadata (17 kB)
3:50:17 AM: Collecting certifi (from pipenv)
3:50:17 AM: Downloading certifi-2025.1.31-py3-none-any.whl.metadata (2.5 kB)
3:50:17 AM: Collecting packaging>=22 (from pipenv)
3:50:17 AM: Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
3:50:17 AM: Collecting setuptools>=67 (from pipenv)
3:50:17 AM: Downloading setuptools-76.1.0-py3-none-any.whl.metadata (6.7 kB)
3:50:18 AM: Collecting virtualenv>=20.24.2 (from pipenv)
3:50:18 AM: Downloading virtualenv-20.29.3-py3-none-any.whl.metadata (4.5 kB)
3:50:18 AM: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
3:50:18 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
3:50:18 AM: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
3:50:18 AM: Downloading filelock-3.18.0-py3-none-any.whl.metadata (2.9 kB)
3:50:18 AM: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
3:50:18 AM: Downloading platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB)
3:50:18 AM: Downloading pipenv-2024.4.1-py3-none-any.whl (3.0 MB)
3:50:18 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 52.5 MB/s eta 0:00:00
3:50:18 AM: Downloading packaging-24.2-py3-none-any.whl (65 kB)
3:50:18 AM: Downloading setuptools-76.1.0-py3-none-any.whl (1.2 MB)
3:50:18 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 46.3 MB/s eta 0:00:00
3:50:18 AM: Downloading virtualenv-20.29.3-py3-none-any.whl (4.3 MB)
3:50:18 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 91.8 MB/s eta 0:00:00
3:50:18 AM: Downloading certifi-2025.1.31-py3-none-any.whl (166 kB)
3:50:18 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
3:50:18 AM: Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
3:50:18 AM: Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB)
3:50:18 AM: Installing collected packages: distlib, setuptools, platformdirs, packaging, filelock, certifi, virtualenv, pipenv
3:50:23 AM: Successfully installed certifi-2025.1.31 distlib-0.3.9 filelock-3.18.0 packaging-24.2 pipenv-2024.4.1 platformdirs-4.3.6 setuptools-76.1.0 virtualenv-20.29.3
3:50:24 AM: [notice] A new release of pip is available: 24.3.1 -> 25.0.1
3:50:24 AM: [notice] To update, run: pip install --upgrade pip
3:50:24 AM: Attempting Ruby version 2.7.2, read from environment
3:50:25 AM: Using Ruby version 2.7.2
3:50:25 AM: Started restoring cached go cache
3:50:25 AM: Finished restoring cached go cache
3:50:27 AM: go version go1.19.13 linux/amd64
3:50:28 AM: Using PHP version 8.0
3:50:30 AM: Started restoring cached Node.js version
3:50:33 AM: Finished restoring cached Node.js version
3:50:33 AM: Attempting Node.js version 'lts/fermium' from .nvmrc
3:50:33 AM: v14.21.3 is already installed.
3:50:33 AM: Now using node v14.21.3 (npm v6.14.18)
3:50:33 AM: Enabling Node.js Corepack
3:50:33 AM: Started restoring cached build plugins
3:50:33 AM: Finished restoring cached build plugins
3:50:33 AM: Started restoring cached corepack dependencies
3:50:33 AM: Finished restoring cached corepack dependencies
3:50:34 AM: No npm workspaces detected
3:50:34 AM: Started restoring cached node modules
3:50:34 AM: Finished restoring cached node modules
3:50:34 AM: Installing npm packages using npm version 6.14.18
3:50:43 AM: > hgnreactapp@0.1.0 postinstall /opt/build/repo
3:50:43 AM: > node ./postinstall.js
3:50:43 AM: > hgnreactapp@0.1.0 prepare /opt/build/repo
3:50:43 AM: > husky install
3:50:44 AM: husky - Git hooks installed
3:50:45 AM: npm WARN @react-leaflet/core@2.1.0 requires a peer of react@^18.0.0 but none is installed. You must install peer dependencies yourself.
3:50:45 AM: npm WARN @react-leaflet/core@2.1.0 requires a peer of react-dom@^18.0.0 but none is installed. You must install peer dependencies yourself.
3:50:45 AM: npm WARN bootstrap@4.6.2 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.
3:50:45 AM: npm WARN react-leaflet@4.2.1 requires a peer of react@^18.0.0 but none is installed. You must install peer dependencies yourself.
3:50:45 AM: npm WARN react-leaflet@4.2.1 requires a peer of react-dom@^18.0.0 but none is installed. You must install peer dependencies yourself.
3:50:45 AM: npm WARN react-leaflet-cluster@2.1.0 requires a peer of react@^18.0.0 but none is installed. You must install peer dependencies yourself.
3:50:45 AM: npm WARN react-leaflet-cluster@2.1.0 requires a peer of react-dom@^18.0.0 but none is installed. You must install peer dependencies yourself.
3:50:45 AM: npm WARN tsutils@3.21.0 requires a peer of 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 but none is installed. You must install peer dependencies yourself.
3:50:45 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
3:50:45 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
3:50:45 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
3:50:45 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
3:50:45 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
3:50:45 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
3:50:45 AM: audited 4044 packages in 10.463s
3:50:46 AM: 329 packages are looking for funding
3:50:46 AM: run `npm fund` for details
3:50:46 AM: found 153 vulnerabilities (5 low, 64 moderate, 78 high, 6 critical)
3:50:46 AM: run `npm audit fix` to fix them, or `npm audit` for details
3:50:46 AM: npm packages installed
3:50:46 AM: Successfully installed dependencies
3:50:46 AM: Starting build script
3:50:48 AM: Detected 1 framework(s)
3:50:48 AM: "create-react-app" at version "4.0.3"
3:50:48 AM: Section completed: initializing
Building
Failed
Building
Failed
3:50:49 AM: Netlify Build
3:50:49 AM: ────────────────────────────────────────────────────────────────
3:50:49 AM:
3:50:49 AM: ❯ Version
3:50:49 AM: @netlify/build 29.59.2
3:50:49 AM:
3:50:49 AM: ❯ Flags
3:50:49 AM: accountId: 66d2abe975f6ceb7e35b827a
3:50:49 AM: baseRelDir: true
3:50:49 AM: buildId: 67da3ec5b1638000089b9d43
3:50:49 AM: deployId: 67da3ec5b1638000089b9d45
3:50:49 AM:
3:50:49 AM: ❯ Current directory
3:50:49 AM: /opt/build/repo
3:50:49 AM:
3:50:49 AM: ❯ Config file
3:50:49 AM: No config file was defined: using default values.
3:50:49 AM:
3:50:49 AM: ❯ Context
3:50:49 AM: deploy-preview
3:50:49 AM:
3:50:49 AM: Build command from Netlify app
3:50:49 AM: ────────────────────────────────────────────────────────────────
3:50:49 AM:
3:50:49 AM: $ npm run build
3:50:49 AM: > hgnreactapp@0.1.0 build /opt/build/repo
3:50:49 AM: > npm run postinstall && react-scripts build
3:50:50 AM: > hgnreactapp@0.1.0 postinstall /opt/build/repo
3:50:50 AM: > node ./postinstall.js
3:50:54 AM: Creating an optimized production build...
3:50:54 AM: Browserslist: caniuse-lite is outdated. Please run:
3:50:54 AM: npx update-browserslist-db@latest
3:50:54 AM: Why you should do it regularly: https://github.com/browserslist/update-db#readme
3:52:23 AM: Failed to compile.
3:52:23 AM:
3:52:23 AM: src/components/Warnings/modals/WarningTrackerModal.jsx
3:52:23 AM: Line 144:9: Unnecessary return statement no-useless-return
3:52:23 AM: Search for the keywords to learn more about each error.
3:52:24 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
3:52:24 AM: npm ERR! code ELIFECYCLE
3:52:24 AM: npm ERR! errno 1
3:52:24 AM: npm ERR! hgnreactapp@0.1.0 build: `npm run postinstall && react-scripts build`
3:52:24 AM: npm ERR! Exit status 1
3:52:24 AM: npm ERR!
3:52:24 AM: npm ERR! Failed at the hgnreactapp@0.1.0 build script.
3:52:24 AM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
3:52:24 AM: npm ERR! A complete log of this run can be found in:
3:52:24 AM: npm ERR! /opt/buildhome/.npm/_logs/2025-03-19T03_52_24_036Z-debug.log
3:52:24 AM:
3:52:24 AM: "build.command" failed
3:52:24 AM: ────────────────────────────────────────────────────────────────
3:52:24 AM:
3:52:24 AM: Error message
3:52:24 AM: Command failed with exit code 1: npm run build (https://ntl.fyi/exit-code-1)
3:52:24 AM:
3:52:24 AM: Error location
3:52:24 AM: In Build command from Netlify app:
3:52:24 AM: npm run build
3:52:24 AM:
3:52:24 AM: Resolved config
3:52:24 AM: build:
3:52:24 AM: command: npm run build
3:52:24 AM: commandOrigin: ui
3:52:24 AM: environment:
3:52:24 AM: - REACT_APP_APIENDPOINT
3:52:24 AM: - REACT_APP_DEF_PWD
3:52:24 AM: - REVIEW_ID
3:52:24 AM: publish: /opt/build/repo/build
3:52:24 AM: publishOrigin: ui
3:52:24 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
3:52:24 AM: Failing build: Failed to build site
3:52:24 AM: Finished processing build request in 2m42.032s
Deploying
Skipped
Deploying
Skipped
There is no log for this section
Cleanup
Skipped
Cleanup
Skipped
There is no log for this section
Post-processing
Skipped
Post-processing
Skipped
There is no log for this section