Deploy details
Your deploy failed due to an errorDeploy log
Initializing
Complete
Initializing
Complete
6:58:38 PM: Build ready to start
6:58:52 PM: build-image version: 6724b7f630462a3bda7629c0c4b9c485399606e3 (focal)
6:58:52 PM: buildbot version: 927e75ede366e8085d4e00cdba5fd6dcec09e3f4
6:58:52 PM: Fetching cached dependencies
6:58:52 PM: Starting to download cache of 293.5MB
6:58:53 PM: Finished downloading cache in 1.406s
6:58:53 PM: Starting to extract cache
6:58:57 PM: Finished extracting cache in 4.19s
6:58:57 PM: Finished fetching cache in 5.655s
6:58:58 PM: Starting to prepare the repo for build
6:58:58 PM: Preparing Git Reference pull/48/head
6:59:00 PM: Starting to install dependencies
6:59:00 PM: Started restoring cached mise cache
6:59:00 PM: Finished restoring cached mise cache
6:59:01 PM: mise python@3.13.1 install
6:59:01 PM: mise python@3.13.1 download cpython-3.13.1+20250115-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
6:59:02 PM: mise python@3.13.1 extract cpython-3.13.1+20250115-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
6:59:02 PM: mise python@3.13.1 python --version
6:59:02 PM: mise python@3.13.1 Python 3.13.1
6:59:02 PM: mise python@3.13.1 ✓ installed
6:59:02 PM: Python version set to 3.13
6:59:03 PM: Collecting pipenv
6:59:03 PM: Downloading pipenv-2024.4.1-py3-none-any.whl.metadata (17 kB)
6:59:03 PM: Collecting certifi (from pipenv)
6:59:03 PM: Downloading certifi-2024.12.14-py3-none-any.whl.metadata (2.3 kB)
6:59:03 PM: Collecting packaging>=22 (from pipenv)
6:59:03 PM: Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
6:59:04 PM: Collecting setuptools>=67 (from pipenv)
6:59:04 PM: Downloading setuptools-75.8.0-py3-none-any.whl.metadata (6.7 kB)
6:59:04 PM: Collecting virtualenv>=20.24.2 (from pipenv)
6:59:04 PM: Downloading virtualenv-20.29.1-py3-none-any.whl.metadata (4.5 kB)
6:59:04 PM: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
6:59:04 PM: Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
6:59:04 PM: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
6:59:04 PM: Downloading filelock-3.17.0-py3-none-any.whl.metadata (2.9 kB)
6:59:04 PM: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
6:59:04 PM: Downloading platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB)
6:59:04 PM: Downloading pipenv-2024.4.1-py3-none-any.whl (3.0 MB)
6:59:04 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 59.1 MB/s eta 0:00:00
6:59:04 PM: Downloading packaging-24.2-py3-none-any.whl (65 kB)
6:59:04 PM: Downloading setuptools-75.8.0-py3-none-any.whl (1.2 MB)
6:59:04 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 67.5 MB/s eta 0:00:00
6:59:04 PM: Downloading virtualenv-20.29.1-py3-none-any.whl (4.3 MB)
6:59:04 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 119.9 MB/s eta 0:00:00
6:59:04 PM: Downloading certifi-2024.12.14-py3-none-any.whl (164 kB)
6:59:04 PM: Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
6:59:04 PM: Downloading filelock-3.17.0-py3-none-any.whl (16 kB)
6:59:04 PM: Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB)
6:59:04 PM: Installing collected packages: distlib, setuptools, platformdirs, packaging, filelock, certifi, virtualenv, pipenv
6:59:06 PM: Successfully installed certifi-2024.12.14 distlib-0.3.9 filelock-3.17.0 packaging-24.2 pipenv-2024.4.1 platformdirs-4.3.6 setuptools-75.8.0 virtualenv-20.29.1
6:59:07 PM: [notice] A new release of pip is available: 24.3.1 -> 25.0
6:59:07 PM: [notice] To update, run: pip install --upgrade pip
6:59:07 PM: Attempting Ruby version 2.7.2, read from environment
6:59:08 PM: Using Ruby version 2.7.2
6:59:08 PM: Started restoring cached go cache
6:59:08 PM: Finished restoring cached go cache
6:59:10 PM: go version go1.19.13 linux/amd64
6:59:11 PM: Using PHP version 8.0
6:59:12 PM: Started restoring cached Node.js version
6:59:14 PM: Finished restoring cached Node.js version
6:59:14 PM: Attempting Node.js version '20.10.0' from .nvmrc
6:59:14 PM: v20.10.0 is already installed.
6:59:14 PM: Now using node v20.10.0 (npm v10.2.3)
6:59:14 PM: Enabling Node.js Corepack
6:59:14 PM: Started restoring cached build plugins
6:59:14 PM: Finished restoring cached build plugins
6:59:14 PM: Started restoring cached corepack dependencies
6:59:14 PM: Finished restoring cached corepack dependencies
6:59:14 PM: No npm workspaces detected
6:59:14 PM: Started restoring cached node modules
6:59:14 PM: Finished restoring cached node modules
6:59:15 PM: Installing npm packages using npm version 10.2.3
6:59:19 PM: added 79 packages, changed 2 packages, and audited 2088 packages in 4s
6:59:19 PM: 429 packages are looking for funding
6:59:19 PM: run `npm fund` for details
6:59:19 PM: 3 moderate severity vulnerabilities
6:59:19 PM: To address all issues, run:
6:59:19 PM: npm audit fix
6:59:19 PM: Run `npm audit` for details.
6:59:19 PM: npm packages installed
6:59:20 PM: Successfully installed dependencies
6:59:20 PM: Starting build script
6:59:21 PM: Detected 1 framework(s)
6:59:21 PM: "astro" at version "5.1.7"
6:59:21 PM: Section completed: initializing
Building
Failed
Building
Failed
6:59:23 PM: Netlify Build
6:59:23 PM: ────────────────────────────────────────────────────────────────
6:59:23 PM:
6:59:23 PM: ❯ Version
6:59:23 PM: @netlify/build 29.58.8
6:59:23 PM:
6:59:23 PM: ❯ Flags
6:59:23 PM: accountId: 672be89edff07e64f014afa7
6:59:23 PM: baseRelDir: true
6:59:23 PM: buildId: 679a7a5e1843e90008e6a7b9
6:59:23 PM: deployId: 679a7a5e1843e90008e6a7bb
6:59:23 PM:
6:59:23 PM: ❯ Current directory
6:59:23 PM: /opt/build/repo
6:59:23 PM:
6:59:23 PM: ❯ Config file
6:59:23 PM: /opt/build/repo/netlify.toml
6:59:23 PM:
6:59:23 PM: ❯ Context
6:59:23 PM: deploy-preview
6:59:23 PM:
6:59:23 PM: build.command from netlify.toml
6:59:23 PM: ────────────────────────────────────────────────────────────────
6:59:23 PM:
6:59:23 PM: $ npm run build
6:59:23 PM: > create-freedom-stack@1.0.8 build
6:59:23 PM: > astro check && astro build --remote
6:59:25 PM: 18:59:25 [vite] Re-optimizing dependencies because lockfile has changed
6:59:25 PM: 18:59:25 [content] Syncing content
6:59:25 PM: 18:59:25 [content] Synced content
6:59:25 PM: 18:59:25 [types] Generated 126ms
6:59:25 PM: 18:59:25 [check] Getting diagnostics for Astro files in /opt/build/repo...
6:59:28 PM: src/middleware.ts:6:16 - warning ts(80007): 'await' has no effect on the type of this expression.
6:59:28 PM: 6 const user = await api.getUser();
6:59:28 PM: ~~~~~~~~~~~~~~~~~~~
6:59:29 PM: src/integrations/bknd/index.ts:55:49 - warning ts(6133): 'connection' is declared but its value is never read.
6:59:29 PM: 55 const { adminRoute = "/admin", debug = false, connection } = options;
6:59:29 PM: ~~~~~~~~~~
6:59:29 PM: src/pages/sitemap.xml.ts:54:27 - error ts(2339): Property 'pubDate' does not exist on type '{ id: Generated<number>; content?: string | undefined; views?: number | undefined; title: string; slug: string; publishDate: Date; }'.
6:59:29 PM: 54 <lastmod>${post.pubDate.toISOString()}</lastmod>
6:59:29 PM: ~~~~~~~
6:59:29 PM: Result (43 files):
6:59:29 PM: - 1 error
6:59:29 PM: - 0 warnings
6:59:29 PM: - 2 hints
6:59:29 PM:
6:59:29 PM:
6:59:29 PM: "build.command" failed
6:59:29 PM: ────────────────────────────────────────────────────────────────
6:59:29 PM:
6:59:29 PM: Error message
6:59:29 PM: Command failed with exit code 1: npm run build (https://ntl.fyi/exit-code-1)
6:59:29 PM:
6:59:29 PM: Error location
6:59:29 PM: In build.command from netlify.toml:
6:59:29 PM: npm run build
6:59:29 PM:
6:59:29 PM: Resolved config
6:59:29 PM: build:
6:59:29 PM: command: npm run build
6:59:29 PM: commandOrigin: config
6:59:29 PM: environment:
6:59:29 PM: - ASTRO_DB_APP_TOKEN
6:59:29 PM: - ASTRO_DB_REMOTE_URL
6:59:29 PM: - BETTER_AUTH_EMAIL_VERIFICATION
6:59:29 PM: - BETTER_AUTH_SECRET
6:59:29 PM: - BETTER_AUTH_URL
6:59:29 PM: - MAIL_AUTH_PASS
6:59:29 PM: - MAIL_AUTH_USER
6:59:29 PM: - MAIL_FROM
6:59:29 PM: - MAIL_HOST
6:59:29 PM: - MAIL_PORT
6:59:29 PM: - MAIL_SECURE
6:59:29 PM: - REVIEW_ID
6:59:29 PM: - NODE_VERSION
6:59:29 PM: publish: /opt/build/repo/dist
6:59:29 PM: publishOrigin: config
6:59:29 PM: redirects:
6:59:29 PM: - force: true
6:59:29 PM: from: http://*
6:59:29 PM: status: 301
6:59:29 PM: to: https://:splat
6:59:29 PM: redirectsOrigin: config
6:59:30 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
6:59:30 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
6:59:30 PM: Failing build: Failed to build site
6:59:30 PM: Finished processing build request in 38.418s
Deploying
Skipped
Deploying
Skipped
There is no log for this section
Cleanup
Skipped
Cleanup
Skipped
There is no log for this section
Post-processing
Skipped
Post-processing
Skipped
There is no log for this section