Build log:
"12:38:39 PM: build-image version: c0621868af5001023389eeaa9dbfbbaf313f67e2 (focal)
12:38:39 PM: buildbot version: c0621868af5001023389eeaa9dbfbbaf313f67e2
12:38:39 PM: Fetching cached dependencies
12:38:39 PM: Failed to fetch cache, continuing with build
12:38:39 PM: Starting to prepare the repo for build
12:38:39 PM: No cached dependencies found. Cloning fresh repo
12:38:39 PM: git clone --filter=blob:none https://github.com/enwumeh/perfumery2
12:38:40 PM: Preparing Git Reference refs/heads/main
12:38:42 PM: Parsing package.json dependencies
12:38:43 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'frontend/perfumery2_client/build' versus 'build' in the Netlify UI
12:38:44 PM: Starting to install dependencies
12:38:44 PM: Attempting Ruby version 2.7.2, read from environment
12:38:45 PM: Using Ruby version 2.7.2
12:38:45 PM: Started restoring cached go cache
12:38:45 PM: Finished restoring cached go cache
12:38:45 PM: Installing Go version 1.19.5 (requested 1.19.5)
12:38:51 PM: go version go1.19.5 linux/amd64
12:38:51 PM: Using PHP version 8.0
12:38:52 PM: Downloading and installing node v16.4.2...
12:38:52 PM: Downloading https://nodejs.org/dist/v16.4.2/node-v16.4.2-linux-x64.tar.xz...
12:38:53 PM: Computing checksum with sha256sum
12:38:53 PM: Checksums matched!
12:38:55 PM: Now using node v16.4.2 (npm v7.18.1)
12:38:55 PM: Started restoring cached build plugins
12:38:55 PM: Finished restoring cached build plugins
12:38:55 PM: Started restoring cached corepack dependencies
12:38:55 PM: Finished restoring cached corepack dependencies
12:38:55 PM: No npm workspaces detected
12:38:55 PM: Started restoring cached node modules
12:38:55 PM: Finished restoring cached node modules
12:38:55 PM: Installing npm packages using npm version 7.18.1
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: '@jest/expect-utils@29.3.1',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: 'jest-get-type@29.2.0',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: '@jest/schemas@28.1.3',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: '@jest/schemas@29.0.0',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: '@jest/types@29.3.1',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: 'diff-sequences@29.3.1',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: 'expect@29.3.1',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: 'jest-diff@29.3.1',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: 'jest-get-type@29.2.0',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: 'jest-matcher-utils@29.3.1',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: 'jest-message-util@29.3.1',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: 'jest-util@29.3.1',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: 'pretty-format@29.3.1',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^14.15.0 || ^16.10.0 || >=18.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: 'jest-worker@28.1.3',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: '@jest/console@28.1.3',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: '@jest/test-result@28.1.3',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: '@jest/types@28.1.3',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: 'jest-message-util@28.1.3',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: 'jest-regex-util@28.0.2',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: 'jest-util@28.1.3',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: 'jest-watcher@28.1.3',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:38:56 PM: npm WARN EBADENGINE Unsupported engine {
12:38:56 PM: npm WARN EBADENGINE package: 'pretty-format@28.1.3',
12:38:56 PM: npm WARN EBADENGINE required: { node: '^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0' },
12:38:56 PM: npm WARN EBADENGINE current: { node: 'v16.4.2', npm: '7.18.1' }
12:38:56 PM: npm WARN EBADENGINE }
12:39:01 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
12:39:02 PM: npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
12:39:02 PM: npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
12:39:06 PM: npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
12:39:11 PM: added 1483 packages, and audited 1484 packages in 16s
12:39:11 PM: 228 packages are looking for funding
12:39:11 PM: run `npm fund` for details
12:39:11 PM: 7 high severity vulnerabilities
12:39:11 PM: To address issues that do not require attention, run:
12:39:11 PM: npm audit fix
12:39:11 PM: To address all issues (including breaking changes), run:
12:39:11 PM: npm audit fix --force
12:39:11 PM: Run `npm audit` for details.
12:39:11 PM: npm packages installed
12:39:11 PM: Python version set to 3.8
12:39:11 PM: Install dependencies script success
12:39:11 PM: Starting build script
12:39:11 PM: Using stage install dependencies
12:39:11 PM: Detected 1 framework(s)
12:39:11 PM: "create-react-app" at version "5.0.1"
12:39:11 PM: Section completed: initializing
12:39:13 PM:
12:39:13 PM: Netlify Build
12:39:13 PM: ────────────────────────────────────────────────────────────────
12:39:13 PM:
12:39:13 PM: ❯ Version
12:39:13 PM: @netlify/build 29.5.8
12:39:13 PM:
12:39:13 PM: ❯ Flags
12:39:13 PM: baseRelDir: true
12:39:13 PM: buildId: 63f50fa9e0b3ac00586b48a7
12:39:13 PM: deployId: 63f50fa9e0b3ac00586b48a9
12:39:13 PM:
12:39:13 PM: ❯ Current directory
12:39:13 PM: /opt/build/repo/frontend/perfumery2_client
12:39:13 PM:
12:39:13 PM: ❯ Config file
12:39:13 PM: No config file was defined: using default values.
12:39:13 PM:
12:39:13 PM: ❯ Context
12:39:13 PM: production
12:39:13 PM:
12:39:13 PM: 1. Build command from Netlify app
12:39:13 PM: ────────────────────────────────────────────────────────────────
12:39:13 PM:
12:39:13 PM: $ npm run build
12:39:13 PM: /opt/build/repo/node_modules/.bin/node: 1: Syntax error: "|" unexpected (expecting ")")
12:39:13 PM:
12:39:13 PM: "build.command" failed
12:39:13 PM: ────────────────────────────────────────────────────────────────
12:39:13 PM:
12:39:13 PM: Error message
12:39:13 PM: Command failed with exit code 2: npm run build (https://ntl.fyi/exit-code-2)
12:39:13 PM:
12:39:13 PM: Error location
12:39:13 PM: In Build command from Netlify app:
12:39:13 PM: npm run build
12:39:13 PM:
12:39:13 PM: Resolved config
12:39:14 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
12:39:13 PM: build:
12:39:13 PM: base: /opt/build/repo/frontend/perfumery2_client
12:39:13 PM: command: npm run build
12:39:13 PM: commandOrigin: ui
12:39:13 PM: environment:
12:39:13 PM: - CI
12:39:13 PM: - NODE_VERSION
12:39:13 PM: publish: /opt/build/repo/frontend/perfumery2_client/build
12:39:13 PM: publishOrigin: ui
12:39:13 PM: redirects:
12:39:13 PM: - from: /*
status: 200
to: /index.html
Caching artifacts
12:39:13 PM: Started saving node modules
12:39:13 PM: Finished saving node modules
12:39:13 PM: Started saving build plugins
12:39:13 PM: Finished saving build plugins
12:39:13 PM: Started saving corepack cache
12:39:13 PM: Finished saving corepack cache
12:39:13 PM: Started saving pip cache
12:39:13 PM: Finished saving pip cache
12:39:13 PM: Started saving emacs cask dependencies
12:39:13 PM: Finished saving emacs cask dependencies
12:39:13 PM: Started saving maven dependencies
12:39:13 PM: Finished saving maven dependencies
12:39:13 PM: Started saving boot dependencies
12:39:13 PM: Finished saving boot dependencies
12:39:13 PM: Started saving rust rustup cache
12:39:13 PM: Finished saving rust rustup cache
12:39:13 PM: Started saving go dependencies
12:39:13 PM: Finished saving go dependencies
12:39:14 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
12:39:14 PM: Failing build: Failed to build site
12:39:14 PM: Finished processing build request in 35.704s"