Skip to main content

Deploy details

Your deploy failed due to an error

Deploy failed for tresjs-docs

feat!: v5 release

PR #965: next@bb0b9e2

Deploy log

Initializing

Complete
9:29:23 AM: Build ready to start
9:29:42 AM: build-image version: 59029cc38debec12b365d8cde2431251b878d6bf (focal)
9:29:42 AM: buildbot version: 7247145a56b36a0319fe3c98407f85b1c4c84911
9:29:42 AM: Fetching cached dependencies
9:29:42 AM: Starting to download cache of 1.0GB
9:29:44 AM: Finished downloading cache in 2.305s
9:29:44 AM: Starting to extract cache
9:30:19 AM: Finished extracting cache in 35.103s
9:30:19 AM: Finished fetching cache in 37.521s
9:30:19 AM: Starting to prepare the repo for build
9:30:20 AM: Preparing Git Reference pull/965/head
9:30:25 AM: Custom build command detected. Proceeding with the specified command: 'pnpm run build && pnpm docs:build'
9:30:26 AM: Starting to install dependencies
9:30:26 AM: Started restoring cached mise cache
9:30:26 AM: Finished restoring cached mise cache
9:30:27 AM: mise python@3.13.2 install
9:30:27 AM: mise python@3.13.2 download cpython-3.13.2+20250317-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
9:30:27 AM: mise python@3.13.2 extract cpython-3.13.2+20250317-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
9:30:28 AM: mise python@3.13.2 python --version
9:30:28 AM: mise python@3.13.2 Python 3.13.2
9:30:28 AM: mise python@3.13.2 installed
9:30:28 AM: Python version set to 3.13
9:30:30 AM: Collecting pipenv
9:30:30 AM: Downloading pipenv-2024.4.1-py3-none-any.whl.metadata (17 kB)
9:30:30 AM: Collecting certifi (from pipenv)
9:30:30 AM: Downloading certifi-2025.1.31-py3-none-any.whl.metadata (2.5 kB)
9:30:30 AM: Collecting packaging>=22 (from pipenv)
9:30:30 AM: Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
9:30:30 AM: Collecting setuptools>=67 (from pipenv)
9:30:30 AM: Downloading setuptools-77.0.3-py3-none-any.whl.metadata (6.6 kB)
9:30:30 AM: Collecting virtualenv>=20.24.2 (from pipenv)
9:30:30 AM: Downloading virtualenv-20.29.3-py3-none-any.whl.metadata (4.5 kB)
9:30:30 AM: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
9:30:30 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
9:30:30 AM: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
9:30:30 AM: Downloading filelock-3.18.0-py3-none-any.whl.metadata (2.9 kB)
9:30:30 AM: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
9:30:30 AM: Downloading platformdirs-4.3.7-py3-none-any.whl.metadata (11 kB)
9:30:30 AM: Downloading pipenv-2024.4.1-py3-none-any.whl (3.0 MB)
9:30:30 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 41.3 MB/s eta 0:00:00
9:30:30 AM: Downloading packaging-24.2-py3-none-any.whl (65 kB)
9:30:30 AM: Downloading setuptools-77.0.3-py3-none-any.whl (1.3 MB)
9:30:30 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 70.6 MB/s eta 0:00:00
9:30:30 AM: Downloading virtualenv-20.29.3-py3-none-any.whl (4.3 MB)
9:30:31 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 102.0 MB/s eta 0:00:00
9:30:31 AM: Downloading certifi-2025.1.31-py3-none-any.whl (166 kB)
9:30:31 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
9:30:31 AM: Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
9:30:31 AM: Downloading platformdirs-4.3.7-py3-none-any.whl (18 kB)
9:30:31 AM: Installing collected packages: distlib, setuptools, platformdirs, packaging, filelock, certifi, virtualenv, pipenv
9:30:33 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-77.0.3 virtualenv-20.29.3
9:30:33 AM: [notice] A new release of pip is available: 24.3.1 -> 25.0.1
9:30:33 AM: [notice] To update, run: pip install --upgrade pip
9:30:34 AM: Attempting Ruby version 2.7.2, read from environment
9:30:34 AM: Using Ruby version 2.7.2
9:30:35 AM: Started restoring cached go cache
9:30:35 AM: Finished restoring cached go cache
9:30:36 AM: go version go1.19.13 linux/amd64
9:30:37 AM: Using PHP version 8.0
9:30:38 AM: Started restoring cached Node.js version
9:30:47 AM: Finished restoring cached Node.js version
9:30:47 AM: v20.19.0 is already installed.
9:30:47 AM: Now using node v20.19.0 (npm v10.8.2)
9:30:47 AM: Enabling Node.js Corepack
9:30:47 AM: Started restoring cached build plugins
9:30:47 AM: Finished restoring cached build plugins
9:30:47 AM: Started restoring cached corepack dependencies
9:30:47 AM: Finished restoring cached corepack dependencies
9:30:47 AM: Started restoring cached pnpm cache
9:30:47 AM: Finished restoring cached pnpm cache
9:30:48 AM: pnpm workspaces detected
9:30:48 AM: Started restoring workspace docs node modules
9:30:48 AM: Finished restoring workspace docs node modules
9:30:48 AM: Started restoring workspace playground/vue node modules
9:30:48 AM: Finished restoring workspace playground/vue node modules
9:30:48 AM: Started restoring workspace root node modules
9:30:48 AM: Finished restoring workspace root node modules
9:30:48 AM: Installing npm packages using pnpm version 10.6.3
9:30:48 AM: Scope: all 3 workspace projects
9:30:49 AM: Lockfile is up to date, resolution step is skipped
9:30:49 AM: Already up to date
9:30:50 AM: Done in 2s using pnpm v10.6.3
9:30:50 AM: npm packages installed using pnpm
9:30:51 AM: Successfully installed dependencies
9:30:51 AM: Starting build script
9:30:53 AM: Detected 1 framework(s)
9:30:53 AM: "vite" at version "6.1.1"
9:30:53 AM: Section completed: initializing

Building

Failed
9:30:54 AM: Netlify Build
9:30:54 AM: ────────────────────────────────────────────────────────────────
9:30:54 AM:
9:30:54 AM: ❯ Version
9:30:54 AM: @netlify/build 30.0.3
9:30:54 AM:
9:30:54 AM: ❯ Flags
9:30:54 AM: accountId: 5ac73558df99536a45b5af52
9:30:54 AM: baseRelDir: true
9:30:54 AM: buildId: 67de82f36e63a2000813a4d7
9:30:54 AM: deployId: 67de82f36e63a2000813a4d9
9:30:54 AM:
9:30:54 AM: ❯ Current directory
9:30:54 AM: /opt/build/repo
9:30:54 AM:
9:30:54 AM: ❯ Config file
9:30:54 AM: /opt/build/repo/netlify.toml
9:30:54 AM:
9:30:54 AM: ❯ Context
9:30:54 AM: deploy-preview
9:30:54 AM:
9:30:54 AM: build.command from netlify.toml
9:30:54 AM: ────────────────────────────────────────────────────────────────
9:30:54 AM: ​
9:30:54 AM: $ pnpm run build && pnpm docs:build
9:30:55 AM: > @tresjs/core@4.3.3 build /opt/build/repo
9:30:55 AM: > vite build
9:30:56 AM: Tres v4.3.3
9:30:56 AM: vite v6.1.1 building for production...
9:30:56 AM:
9:30:56 AM: watching for file changes...
9:30:56 AM:
9:30:56 AM: build started...
9:31:00 AM: src/composables/useTresReady/createReadyEventHook/index.ts:75:29 - error TS2345: Argument of type 'Callback<T>' is not assignable to parameter of type 'Callback<T>'.
9:31:00 AM: Type '((...param: any) => void) | ([T] extends [void] ? (...param: unknown[]) => void : [T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void)' is not assignable to type 'Callback<T>'.
9:31:00 AM: Type '[T] extends [void] ? (...param: unknown[]) => void : [T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void' is not assignable to type 'Callback<T>'.
9:31:00 AM: Type '((...param: unknown[]) => void) | ([T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void)' is not assignable to type 'Callback<T>'.
9:31:00 AM: Type '[T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void' is not assignable to type 'Callback<T>'.
9:31:00 AM: Type '((...param: T) => void) | ((param_0: T, ...param: unknown[]) => void)' is not assignable to type 'Callback<T>'.
9:31:00 AM: Type '(...param: T) => void' is not assignable to type 'Callback<T>'.
9:31:00 AM: Type '[T] extends [void] ? (...param: unknown[]) => void : [T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void' is not assignable to type '[T] extends [void] ? () => void : (param: T) => void'.
9:31:00 AM: Type '((...param: unknown[]) => void) | ([T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void)' is not assignable to type '[T] extends [void] ? () => void : (param: T) => void'.
9:31:00 AM: Type '[T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void' is not assignable to type '[T] extends [void] ? () => void : (param: T) => void'.
9:31:00 AM: Type '((...param: T) => void) | ((param_0: T, ...param: unknown[]) => void)' is not assignable to type '[T] extends [void] ? () => void : (param: T) => void'.
9:31:00 AM: Type '(...param: T) => void' is not assignable to type '[T] extends [void] ? () => void : (param: T) => void'.
9:31:00 AM: Type '[T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void' is not assignable to type '(param: T) => void'.
9:31:00 AM: Type '((...param: T) => void) | ((param_0: T, ...param: unknown[]) => void)' is not assignable to type '(param: T) => void'.
9:31:00 AM: Type '(...param: T) => void' is not assignable to type '(param: T) => void'.
9:31:00 AM: Types of parameters 'param' and 'param' are incompatible.
9:31:00 AM: Type '[param: T]' is not assignable to type 'T'.
9:31:00 AM: 'T' could be instantiated with an arbitrary type which could be unrelated to '[param: T]'.
9:31:00 AM: 75 triggerSingleCallback(callback, triggerParams)
9:31:00 AM: ~~~~~~~~
9:31:00 AM: src/utils/createPriorityEventHook.ts:72:16 - error TS2322: Type '(fn: Callback<T>) => void' is not assignable to type 'EventHookOff<T>'.
9:31:00 AM: Types of parameters 'fn' and 'fn' are incompatible.
9:31:00 AM: Type 'Callback<T>' is not assignable to type 'import("/opt/build/repo/src/utils/createPriorityEventHook").Callback<T>'.
9:31:00 AM: Type '((...param: any) => void) | ([T] extends [void] ? (...param: unknown[]) => void : [T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void)' is not assignable to type 'Callback<T>'.
9:31:00 AM: Type '[T] extends [void] ? (...param: unknown[]) => void : [T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void' is not assignable to type 'Callback<T>'.
9:31:00 AM: Type '((...param: unknown[]) => void) | ([T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void)' is not assignable to type 'Callback<T>'.
9:31:00 AM: Type '[T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void' is not assignable to type 'Callback<T>'.
9:31:00 AM: Type '((...param: T) => void) | ((param_0: T, ...param: unknown[]) => void)' is not assignable to type 'Callback<T>'.
9:31:00 AM: Type '(...param: T) => void' is not assignable to type 'Callback<T>'.
9:31:00 AM: Type '[T] extends [void] ? (...param: unknown[]) => void : [T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void' is not assignable to type '[T] extends [void] ? () => void : (param: T) => void'.
9:31:00 AM: Type '((...param: unknown[]) => void) | ([T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void)' is not assignable to type '[T] extends [void] ? () => void : (param: T) => void'.
9:31:00 AM: Type '[T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void' is not assignable to type '[T] extends [void] ? () => void : (param: T) => void'.
9:31:00 AM: Type '((...param: T) => void) | ((param_0: T, ...param: unknown[]) => void)' is not assignable to type '[T] extends [void] ? () => void : (param: T) => void'.
9:31:00 AM: Type '(...param: T) => void' is not assignable to type '[T] extends [void] ? () => void : (param: T) => void'.
9:31:00 AM: Type '[T] extends [any[]] ? (...param: T) => void : (param_0: T, ...param: unknown[]) => void' is not assignable to type '(param: T) => void'.
9:31:00 AM: Type '((...param: T) => void) | ((param_0: T, ...param: unknown[]) => void)' is not assignable to type '(param: T) => void'.
9:31:00 AM: Type '(...param: T) => void' is not assignable to type '(param: T) => void'.
9:31:00 AM: Types of parameters 'param' and 'param' are incompatible.
9:31:00 AM: Type '[param: T]' is not assignable to type 'T'.
9:31:00 AM: 'T' could be instantiated with an arbitrary type which could be unrelated to '[param: T]'.
9:31:00 AM: 72 return { on, off, trigger, dispose, get count() { return eventToPriority.size } }
9:31:00 AM: ~~~
9:31:00 AM: src/utils/createPriorityEventHook.ts:22:3
9:31:00 AM: 22 off: EventHookOff<T>
9:31:00 AM: ~~~
9:31:00 AM: The expected type comes from property 'off' which is declared here on type 'PriorityEventHook<T>'
9:31:01 AM: transforming...
9:31:03 AM: node_modules/.pnpm/three-stdlib@2.35.14_three@0.173.0/node_modules/three-stdlib/libs/lottie.js (13062:32): Use of eval in "node_modules/.pnpm/three-stdlib@2.35.14_three@0.173.0/node_modules/three-stdlib/libs/lottie.js" is strongly discouraged as it poses security risks and may cause issues with minification.
9:31:03 AM: 341 modules transformed.
9:31:04 AM: rendering chunks...
9:31:04 AM:
9:31:04 AM: [vite:dts] Start generate declaration files...
9:31:04 AM: computing gzip size...
9:31:04 AM: dist/tres.js 55.25 kB │ gzip: 18.02 kB
9:31:04 AM: [vite:dts] Declaration files built in 5952ms.
9:31:04 AM:
9:31:04 AM: built in 8024ms.
9:31:05 AM: > @tresjs/core@4.3.3 docs:build /opt/build/repo
9:31:05 AM: > vitepress build docs
9:31:05 AM: vitepress v1.6.3
9:31:05 AM: - building client + server bundles...
9:31:14 AM: x Build failed in 8.93s
9:31:14 AM: building client + server bundles...
9:31:14 AM: build error:
9:31:14 AM: node_modules/.pnpm/@tresjs+cientos@4.1.0_@tresjs+core@4.3.3_three@0.173.0_typescript@5.7.3_vue@3.5.13_type_0f3587adff28cfaea89a481629229a10/node_modules/@tresjs/cientos/dist/trescientos.js (14:9): "useLogger" is not exported by "dist/tres.js", imported by "node_modules/.pnpm/@tresjs+cientos@4.1.0_@tresjs+core@4.3.3_three@0.173.0_typescript@5.7.3_vue@3.5.13_type_0f3587adff28cfaea89a481629229a10/node_modules/@tresjs/cientos/dist/trescientos.js".
9:31:14 AM: file: /opt/build/repo/node_modules/.pnpm/@tresjs+cientos@4.1.0_@tresjs+core@4.3.3_three@0.173.0_typescript@5.7.3_vue@3.5.13_type_0f3587adff28cfaea89a481629229a10/node_modules/@tresjs/cientos/dist/trescientos.js:14:9
9:31:14 AM:
9:31:14 AM: 12: import { TextureLoader as ai, DoubleSide as sn, WebGLCubeRenderTarget as oa, HalfFloatType as Dt, CubeCamera as ra, G...
9:31:14 AM: 13: import { defineComponent as ue, watch as J, ref as ge, shallowRef as re, withAsyncContext as Tn, onUnmounted as tt, o...
9:31:14 AM: 14: import { useLogger as _t, useLoader as Nn, useTresContext as xe, useLoop as Ve, normalizeVectorFlexibleParam as Ra, u...
9:31:14 AM: ^
9:31:14 AM: 15: function gc(a) {
9:31:14 AM: 16: const e = vc(a), t = [];
9:31:14 AM:
9:31:14 AM: node_modules/.pnpm/@tresjs+cientos@4.1.0_@tresjs+core@4.3.3_three@0.173.0_typescript@5.7.3_vue@3.5.13_type_0f3587adff28cfaea89a481629229a10/node_modules/@tresjs/cientos/dist/trescientos.js (14:9): "useLogger" is not exported by "dist/tres.js", imported by "node_modules/.pnpm/@tresjs+cientos@4.1.0_@tresjs+core@4.3.3_three@0.173.0_typescript@5.7.3_vue@3.5.13_type_0f3587adff28cfaea89a481629229a10/node_modules/@tresjs/cientos/dist/trescientos.js".
9:31:14 AM: file: /opt/build/repo/node_modules/.pnpm/@tresjs+cientos@4.1.0_@tresjs+core@4.3.3_three@0.173.0_typescript@5.7.3_vue@3.5.13_type_0f3587adff28cfaea89a481629229a10/node_modules/@tresjs/cientos/dist/trescientos.js:14:9
9:31:14 AM:
9:31:14 AM: 12: import { TextureLoader as ai, DoubleSide as sn, WebGLCubeRenderTarget as oa, HalfFloatType as Dt, CubeCamera as ra, G...
9:31:14 AM: 13: import { defineComponent as ue, watch as J, ref as ge, shallowRef as re, withAsyncContext as Tn, onUnmounted as tt, o...
9:31:14 AM: 14: import { useLogger as _t, useLoader as Nn, useTresContext as xe, useLoop as Ve, normalizeVectorFlexibleParam as Ra, u...
9:31:14 AM: ^
9:31:14 AM: 15: function gc(a) {
9:31:14 AM: 16: const e = vc(a), t = [];
9:31:14 AM:
9:31:14 AM: at getRollupError (file:///opt/build/repo/node_modules/.pnpm/rollup@4.34.8/node_modules/rollup/dist/es/shared/parseAst.js:397:41)
9:31:14 AM: at error (file:///opt/build/repo/node_modules/.pnpm/rollup@4.34.8/node_modules/rollup/dist/es/shared/parseAst.js:393:42)
9:31:14 AM: at Module.error (file:///opt/build/repo/node_modules/.pnpm/rollup@4.34.8/node_modules/rollup/dist/es/shared/node-entry.js:16603:16)
9:31:14 AM: at Module.traceVariable (file:///opt/build/repo/node_modules/.pnpm/rollup@4.34.8/node_modules/rollup/dist/es/shared/node-entry.js:17052:29)
9:31:14 AM: at ModuleScope.findVariable (file:///opt/build/repo/node_modules/.pnpm/rollup@4.34.8/node_modules/rollup/dist/es/shared/node-entry.js:14709:39)
9:31:14 AM: at FunctionScope.findVariable (file:///opt/build/repo/node_modules/.pnpm/rollup@4.34.8/node_modules/rollup/dist/es/shared/node-entry.js:5582:38)
9:31:14 AM: at FunctionBodyScope.findVariable (file:///opt/build/repo/node_modules/.pnpm/rollup@4.34.8/node_modules/rollup/dist/es/shared/node-entry.js:5582:38)
9:31:14 AM: at Identifier.bind (file:///opt/build/repo/node_modules/.pnpm/rollup@4.34.8/node_modules/rollup/dist/es/shared/node-entry.js:5356:40)
9:31:14 AM: at CallExpression.bind (file:///opt/build/repo/node_modules/.pnpm/rollup@4.34.8/node_modules/rollup/dist/es/shared/node-entry.js:2783:23)
9:31:14 AM: at CallExpression.bind (file:///opt/build/repo/node_modules/.pnpm/rollup@4.34.8/node_modules/rollup/dist/es/shared/node-entry.js:11865:15)
9:31:15 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
9:31:15 AM:  ELIFECYCLE  Command failed with exit code 1. (https://ntl.fyi/exit-code-1)
9:31:15 AM:
9:31:15 AM: "build.command" failed
9:31:15 AM: ────────────────────────────────────────────────────────────────
9:31:15 AM: ​
9:31:15 AM: Error message
9:31:15 AM: Command failed with exit code 1: pnpm run build && pnpm docs:build (https://ntl.fyi/exit-code-1)
9:31:15 AM: ​
9:31:15 AM: Error location
9:31:15 AM: In build.command from netlify.toml:
9:31:15 AM: pnpm run build && pnpm docs:build
9:31:15 AM: ​
9:31:15 AM: Resolved config
9:31:15 AM: build:
9:31:15 AM: command: pnpm run build && pnpm docs:build
9:31:15 AM: commandOrigin: config
9:31:15 AM: environment:
9:31:15 AM: - REVIEW_ID
9:31:15 AM: - COREPACK_INTEGRITY_KEYS
9:31:15 AM: - NODE_VERSION
9:31:15 AM: publish: /opt/build/repo/docs/.vitepress/dist
9:31:15 AM: publishOrigin: config
9:31:15 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
9:31:15 AM: Failing build: Failed to build site
9:31:15 AM: Finished processing build request in 1m33.559s

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