2:52:27 PM: Netlify Build
2:52:27 PM: ────────────────────────────────────────────────────────────────
2:52:27 PM: @netlify/build 29.54.9
2:52:27 PM: accountId: 5ac73558df99536a45b5af52
2:52:27 PM: baseRelDir: true
2:52:27 PM: buildId: 670000ecc64ce000086179d7
2:52:27 PM: deployId: 670000ecc64ce000086179d9
2:52:27 PM: ❯ Current directory
2:52:27 PM: /opt/build/repo
2:52:27 PM: ❯ Config file
2:52:27 PM: /opt/build/repo/netlify.toml
2:52:27 PM: deploy-preview
2:52:27 PM: build.command from netlify.toml
2:52:27 PM: ────────────────────────────────────────────────────────────────
2:52:27 PM: $ pnpm run build && pnpm docs:build
2:52:28 PM: > @tresjs/cientos@4.0.3 build /opt/build/repo
2:52:29 PM: ▲ ■ ♥ Tres/cientos v4.0.3
2:52:29 PM: vite v5.4.6 building for production...
2:52:29 PM: watching for file changes...
2:52:29 PM: build started...
2:52:37 PM: src/core/controls/CameraControls.vue:866:1 - error TS7056: The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed.
2:52:37 PM: 866 export default await (async () => {
2:52:37 PM: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2:52:37 PM: 867 const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
2:52:37 PM: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2:52:37 PM: src/core/controls/MapControls.vue:783:1 - error TS7056: The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed.
2:52:37 PM: 783 export default (await import('vue')).defineComponent({
2:52:37 PM: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2:52:37 PM: 784 setup() {
2:52:37 PM: 791 emits: ({} as __VLS_NormalizeEmits<__VLS_ModelEmitsType & typeof emit>),
2:52:37 PM: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2:52:37 PM: src/core/controls/OrbitControls.vue:789:1 - error TS7056: The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed.
2:52:37 PM: 789 export default (await import('vue')).defineComponent({
2:52:37 PM: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2:52:37 PM: 790 setup() {
2:52:37 PM: 797 emits: ({} as __VLS_NormalizeEmits<__VLS_ModelEmitsType & typeof emit>),
2:52:37 PM: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2:52:37 PM: src/core/controls/PointerLockControls.vue:83:41 - error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'.
2:52:37 PM: 83 controlsRef.value?.addEventListener('lock', () => isLockEmitter(true))
2:52:37 PM: src/core/controls/PointerLockControls.vue:84:41 - error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'.
2:52:37 PM: 84 controlsRef.value?.addEventListener('unlock', () => isLockEmitter(false))
2:52:37 PM: src/core/controls/PointerLockControls.vue:90:39 - error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'.
2:52:37 PM: 90 controls.value?.removeEventListener('lock', () => isLockEmitter(true))
2:52:37 PM: src/core/controls/PointerLockControls.vue:91:39 - error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'.
2:52:37 PM: 91 controls.value?.removeEventListener('unlock', () => isLockEmitter(false))
2:52:37 PM: src/core/loaders/SVG/component.vue:117:20 - error TS2345: Argument of type 'typeof SVGLoader' is not assignable to parameter of type 'LoaderProto<SVGResult>'.
2:52:37 PM: Types of construct signatures are incompatible.
2:52:37 PM: Type 'new (manager?: LoadingManager | undefined) => SVGLoader' is not assignable to type 'new (manager?: LoadingManager | undefined) => TresLoader<SVGResult>'.
2:52:37 PM: Construct signature return types 'SVGLoader' and 'TresLoader<SVGResult>' are incompatible.
2:52:37 PM: The types of 'load' are incompatible between these types.
2:52:37 PM: Type '(url: string, onLoad: (data: SVGResult) => void, onProgress?: ((event: ProgressEvent<EventTarget>) => void) | undefined, onError?: ((event: ErrorEvent) => void) | undefined) => void' is not assignable to type '(url: string | string[], onLoad: (result: SVGResult) => void, onProgress?: ((event: ProgressEvent<EventTarget>) => void) | undefined, onError?: ((event: ErrorEvent) => void) | undefined) => void'.
2:52:37 PM: Types of parameters 'url' and 'url' are incompatible.
2:52:37 PM: Type 'string | string[]' is not assignable to type 'string'.
2:52:37 PM: Type 'string[]' is not assignable to type 'string'.
2:52:37 PM: 117 return useLoader(SVGLoader, srcStr) as Promise<SVGResult>
2:52:37 PM: src/core/loaders/useFBX/index.ts:13:27 - error TS2345: Argument of type 'typeof FBXLoader' is not assignable to parameter of type 'LoaderProto<Group<Object3DEventMap>>'.
2:52:37 PM: Types of construct signatures are incompatible.
2:52:37 PM: Type 'new (manager?: LoadingManager | undefined) => FBXLoader' is not assignable to type 'new (manager?: LoadingManager | undefined) => TresLoader<Group<Object3DEventMap>>'.
2:52:37 PM: Construct signature return types 'FBXLoader' and 'TresLoader<Group<Object3DEventMap>>' are incompatible.
2:52:37 PM: The types of 'load' are incompatible between these types.
2:52:37 PM: Type '(url: string, onLoad: (object: Group<Object3DEventMap>) => void, onProgress?: ((event: ProgressEvent<EventTarget>) => void) | undefined, onError?: ((event: ErrorEvent) => void) | undefined) => void' is not assignable to type '(url: string | string[], onLoad: (result: Group<Object3DEventMap>) => void, onProgress?: ((event: ProgressEvent<EventTarget>) => void) | undefined, onError?: ((event: ErrorEvent) => void) | undefined) => void'.
2:52:37 PM: Types of parameters 'url' and 'url' are incompatible.
2:52:37 PM: Type 'string | string[]' is not assignable to type 'string'.
2:52:37 PM: Type 'string[]' is not assignable to type 'string'.
2:52:37 PM: 13 return (await useLoader(FBXLoader, path)) as unknown as Object3D
2:52:37 PM: src/core/loaders/useGLTF/index.ts:79:44 - error TS2345: Argument of type 'typeof GLTFLoader' is not assignable to parameter of type 'LoaderProto<GLTF>'.
2:52:37 PM: Types of construct signatures are incompatible.
2:52:37 PM: Type 'new (manager?: LoadingManager | undefined) => GLTFLoader' is not assignable to type 'new (manager?: LoadingManager | undefined) => TresLoader<GLTF>'.
2:52:37 PM: Construct signature return types 'GLTFLoader' and 'TresLoader<GLTF>' are incompatible.
2:52:37 PM: The types of 'load' are incompatible between these types.
2:52:37 PM: Type '(url: string, onLoad: (data: GLTF) => void, onProgress?: ((event: ProgressEvent<EventTarget>) => void) | undefined, onError?: ((err: unknown) => void) | undefined) => void' is not assignable to type '(url: string | string[], onLoad: (result: GLTF) => void, onProgress?: ((event: ProgressEvent<EventTarget>) => void) | undefined, onError?: ((event: ErrorEvent) => void) | undefined) => void'.
2:52:37 PM: Types of parameters 'url' and 'url' are incompatible.
2:52:37 PM: Type 'string | string[]' is not assignable to type 'string'.
2:52:37 PM: Type 'string[]' is not assignable to type 'string'.
2:52:37 PM: 79 const gltfModel = (await useLoader<GLTF>(GLTFLoader, path, setExtensions(options, extendLoader))) as unknown as GLTFResult
2:52:37 PM: src/core/staging/Precipitation.vue:204:8 - error TS2322: Type 'string | undefined' is not assignable to type 'Texture | Readonly<Texture | null | undefined>'.
2:52:37 PM: 204 :alpha-map="alphaMap"
2:52:37 PM: node_modules/.pnpm/@types+three@0.168.0/node_modules/@types/three/src/materials/PointsMaterial.d.ts:42:5
2:52:37 PM: 42 alphaMap: Texture | null;
2:52:37 PM: The expected type comes from property 'alphaMap' which is declared here on type 'Partial<{}> & Omit<{ readonly name?: Readonly<string | undefined>; readonly map?: Texture | Readonly<Texture | null | undefined>; ... 71 more ...; readonly dispose?: Readonly<...>; } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<...>, undefined> & Record<...>'
2:52:37 PM: src/core/staging/useEnvironment/index.ts:61:9 - error TS2322: Type 'CubeTexture | RGBELoader | (CubeTexture | RGBELoader)[]' is not assignable to type 'Texture | CubeTexture | null'.
2:52:37 PM: Type 'RGBELoader' is not assignable to type 'Texture | CubeTexture | null'.
2:52:37 PM: Type 'RGBELoader' is missing the following properties from type 'CubeTexture': isCubeTexture, image, images, mapping, and 42 more.
2:52:37 PM: 61 texture.value = await useLoader<CubeTexture | RGBELoader>(
2:52:37 PM: ~~~~~~~~~~~~~
2:52:37 PM: src/core/staging/useEnvironment/index.ts:114:9 - error TS2322: Type 'RGBELoader | RGBELoader[]' is not assignable to type 'Texture | CubeTexture | null'.
2:52:37 PM: Type 'RGBELoader' is not assignable to type 'Texture | CubeTexture | null'.
2:52:37 PM: 114 texture.value = await useLoader<RGBELoader>(
2:52:37 PM: ~~~~~~~~~~~~~
2:52:37 PM: transforming...
2:52:41 PM: node_modules/.pnpm/three-stdlib@2.32.2_three@0.168.0/node_modules/three-stdlib/libs/lottie.js (13062:32): Use of eval in "node_modules/.pnpm/three-stdlib@2.32.2_three@0.168.0/node_modules/three-stdlib/libs/lottie.js" is strongly discouraged as it poses security risks and may cause issues with minification.
2:52:42 PM: ✓ 481 modules transformed.
2:52:43 PM: rendering chunks...
2:52:43 PM: [vite:dts] Start generate declaration files...
2:52:43 PM: computing gzip size...
2:52:43 PM: [vite:dts] Declaration files built in 10623ms.
2:52:43 PM: dist/trescientos.umd.cjs 530.33 kB │ gzip: 154.05 kB
2:52:43 PM: dist/trescientos.js 716.52 kB │ gzip: 180.24 kB
2:52:43 PM: built in 14369ms.
2:52:44 PM: > @tresjs/cientos@4.0.3 docs:build /opt/build/repo
2:52:44 PM: > vitepress build docs
2:52:44 PM: vitepress v1.3.4
2:52:44 PM: - building client + server bundles...
2:52:56 PM: (!) Some chunks are larger than 500 kB after minification. Consider:
2:52:56 PM: - Using dynamic import() to code-split the application
2:52:56 PM: - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
2:53:04 PM: ✓ building client + server bundles...
2:53:04 PM: - rendering pages...
2:53:05 PM: ✓ rendering pages...
2:53:05 PM: build complete in 21.38s.
2:53:05 PM: (build.command completed in 37.9s)
2:53:06 PM: (Netlify Build completed in 38.7s)
2:53:07 PM: Section completed: building
2:53:10 PM: Finished processing build request in 1m2.886s