Skip to main content

Deploy details

Your deploy failed due to an error

Deploy failed for dev-bcn

Updates

Branch Deploy: gh-pages@a9d971a

Deploy log

Initializing

Complete
12:46:47 PM: Waiting for other deploys from your team to complete. Check the queue: https://app.netlify.com/teams/nacho-c-bvpt4/builds
12:51:16 PM: Build ready to start
12:51:29 PM: build-image version: 59029cc38debec12b365d8cde2431251b878d6bf (focal)
12:51:29 PM: buildbot version: 911e38b4db82bf5cd08627b366a88d99622b3aab
12:51:29 PM: Fetching cached dependencies
12:51:29 PM: Failed to fetch cache, continuing with build
12:51:30 PM: Starting to prepare the repo for build
12:51:30 PM: No cached dependencies found. Cloning fresh repo
12:51:30 PM: git clone --filter=blob:none https://github.com/dev-bcn/dev-bcn.github.io
12:51:30 PM: Preparing Git Reference refs/heads/gh-pages
12:51:33 PM: Starting to install dependencies
12:51:33 PM: mise python@3.13.2 install
12:51:33 PM: mise python@3.13.2 download cpython-3.13.2+20250317-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
12:51:34 PM: mise python@3.13.2 extract cpython-3.13.2+20250317-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
12:51:34 PM: mise python@3.13.2 python --version
12:51:34 PM: mise python@3.13.2 Python 3.13.2
12:51:34 PM: mise python@3.13.2 installed
12:51:34 PM: Python version set to 3.13
12:51:35 PM: Collecting pipenv
12:51:36 PM: Downloading pipenv-2024.4.1-py3-none-any.whl.metadata (17 kB)
12:51:36 PM: Collecting certifi (from pipenv)
12:51:36 PM: Downloading certifi-2025.1.31-py3-none-any.whl.metadata (2.5 kB)
12:51:36 PM: Collecting packaging>=22 (from pipenv)
12:51:36 PM: Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
12:51:36 PM: Collecting setuptools>=67 (from pipenv)
12:51:36 PM: Downloading setuptools-78.1.0-py3-none-any.whl.metadata (6.6 kB)
12:51:36 PM: Collecting virtualenv>=20.24.2 (from pipenv)
12:51:36 PM: Downloading virtualenv-20.29.3-py3-none-any.whl.metadata (4.5 kB)
12:51:36 PM: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
12:51:36 PM: Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
12:51:36 PM: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
12:51:36 PM: Downloading filelock-3.18.0-py3-none-any.whl.metadata (2.9 kB)
12:51:37 PM: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
12:51:37 PM: Downloading platformdirs-4.3.7-py3-none-any.whl.metadata (11 kB)
12:51:37 PM: Downloading pipenv-2024.4.1-py3-none-any.whl (3.0 MB)
12:51:37 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 21.6 MB/s eta 0:00:00
12:51:37 PM: Downloading packaging-24.2-py3-none-any.whl (65 kB)
12:51:37 PM: Downloading setuptools-78.1.0-py3-none-any.whl (1.3 MB)
12:51:37 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 10.4 MB/s eta 0:00:00
12:51:37 PM: Downloading virtualenv-20.29.3-py3-none-any.whl (4.3 MB)
12:51:37 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 36.8 MB/s eta 0:00:00
12:51:37 PM: Downloading certifi-2025.1.31-py3-none-any.whl (166 kB)
12:51:37 PM: Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
12:51:37 PM: Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
12:51:37 PM: Downloading platformdirs-4.3.7-py3-none-any.whl (18 kB)
12:51:37 PM: Installing collected packages: distlib, setuptools, platformdirs, packaging, filelock, certifi, virtualenv, pipenv
12:51:40 PM: 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
12:51:40 PM: [notice] A new release of pip is available: 24.3.1 -> 25.0.1
12:51:40 PM: [notice] To update, run: pip install --upgrade pip
12:51:40 PM: Attempting Ruby version 2.7.2, read from environment
12:51:41 PM: Using Ruby version 2.7.2
12:51:42 PM: Started restoring cached go cache
12:51:42 PM: Finished restoring cached go cache
12:51:44 PM: go version go1.19.13 linux/amd64
12:51:45 PM: Using PHP version 8.0
12:51:46 PM: Downloading and installing node v16.20.2...
12:51:47 PM: Computing checksum with sha256sum
12:51:47 PM: Checksums matched!
12:51:49 PM: Now using node v16.20.2 (npm v8.19.4)
12:51:50 PM: Enabling Node.js Corepack
12:51:50 PM: Started restoring cached build plugins
12:51:50 PM: Finished restoring cached build plugins
12:51:50 PM: Successfully installed dependencies
12:51:50 PM: Starting build script
12:51:51 PM: Detected 0 framework(s)
12:51:51 PM: Section completed: initializing

Building

Failed
12:51:53 PM: Netlify Build
12:51:53 PM: ────────────────────────────────────────────────────────────────
12:51:53 PM:
12:51:53 PM: ❯ Version
12:51:53 PM: @netlify/build 30.0.6
12:51:53 PM:
12:51:53 PM: ❯ Flags
12:51:53 PM: accountId: 6377a4d17a3cde1387ccf243
12:51:53 PM: baseRelDir: true
12:51:53 PM: buildId: 67e69a36f6a2e500086f5768
12:51:53 PM: deployId: 67e69a36f6a2e500086f576a
12:51:53 PM:
12:51:53 PM: ❯ Current directory
12:51:53 PM: /opt/build/repo
12:51:53 PM:
12:51:53 PM: ❯ Config file
12:51:53 PM: No config file was defined: using default values.
12:51:53 PM:
12:51:53 PM: ❯ Context
12:51:53 PM: branch-deploy
12:51:53 PM:
12:51:53 PM: Build command from Netlify app
12:51:53 PM: ────────────────────────────────────────────────────────────────
12:51:53 PM: ​
12:51:53 PM: $ npm run build
12:51:53 PM: npm ERR! code ENOENT
12:51:53 PM: npm ERR! syscall open
12:51:53 PM: npm ERR! path /opt/build/repo/package.json
12:51:53 PM: npm ERR! errno -2
12:51:53 PM: npm ERR! enoent ENOENT: no such file or directory, open '/opt/build/repo/package.json'
12:51:53 PM: npm ERR! enoent This is related to npm not being able to find a file.
12:51:53 PM: npm ERR! enoent
12:51:53 PM: npm ERR! A complete log of this run can be found in:
12:51:53 PM: npm ERR! /opt/buildhome/.npm/_logs/2025-03-28T12_51_53_625Z-debug-0.log
12:51:53 PM:
12:51:53 PM: "build.command" failed
12:51:53 PM: ────────────────────────────────────────────────────────────────
12:51:53 PM: ​
12:51:53 PM: Error message
12:51:53 PM: Command failed with exit code 254: npm run build (https://ntl.fyi/exit-code-254)
12:51:53 PM: ​
12:51:53 PM: Error location
12:51:53 PM: In Build command from Netlify app:
12:51:53 PM: npm run build
12:51:53 PM: ​
12:51:53 PM: Resolved config
12:51:53 PM: build:
12:51:53 PM: command: npm run build
12:51:53 PM: commandOrigin: ui
12:51:53 PM: environment:
12:51:53 PM: - REACT_APP_GOOGLE_ANALYTICS_API_KEY
12:51:53 PM: - REACT_APP_MAP_API_KEY
12:51:53 PM: - REACT_APP_NAME
12:51:53 PM: - REACT_APP_VERSION
12:51:53 PM: - SENTRY_ENVIRONMENT
12:51:53 PM: publish: /opt/build/repo/build
12:51:53 PM: publishOrigin: ui
12:51:54 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
12:51:54 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
12:51:54 PM: Failing build: Failed to build site
12:51:54 PM: Finished processing build request in 24.65s

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