Skip to main content

Deploy details

Your deploy failed due to an error

Deploy failed for dev-bcn

unifying the logic for fetching and setting the document title across the application

PR #670: test/unify-fetch-speaker-logic@c91b6fc

Deploy log

Initializing

Complete
11:53:24 AM: Waiting for other deploys from your team to complete. Check the queue: https://app.netlify.com/teams/nacho-c-bvpt4/builds
11:54:52 AM: Build ready to start
11:55:04 AM: build-image version: 59029cc38debec12b365d8cde2431251b878d6bf (focal)
11:55:04 AM: buildbot version: 911e38b4db82bf5cd08627b366a88d99622b3aab
11:55:04 AM: Fetching cached dependencies
11:55:04 AM: Starting to download cache of 346.7MB
11:55:05 AM: Finished downloading cache in 1.5s
11:55:05 AM: Starting to extract cache
11:55:09 AM: Finished extracting cache in 4.107s
11:55:09 AM: Finished fetching cache in 5.665s
11:55:10 AM: Starting to prepare the repo for build
11:55:10 AM: Preparing Git Reference pull/670/head
11:55:12 AM: Starting to install dependencies
11:55:12 AM: Started restoring cached mise cache
11:55:12 AM: Finished restoring cached mise cache
11:55:13 AM: mise python@3.13.2 install
11:55:13 AM: mise python@3.13.2 download cpython-3.13.2+20250317-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
11:55:13 AM: mise python@3.13.2 extract cpython-3.13.2+20250317-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
11:55:13 AM: mise python@3.13.2 python --version
11:55:13 AM: mise python@3.13.2 Python 3.13.2
11:55:13 AM: mise python@3.13.2 installed
11:55:13 AM: Python version set to 3.13
11:55:15 AM: Collecting pipenv
11:55:15 AM: Downloading pipenv-2024.4.1-py3-none-any.whl.metadata (17 kB)
11:55:15 AM: Collecting certifi (from pipenv)
11:55:15 AM: Downloading certifi-2025.1.31-py3-none-any.whl.metadata (2.5 kB)
11:55:15 AM: Collecting packaging>=22 (from pipenv)
11:55:15 AM: Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
11:55:15 AM: Collecting setuptools>=67 (from pipenv)
11:55:15 AM: Downloading setuptools-78.1.0-py3-none-any.whl.metadata (6.6 kB)
11:55:15 AM: Collecting virtualenv>=20.24.2 (from pipenv)
11:55:15 AM: Downloading virtualenv-20.29.3-py3-none-any.whl.metadata (4.5 kB)
11:55:15 AM: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
11:55:15 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
11:55:15 AM: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
11:55:15 AM: Downloading filelock-3.18.0-py3-none-any.whl.metadata (2.9 kB)
11:55:15 AM: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
11:55:15 AM: Downloading platformdirs-4.3.7-py3-none-any.whl.metadata (11 kB)
11:55:15 AM: Downloading pipenv-2024.4.1-py3-none-any.whl (3.0 MB)
11:55:15 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 67.3 MB/s eta 0:00:00
11:55:15 AM: Downloading packaging-24.2-py3-none-any.whl (65 kB)
11:55:15 AM: Downloading setuptools-78.1.0-py3-none-any.whl (1.3 MB)
11:55:15 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 104.1 MB/s eta 0:00:00
11:55:15 AM: Downloading virtualenv-20.29.3-py3-none-any.whl (4.3 MB)
11:55:15 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 142.7 MB/s eta 0:00:00
11:55:15 AM: Downloading certifi-2025.1.31-py3-none-any.whl (166 kB)
11:55:16 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
11:55:16 AM: Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
11:55:16 AM: Downloading platformdirs-4.3.7-py3-none-any.whl (18 kB)
11:55:16 AM: Installing collected packages: distlib, setuptools, platformdirs, packaging, filelock, certifi, virtualenv, pipenv
11:55:18 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.7 setuptools-78.1.0 virtualenv-20.29.3
11:55:18 AM: [notice] A new release of pip is available: 24.3.1 -> 25.0.1
11:55:18 AM: [notice] To update, run: pip install --upgrade pip
11:55:18 AM: Attempting Ruby version 2.7.2, read from environment
11:55:19 AM: Using Ruby version 2.7.2
11:55:20 AM: Started restoring cached go cache
11:55:20 AM: Finished restoring cached go cache
11:55:21 AM: go version go1.19.13 linux/amd64
11:55:22 AM: Using PHP version 8.0
11:55:24 AM: Started restoring cached Node.js version
11:55:26 AM: Finished restoring cached Node.js version
11:55:26 AM: v16.20.2 is already installed.
11:55:26 AM: Now using node v16.20.2 (npm v8.19.4)
11:55:26 AM: Enabling Node.js Corepack
11:55:26 AM: Started restoring cached build plugins
11:55:26 AM: Finished restoring cached build plugins
11:55:26 AM: Started restoring cached corepack dependencies
11:55:26 AM: Finished restoring cached corepack dependencies
11:55:26 AM: No npm workspaces detected
11:55:26 AM: Started restoring cached node modules
11:55:26 AM: Finished restoring cached node modules
11:55:27 AM: Installing npm packages using npm version 8.19.4
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: '@faker-js/faker@9.6.0',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=18.0.0', npm: '>=9.0.0' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: '@sentry-internal/browser-utils@9.5.0',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=18' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: '@sentry-internal/feedback@9.5.0',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=18' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: '@sentry-internal/replay@9.5.0',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=18' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: '@sentry-internal/replay-canvas@9.5.0',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=18' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: '@sentry/browser@9.5.0',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=18' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: '@sentry/core@9.5.0',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=18' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: '@sentry/react@9.5.0',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=18' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: '@testing-library/dom@10.4.0',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=18' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: '@testing-library/react@16.2.0',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=18' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: 'add-to-calendar-button@2.8.1',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=18.17.0', npm: '>=9.6.7' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: 'add-to-calendar-button-react@2.8.1',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=18.17.0', npm: '>=9.6.7' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: 'commander@13.0.0',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=18' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: 'react-router@7.3.0',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=20.0.0' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: 'react-router-dom@7.3.0',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=20.0.0' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: 'cookie@1.0.2',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=18' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:28 AM: npm WARN EBADENGINE Unsupported engine {
11:55:28 AM: npm WARN EBADENGINE package: 'timezones-ical-library@1.9.1',
11:55:28 AM: npm WARN EBADENGINE required: { node: '>=18.17.0', npm: '>=9.6.7' },
11:55:28 AM: npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
11:55:28 AM: npm WARN EBADENGINE }
11:55:32 AM: npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
11:55:32 AM: npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
11:55:32 AM: npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
11:55:32 AM: npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
11:55:32 AM: npm WARN deprecated move-concurrently@1.0.1: This package is no longer supported.
11:55:32 AM: npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
11:55:32 AM: npm WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
11:55:32 AM: npm WARN deprecated lodash.template@4.5.0: This package is deprecated. Use https://socket.dev/npm/package/eta instead.
11:55:33 AM: npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
11:55:33 AM: npm WARN deprecated har-validator@5.1.5: this library is no longer supported
11:55:33 AM: npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.
11:55:33 AM: npm WARN deprecated fs-write-stream-atomic@1.0.10: This package is no longer supported.
11:55:33 AM: npm WARN deprecated figgy-pudding@3.5.2: This module is no longer supported.
11:55:33 AM: npm WARN deprecated copy-concurrently@1.0.5: This package is no longer supported.
11:55:33 AM: npm WARN deprecated babel-eslint@10.0.1: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
11:55:33 AM: npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
11:55:33 AM: npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
11:55:33 AM: npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
11:55:33 AM: npm WARN deprecated workbox-google-analytics@4.3.1: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained
11:55:34 AM: npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
11:55:34 AM: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
11:55:34 AM: npm WARN deprecated q@1.5.1: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
11:55:34 AM: npm WARN deprecated
11:55:34 AM: npm WARN deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
11:55:34 AM: npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'
11:55:34 AM: npm WARN deprecated html-webpack-plugin@4.0.0-beta.5: please switch to a stable version
11:55:35 AM: npm WARN deprecated domexception@1.0.1: Use your platform's native DOMException instead
npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm WARN deprecated @babel/plugin-proposal-unicode-property-regex@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead.
11:55:35 AM: npm WARN deprecated @babel/plugin-proposal-optional-chaining@7.9.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
11:55:35 AM: npm WARN deprecated @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
11:55:35 AM: npm WARN deprecated @babel/plugin-proposal-numeric-separator@7.8.3: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
11:55:35 AM: npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
11:55:35 AM: npm WARN deprecated @babel/plugin-proposal-nullish-coalescing-operator@7.8.3: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
11:55:35 AM: npm WARN deprecated @babel/plugin-proposal-json-strings@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead.
11:55:35 AM: npm WARN deprecated @babel/plugin-proposal-dynamic-import@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-dynamic-import instead.
11:55:35 AM: npm WARN deprecated @babel/plugin-proposal-class-properties@7.8.3: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
11:55:35 AM: npm WARN deprecated @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
11:55:35 AM: npm WARN deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
11:55:36 AM: npm WARN deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
11:55:36 AM: npm WARN deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
11:55:36 AM: npm WARN deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
11:55:36 AM: npm WARN deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
11:55:36 AM: npm WARN deprecated acorn-dynamic-import@4.0.0: This is probably built in to whatever tool you're using. If you still need it... idk
npm WARN deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
11:55:36 AM: npm WARN deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported
11:55:36 AM: npm WARN deprecated eslint-loader@2.1.2: This loader has been deprecated. Please use eslint-webpack-plugin
11:55:37 AM: npm WARN deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
11:55:39 AM: npm WARN deprecated eslint@5.16.0: This version is no longer supported. Please see https://eslint.org/version-support for other options.
11:55:39 AM: npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
11:55:58 AM: added 1279 packages, removed 465 packages, changed 519 packages, and audited 2401 packages in 31s
11:55:58 AM: 170 packages are looking for funding
11:55:58 AM: run `npm fund` for details
11:55:58 AM: 165 vulnerabilities (123 moderate, 39 high, 3 critical)
11:55:58 AM: To address issues that do not require attention, run:
11:55:58 AM: npm audit fix
11:55:58 AM: To address all issues (including breaking changes), run:
11:55:58 AM: npm audit fix --force
11:55:58 AM: Run `npm audit` for details.
11:55:58 AM: npm packages installed
11:55:59 AM: Successfully installed dependencies
11:55:59 AM: Starting build script
11:56:00 AM: Detected 1 framework(s)
11:56:00 AM: "create-react-app" at version "3.0.1"
11:56:00 AM: Section completed: initializing

Building

Failed
11:56:01 AM: Netlify Build
11:56:01 AM: ────────────────────────────────────────────────────────────────
11:56:01 AM:
11:56:01 AM: ❯ Version
11:56:01 AM: @netlify/build 30.0.6
11:56:01 AM:
11:56:01 AM: ❯ Flags
11:56:01 AM: accountId: 6377a4d17a3cde1387ccf243
11:56:01 AM: baseRelDir: true
11:56:01 AM: buildId: 67e68db401b010000888bdc1
11:56:01 AM: deployId: 67e68db401b010000888bdc3
11:56:01 AM:
11:56:01 AM: ❯ Current directory
11:56:01 AM: /opt/build/repo
11:56:01 AM:
11:56:01 AM: ❯ Config file
11:56:01 AM: No config file was defined: using default values.
11:56:01 AM:
11:56:01 AM: ❯ Context
11:56:01 AM: deploy-preview
11:56:01 AM:
11:56:01 AM: Build command from Netlify app
11:56:01 AM: ────────────────────────────────────────────────────────────────
11:56:01 AM: ​
11:56:01 AM: $ npm run build
11:56:02 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
11:56:02 AM: > devbcn@1.5.0 build
11:56:02 AM: > react-scripts build
11:56:02 AM:
11:56:02 AM: There might be a problem with the project dependency tree.
11:56:02 AM: It is likely not a bug in Create React App, but something you need to fix locally.
11:56:02 AM:
11:56:02 AM: The react-scripts package provided by Create React App requires a dependency:
11:56:02 AM: "eslint": "^5.16.0"
11:56:02 AM:
11:56:02 AM: Don't try to install it manually: your package manager does it automatically.
However, a different version of eslint was detected higher up in the tree:
11:56:02 AM: /opt/build/repo/node_modules/eslint (version: 8.57.1)
11:56:02 AM: Manually installing incompatible versions is known to cause hard-to-debug issues.
11:56:02 AM: If you would prefer to ignore this check, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
11:56:02 AM: That will permanently disable this message but you might encounter other issues.
11:56:02 AM:
11:56:02 AM: To fix the dependency tree, try following the steps below in the exact order:
11:56:02 AM: 1. Delete package-lock.json (not package.json!) and/or yarn.lock in your project folder.
11:56:02 AM: 2. Delete node_modules in your project folder.
11:56:02 AM: 3. Remove "eslint" from dependencies and/or devDependencies in the package.json file in your project folder.
11:56:02 AM: 4. Run npm install or yarn, depending on the package manager you use.
11:56:02 AM: In most cases, this should be enough to fix the problem.
11:56:02 AM: If this has not helped, there are a few other things you can try:
11:56:02 AM: 5. If you used npm, install yarn (http://yarnpkg.com/) and repeat the above steps with it instead.
11:56:02 AM: This may help because npm has known issues with package hoisting which may get resolved in future versions.
11:56:02 AM: 6. Check if /opt/build/repo/node_modules/eslint is outside your project directory.
11:56:02 AM: For example, you might have accidentally installed something in your home folder.
11:56:02 AM: 7. Try running npm ls eslint in your project folder.
11:56:02 AM: This will tell you which other package (apart from the expected react-scripts) installed eslint.
11:56:02 AM: If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
11:56:02 AM: That would permanently disable this preflight check in case you want to proceed anyway.
11:56:02 AM: P.S. We know this message is long but please read the steps above :-) We hope you find them helpful!
11:56:02 AM:
11:56:02 AM:
11:56:02 AM: "build.command" failed
11:56:02 AM: ────────────────────────────────────────────────────────────────
11:56:02 AM: ​
11:56:02 AM: Error message
11:56:02 AM: Command failed with exit code 1: npm run build (https://ntl.fyi/exit-code-1)
11:56:02 AM: ​
11:56:02 AM: Error location
11:56:02 AM: In Build command from Netlify app:
11:56:02 AM: npm run build
11:56:02 AM: ​
11:56:02 AM: Resolved config
11:56:02 AM: build:
11:56:02 AM: command: npm run build
11:56:02 AM: commandOrigin: ui
11:56:02 AM: environment:
11:56:02 AM: - REACT_APP_GOOGLE_ANALYTICS_API_KEY
11:56:02 AM: - REACT_APP_MAP_API_KEY
11:56:02 AM: - REACT_APP_NAME
11:56:02 AM: - REACT_APP_VERSION
11:56:02 AM: - REVIEW_ID
11:56:02 AM: - SENTRY_ENVIRONMENT
11:56:02 AM: publish: /opt/build/repo/build
11:56:02 AM: publishOrigin: ui
11:56:02 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
11:56:02 AM: Failing build: Failed to build site
11:56:02 AM: Finished processing build request in 58.745s

Deploying

Skipped
There is no log for this section

Cleanup

Skipped
There is no log for this section

Post-processing

Skipped
There is no log for this section