Skip to main content

Deploy details

Your deploy failed due to an error

Deploy failed for cheery-zabaione-34f12e

Enatega/double category

PR #1141: Enatega/DoubleCategory@158537f

Deploy summary

Deploy log

Initializing

Complete
6:12:46 AM: Build ready to start
6:12:57 AM: build-image version: 59029cc38debec12b365d8cde2431251b878d6bf (focal)
6:12:57 AM: buildbot version: e06c8b12db8d11e7b1884ff05239b221ef25f172
6:12:57 AM: Fetching cached dependencies
6:12:57 AM: Starting to download cache of 654.2MB
6:13:01 AM: Finished downloading cache in 3.234s
6:13:01 AM: Starting to extract cache
6:13:05 AM: Finished extracting cache in 4.497s
6:13:05 AM: Finished fetching cache in 7.802s
6:13:05 AM: Starting to prepare the repo for build
6:13:06 AM: Preparing Git Reference pull/1141/head
6:13:07 AM: Custom build path detected. Proceeding with the specified path: 'enatega-multivendor-admin'
6:13:07 AM: Custom publish path detected. Proceeding with the specified path: 'enatega-multivendor-admin/.next'
6:13:08 AM: manpath: warning: $PATH not set
6:13:09 AM: Starting to install dependencies
6:13:09 AM: Started restoring cached mise cache
6:13:09 AM: Finished restoring cached mise cache
6:13:10 AM: mise python@3.13.2 install
6:13:10 AM: mise python@3.13.2 download cpython-3.13.2+20250317-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
6:13:10 AM: mise python@3.13.2 extract cpython-3.13.2+20250317-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
6:13:10 AM: mise python@3.13.2 python --version
6:13:10 AM: mise python@3.13.2 Python 3.13.2
6:13:10 AM: mise python@3.13.2 installed
6:13:10 AM: Python version set to 3.13
6:13:12 AM: Collecting pipenv
6:13:12 AM: Downloading pipenv-2024.4.1-py3-none-any.whl.metadata (17 kB)
6:13:12 AM: Collecting certifi (from pipenv)
6:13:12 AM: Downloading certifi-2025.1.31-py3-none-any.whl.metadata (2.5 kB)
6:13:12 AM: Collecting packaging>=22 (from pipenv)
6:13:12 AM: Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
6:13:12 AM: Collecting setuptools>=67 (from pipenv)
6:13:12 AM: Downloading setuptools-78.1.0-py3-none-any.whl.metadata (6.6 kB)
6:13:12 AM: Collecting virtualenv>=20.24.2 (from pipenv)
6:13:12 AM: Downloading virtualenv-20.29.3-py3-none-any.whl.metadata (4.5 kB)
6:13:12 AM: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
6:13:12 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
6:13:12 AM: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
6:13:12 AM: Downloading filelock-3.18.0-py3-none-any.whl.metadata (2.9 kB)
6:13:12 AM: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
6:13:12 AM: Downloading platformdirs-4.3.7-py3-none-any.whl.metadata (11 kB)
6:13:12 AM: Downloading pipenv-2024.4.1-py3-none-any.whl (3.0 MB)
6:13:12 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 64.9 MB/s eta 0:00:00
6:13:12 AM: Downloading packaging-24.2-py3-none-any.whl (65 kB)
6:13:12 AM: Downloading setuptools-78.1.0-py3-none-any.whl (1.3 MB)
6:13:12 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 90.0 MB/s eta 0:00:00
6:13:12 AM: Downloading virtualenv-20.29.3-py3-none-any.whl (4.3 MB)
6:13:12 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 160.1 MB/s eta 0:00:00
6:13:12 AM: Downloading certifi-2025.1.31-py3-none-any.whl (166 kB)
6:13:12 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
6:13:12 AM: Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
6:13:12 AM: Downloading platformdirs-4.3.7-py3-none-any.whl (18 kB)
6:13:12 AM: Installing collected packages: distlib, setuptools, platformdirs, packaging, filelock, certifi, virtualenv, pipenv
6:13:14 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
6:13:14 AM: [notice] A new release of pip is available: 24.3.1 -> 25.0.1
6:13:14 AM: [notice] To update, run: pip install --upgrade pip
6:13:15 AM: Attempting Ruby version 2.7.2, read from environment
6:13:15 AM: Using Ruby version 2.7.2
6:13:16 AM: Started restoring cached go cache
6:13:16 AM: Finished restoring cached go cache
6:13:17 AM: go version go1.19.13 linux/amd64
6:13:18 AM: Using PHP version 8.0
6:13:19 AM: Started restoring cached Node.js version
6:13:20 AM: Finished restoring cached Node.js version
6:13:20 AM: Attempting Node.js version 'v20.16.0' from .nvmrc
6:13:21 AM: v20.16.0 is already installed.
6:13:21 AM: Now using node v20.16.0 (npm v10.8.1)
6:13:21 AM: Enabling Node.js Corepack
6:13:21 AM: Started restoring cached build plugins
6:13:21 AM: Finished restoring cached build plugins
6:13:21 AM: Started restoring cached corepack dependencies
6:13:21 AM: Finished restoring cached corepack dependencies
6:13:21 AM: No npm workspaces detected
6:13:21 AM: Started restoring cached node modules
6:13:21 AM: Finished restoring cached node modules
6:13:21 AM: Installing npm packages using npm version 10.8.1
6:13:23 AM: > enatega-frontend@0.1.0 prepare
6:13:23 AM: > husky
6:13:23 AM: .git can't be found
6:13:23 AM: up to date, audited 853 packages in 2s
6:13:23 AM: 269 packages are looking for funding
6:13:23 AM: run `npm fund` for details
6:13:23 AM: 2 vulnerabilities (1 moderate, 1 critical)
6:13:23 AM: To address issues that do not require attention, run:
6:13:23 AM: npm audit fix
6:13:23 AM: To address all issues, run:
6:13:23 AM: npm audit fix --force
6:13:23 AM: Run `npm audit` for details.
6:13:23 AM: npm packages installed
6:13:24 AM: Successfully installed dependencies
6:13:24 AM: Starting build script
6:13:25 AM: Detected 1 framework(s)
6:13:25 AM: "next" at version "14.2.5"
6:13:25 AM: Section completed: initializing

Building

Failed
6:13:26 AM: Netlify Build
6:13:26 AM: ────────────────────────────────────────────────────────────────
6:13:26 AM:
6:13:26 AM: ❯ Version
6:13:26 AM: @netlify/build 30.0.5
6:13:26 AM:
6:13:26 AM: ❯ Flags
6:13:26 AM: accountId: 65d5e4d9a53d2898e278c1a7
6:13:26 AM: baseRelDir: true
6:13:26 AM: buildId: 67e63dbb3699c60008b7fd61
6:13:26 AM: deployId: 67e63dbb3699c60008b7fd63
6:13:26 AM:
6:13:26 AM: ❯ Current directory
6:13:26 AM: /opt/build/repo/enatega-multivendor-admin
6:13:26 AM:
6:13:26 AM: ❯ Config file
6:13:26 AM: No config file was defined: using default values.
6:13:26 AM:
6:13:26 AM: ❯ Context
6:13:26 AM: deploy-preview
6:13:26 AM:
6:13:26 AM: ❯ Using Next.js Runtime - v5.10.1
6:13:28 AM: Next.js cache restored
6:13:28 AM:
6:13:28 AM: Build command from Netlify app
6:13:28 AM: ────────────────────────────────────────────────────────────────
6:13:28 AM: ​
6:13:28 AM: $ npm run build
6:13:28 AM: > enatega-frontend@0.1.0 build
6:13:28 AM: > next build
6:13:29 AM: ▲ Next.js 14.2.5
6:13:29 AM: - Environments: .env
6:13:29 AM: Creating an optimized production build ...
6:13:36 AM: Compiled successfully
6:13:36 AM: Linting and checking validity of types ...
6:13:43 AM:
6:13:43 AM: Failed to compile.
6:13:43 AM: ./lib/ui/screen-components/protected/restaurant/category/add-form/index.tsx
6:13:43 AM: 141:9 Error: 'refetchCategories' is not defined. no-undef
6:13:43 AM: info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
6:13:43 AM:
6:13:43 AM: "build.command" failed
6:13:43 AM: ────────────────────────────────────────────────────────────────
6:13:43 AM: ​
6:13:43 AM: Error message
6:13:43 AM: Command failed with exit code 1: npm run build (https://ntl.fyi/exit-code-1)
6:13:43 AM: ​
6:13:43 AM: Error location
6:13:43 AM: In Build command from Netlify app:
6:13:43 AM: npm run build
6:13:43 AM: ​
6:13:43 AM: Resolved config
6:13:43 AM: build:
6:13:43 AM: base: /opt/build/repo/enatega-multivendor-admin
6:13:43 AM: command: npm run build
6:13:43 AM: commandOrigin: ui
6:13:43 AM: environment:
6:13:43 AM: - REVIEW_ID
6:13:43 AM: publish: /opt/build/repo/enatega-multivendor-admin/.next
6:13:43 AM: publishOrigin: ui
6:13:43 AM: plugins:
6:13:43 AM: - inputs: {}
6:13:43 AM: origin: ui
6:13:43 AM: package: '@netlify/plugin-nextjs'
6:13:44 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
6:13:44 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
6:13:44 AM: Failing build: Failed to build site
6:13:44 AM: Finished processing build request in 46.886s

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