Skip to main content

Deploy details

Your deploy failed due to an error

Deploy failed for hogwarts-api

Loading
chore(deps): Bump shadcn-docs-nuxt from 0.6.5 to 0.8.12

PR #27: dependabot/npm_and_yarn/shadcn-docs-nuxt-0.8.12@32986af

Deploy log

Initializing

Complete
9:25:54 AM: Build ready to start
9:26:12 AM: build-image version: 8da544feea4fb5eeec1ff8d1b6a4cecf1a72b852 (focal)
9:26:12 AM: buildbot version: 8da544feea4fb5eeec1ff8d1b6a4cecf1a72b852
9:26:12 AM: Fetching cached dependencies
9:26:12 AM: Failed to fetch cache, continuing with build
9:26:12 AM: Starting to prepare the repo for build
9:26:13 AM: No cached dependencies found. Cloning fresh repo
9:26:13 AM: git clone --filter=blob:none git@github.com:ivopauly/hogwarts-api
9:26:14 AM: Preparing Git Reference pull/27/head
9:26:15 AM: Starting to install dependencies
9:26:16 AM: mise python@3.13.1 install
9:26:16 AM: mise python@3.13.1 download cpython-3.13.1+20250115-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
9:26:17 AM: mise python@3.13.1 extract cpython-3.13.1+20250115-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
9:26:17 AM: mise python@3.13.1 python --version
9:26:17 AM: mise python@3.13.1 Python 3.13.1
9:26:17 AM: mise python@3.13.1 installed
9:26:17 AM: Python version set to 3.13
9:26:18 AM: Collecting pipenv
9:26:18 AM: Downloading pipenv-2024.4.0-py3-none-any.whl.metadata (19 kB)
9:26:18 AM: Collecting certifi (from pipenv)
9:26:18 AM: Downloading certifi-2024.12.14-py3-none-any.whl.metadata (2.3 kB)
9:26:18 AM: Collecting packaging>=22 (from pipenv)
9:26:18 AM: Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
9:26:18 AM: Collecting setuptools>=67 (from pipenv)
9:26:18 AM: Downloading setuptools-75.8.0-py3-none-any.whl.metadata (6.7 kB)
9:26:18 AM: Collecting virtualenv>=20.24.2 (from pipenv)
9:26:18 AM: Downloading virtualenv-20.29.1-py3-none-any.whl.metadata (4.5 kB)
9:26:18 AM: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
9:26:18 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
9:26:18 AM: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
9:26:18 AM: Downloading filelock-3.17.0-py3-none-any.whl.metadata (2.9 kB)
9:26:18 AM: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
9:26:18 AM: Downloading platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB)
9:26:18 AM: Downloading pipenv-2024.4.0-py3-none-any.whl (3.0 MB)
9:26:19 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 70.5 MB/s eta 0:00:00
9:26:19 AM: Downloading packaging-24.2-py3-none-any.whl (65 kB)
9:26:19 AM: Downloading setuptools-75.8.0-py3-none-any.whl (1.2 MB)
9:26:19 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 95.0 MB/s eta 0:00:00
9:26:19 AM: Downloading virtualenv-20.29.1-py3-none-any.whl (4.3 MB)
9:26:19 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 137.7 MB/s eta 0:00:00
9:26:19 AM: Downloading certifi-2024.12.14-py3-none-any.whl (164 kB)
9:26:19 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
9:26:19 AM: Downloading filelock-3.17.0-py3-none-any.whl (16 kB)
9:26:19 AM: Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB)
9:26:19 AM: Installing collected packages: distlib, setuptools, platformdirs, packaging, filelock, certifi, virtualenv, pipenv
9:26:21 AM: Successfully installed certifi-2024.12.14 distlib-0.3.9 filelock-3.17.0 packaging-24.2 pipenv-2024.4.0 platformdirs-4.3.6 setuptools-75.8.0 virtualenv-20.29.1
9:26:21 AM: Attempting Ruby version 2.7.2, read from environment
9:26:21 AM: Using Ruby version 2.7.2
9:26:22 AM: Started restoring cached go cache
9:26:22 AM: Finished restoring cached go cache
9:26:23 AM: go version go1.19.13 linux/amd64
9:26:24 AM: Using PHP version 8.0
9:26:26 AM: Downloading and installing node v18.20.6...
9:26:26 AM: Computing checksum with sha256sum
9:26:26 AM: Checksums matched!
9:26:28 AM: Now using node v18.20.6 (npm v10.8.2)
9:26:28 AM: Enabling Node.js Corepack
9:26:28 AM: Started restoring cached build plugins
9:26:28 AM: Finished restoring cached build plugins
9:26:28 AM: Started restoring cached corepack dependencies
9:26:28 AM: Finished restoring cached corepack dependencies
9:26:28 AM: No npm workspaces detected
9:26:28 AM: Started restoring cached node modules
9:26:28 AM: Finished restoring cached node modules
9:26:28 AM: Installing npm packages using npm version 10.8.2
9:26:30 AM: npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
9:26:30 AM: npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
9:26:46 AM: > postinstall
9:26:46 AM: > nuxt prepare
9:26:47 AM: [info] [nuxt:tailwindcss] Using Tailwind CSS from ~/assets/css/tailwind.css
9:26:49 AM: [info] Nuxt Icon server bundle mode is set to `local`
9:26:50 AM: [success] Nuxt Icon discovered local-installed 2 collections: lucide, vscode-icons
9:26:51 AM: [info] Nuxt Icon client bundle consist of `53` icons with `30.84KB`(uncompressed) in size
9:26:51 AM: [success] [nuxi] Types generated in .nuxt
9:26:51 AM: added 1074 packages, and audited 1076 packages in 23s
9:26:51 AM: 295 packages are looking for funding
9:26:51 AM: run `npm fund` for details
9:26:51 AM: 1 high severity vulnerability
9:26:51 AM: To address all issues, run:
9:26:51 AM: npm audit fix
9:26:51 AM: Run `npm audit` for details.
9:26:51 AM: npm packages installed
9:26:52 AM: Successfully installed dependencies
9:26:52 AM: Starting build script
9:26:53 AM: Detected 1 framework(s)
9:26:53 AM: "nuxt" at version "3.15.2"
9:26:53 AM: Section completed: initializing

Building

Failed
9:26:54 AM: Netlify Build
9:26:54 AM: ────────────────────────────────────────────────────────────────
9:26:54 AM:
9:26:54 AM: ❯ Version
9:26:54 AM: @netlify/build 29.58.4
9:26:54 AM:
9:26:54 AM: ❯ Flags
9:26:54 AM: accountId: 5c73b996aad21d19bedb5213
9:26:54 AM: baseRelDir: true
9:26:54 AM: buildId: 6790b9a2458d280008ff0329
9:26:54 AM: deployId: 6790b9a2458d280008ff032b
9:26:54 AM:
9:26:54 AM: ❯ Current directory
9:26:54 AM: /opt/build/repo
9:26:54 AM:
9:26:54 AM: ❯ Config file
9:26:54 AM: No config file was defined: using default values.
9:26:54 AM:
9:26:54 AM: ❯ Context
9:26:54 AM: deploy-preview
9:26:54 AM:
9:26:54 AM: ❯ Installing plugins
9:26:54 AM: - @netlify/plugin-lighthouse@6.0.1
9:27:04 AM:
9:27:04 AM: ❯ Loading plugins
9:27:04 AM: - @netlify/plugin-lighthouse@6.0.1 from Netlify app
9:27:06 AM:
9:27:06 AM: Build command from Netlify app
9:27:06 AM: ────────────────────────────────────────────────────────────────
9:27:06 AM: ​
9:27:06 AM: $ npm run build
9:27:06 AM: > build
9:27:06 AM: > nuxt build
9:27:06 AM: [log] [nuxi] Nuxt 3.15.2 with Nitro 2.10.4
9:27:07 AM: [info] [nuxt:tailwindcss] Using Tailwind CSS from ~/assets/css/tailwind.css
9:27:09 AM: [info] Nuxt Icon server bundle mode is set to `local`
9:27:10 AM: [success] Nuxt Icon discovered local-installed 2 collections: lucide, vscode-icons
9:27:10 AM: [info] [nuxi] Building for Nitro preset: `netlify`
9:27:11 AM: [info] Nuxt Icon client bundle consist of `53` icons with `30.84KB`(uncompressed) in size
9:27:11 AM: [info] Building client...
9:27:11 AM: [info] vite v6.0.11 building for production...
9:27:11 AM: [info] transforming...
9:27:14 AM: [info] 514 modules transformed.
9:27:14 AM: [error] x Build failed in 3.03s
9:27:14 AM: [error] [nuxi] Nuxt Build Error: [commonjs--resolver] [plugin nuxt:import-protection] Importing from server is not allowed in the Vue part of your app. [importing `server/api/books/[name].ts?raw` from `node_modules/shadcn-docs-nuxt/components/content/CodeSnippet.vue?vue&type=script&setup=true&lang.ts`]
9:27:14 AM: at getRollupError (node_modules/rollup/dist/es/shared/parseAst.js:396:41)
9:27:14 AM: at error (node_modules/rollup/dist/es/shared/parseAst.js:392:42)
9:27:14 AM: at Object.error (node_modules/rollup/dist/es/shared/node-entry.js:20755:20)
9:27:14 AM: at Object.resolveId (node_modules/impound/dist/index.js:29:11)
9:27:14 AM: at Object.handler (node_modules/vite/dist/node/chunks/dep-M1IYMR16.js:51298:15)
9:27:14 AM: at node_modules/rollup/dist/es/shared/node-entry.js:20940:40
9:27:14 AM: at async PluginDriver.hookFirstAndGetPlugin (node_modules/rollup/dist/es/shared/node-entry.js:20840:28)
9:27:14 AM: at async resolveId (node_modules/rollup/dist/es/shared/node-entry.js:19440:26)
9:27:14 AM: at async ModuleLoader.resolveId (node_modules/rollup/dist/es/shared/node-entry.js:19876:15)
9:27:14 AM: at async Object.resolveId (node_modules/vite/dist/node/chunks/dep-M1IYMR16.js:5659:10)
9:27:16 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
9:27:16 AM:
9:27:16 AM: "build.command" failed
9:27:16 AM: ────────────────────────────────────────────────────────────────
9:27:16 AM: ​
9:27:16 AM: Error message
9:27:16 AM: Command failed with exit code 1: npm run build (https://ntl.fyi/exit-code-1)
9:27:16 AM: ​
9:27:16 AM: Error location
9:27:16 AM: In Build command from Netlify app:
9:27:16 AM: npm run build
9:27:16 AM: ​
9:27:16 AM: Resolved config
9:27:16 AM: build:
9:27:16 AM: command: npm run build
9:27:16 AM: commandOrigin: ui
9:27:16 AM: environment:
9:27:16 AM: - REVIEW_ID
9:27:16 AM: publish: /opt/build/repo/dist
9:27:16 AM: publishOrigin: ui
9:27:16 AM: plugins:
9:27:16 AM: - inputs: {}
9:27:16 AM: origin: ui
9:27:16 AM: package: '@netlify/plugin-lighthouse'
9:27:16 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
9:27:16 AM: Failing build: Failed to build site
9:27:17 AM: Finished processing build request in 1m4.433s

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