Skip to main content

Deploy details

Your deploy failed due to an error

Deploy failed for analog-ng-app

fix(vite-plugin-angular): reenables test bed and jit mode for partial compilations

PR #1675: shannonmoeller-fix-partial-compilation-mode@5fe778f

Deploy log

Initializing

Complete
3:17:46 PM: Build ready to start
3:18:00 PM: build-image version: 69179d37c92919bcf501ca9a8de95762ede3ffc5 (focal)
3:18:00 PM: buildbot version: f0767d95f239f529580f009938af6c81a43d4281
3:18:00 PM: Fetching cached dependencies
3:18:00 PM: Starting to download cache of 585.5MB
3:18:02 PM: Finished downloading cache in 1.718s
3:18:02 PM: Starting to extract cache
3:18:49 PM: Finished extracting cache in 47.841s
3:18:50 PM: Finished fetching cache in 49.62s
3:18:50 PM: Starting to prepare the repo for build
3:18:50 PM: Preparing Git Reference pull/1675/head
3:18:52 PM: Starting to install dependencies
3:18:53 PM: Started restoring cached mise cache
3:18:53 PM: Finished restoring cached mise cache
3:18:54 PM: mise python@3.13.2 install
3:18:54 PM: mise python@3.13.2 download cpython-3.13.2+20250317-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
3:18:55 PM: mise python@3.13.2 extract cpython-3.13.2+20250317-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
3:18:55 PM: mise python@3.13.2 python --version
3:18:55 PM: mise python@3.13.2 Python 3.13.2
3:18:55 PM: mise python@3.13.2 installed
3:18:55 PM: Python version set to 3.13
3:18:57 PM: Collecting pipenv
3:18:57 PM: Downloading pipenv-2024.4.1-py3-none-any.whl.metadata (17 kB)
3:18:57 PM: Collecting certifi (from pipenv)
3:18:57 PM: Downloading certifi-2025.1.31-py3-none-any.whl.metadata (2.5 kB)
3:18:57 PM: Collecting packaging>=22 (from pipenv)
3:18:57 PM: Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
3:18:57 PM: Collecting setuptools>=67 (from pipenv)
3:18:57 PM: Downloading setuptools-78.1.0-py3-none-any.whl.metadata (6.6 kB)
3:18:57 PM: Collecting virtualenv>=20.24.2 (from pipenv)
3:18:57 PM: Downloading virtualenv-20.30.0-py3-none-any.whl.metadata (4.5 kB)
3:18:57 PM: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
3:18:57 PM: Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
3:18:57 PM: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
3:18:57 PM: Downloading filelock-3.18.0-py3-none-any.whl.metadata (2.9 kB)
3:18:57 PM: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
3:18:57 PM: Downloading platformdirs-4.3.7-py3-none-any.whl.metadata (11 kB)
3:18:57 PM: Downloading pipenv-2024.4.1-py3-none-any.whl (3.0 MB)
3:18:58 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 55.7 MB/s eta 0:00:00
3:18:58 PM: Downloading packaging-24.2-py3-none-any.whl (65 kB)
3:18:58 PM: Downloading setuptools-78.1.0-py3-none-any.whl (1.3 MB)
3:18:58 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 55.1 MB/s eta 0:00:00
3:18:58 PM: Downloading virtualenv-20.30.0-py3-none-any.whl (4.3 MB)
3:18:58 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 67.1 MB/s eta 0:00:00
3:18:58 PM: Downloading certifi-2025.1.31-py3-none-any.whl (166 kB)
3:18:58 PM: Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
3:18:58 PM: Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
3:18:58 PM: Downloading platformdirs-4.3.7-py3-none-any.whl (18 kB)
3:18:58 PM: Installing collected packages: distlib, setuptools, platformdirs, packaging, filelock, certifi, virtualenv, pipenv
3:19:00 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.30.0
3:19:00 PM: [notice] A new release of pip is available: 24.3.1 -> 25.0.1
3:19:00 PM: [notice] To update, run: pip install --upgrade pip
3:19:00 PM: Attempting Ruby version 2.7.2, read from environment
3:19:01 PM: Using Ruby version 2.7.2
3:19:02 PM: Started restoring cached go cache
3:19:02 PM: Finished restoring cached go cache
3:19:03 PM: go version go1.19.13 linux/amd64
3:19:04 PM: Using PHP version 8.0
3:19:06 PM: Started restoring cached Node.js version
3:19:07 PM: Finished restoring cached Node.js version
3:19:07 PM: Attempting Node.js version '22.14.0' from .node-version
3:19:07 PM: v22.14.0 is already installed.
3:19:08 PM: Now using node v22.14.0 (npm v10.9.2)
3:19:08 PM: Enabling Node.js Corepack
3:19:08 PM: Started restoring cached build plugins
3:19:08 PM: Finished restoring cached build plugins
3:19:08 PM: Started restoring cached corepack dependencies
3:19:08 PM: Finished restoring cached corepack dependencies
3:19:08 PM: Started restoring cached pnpm cache
3:19:08 PM: Finished restoring cached pnpm cache
3:19:09 PM: pnpm workspaces detected
3:19:09 PM: Started restoring workspace apps/docs-app node modules
3:19:09 PM: Finished restoring workspace apps/docs-app node modules
3:19:09 PM: Started restoring workspace root node modules
3:19:09 PM: Finished restoring workspace root node modules
3:19:09 PM: Installing npm packages using pnpm version 10.4.1
3:19:09 PM: Scope: all 2 workspace projects
3:19:09 PM: Lockfile is up to date, resolution step is skipped
3:19:10 PM: Already up to date
3:19:11 PM: ╭ Warning ─────────────────────────────────────────────────────────────────────╮│ ││ Ignored build scripts: esbuild, lmdb, nx. ││ Run "pnpm approve-builds" to pick which dependencies should be allowed ││ to run scripts. ││ │╰──────────────────────────────────────────────────────────────────────────────╯
3:19:11 PM: . prepare$ git config core.hookspath .githooks
3:19:11 PM: . prepare: Done
3:19:11 PM: Done in 1.7s using pnpm v10.4.1
3:19:11 PM: npm packages installed using pnpm
3:19:11 PM: Successfully installed dependencies
3:19:11 PM: Starting build script
3:19:13 PM: Detected 3 framework(s)
3:19:13 PM: "astro" at version "4.8.7"
3:19:13 PM: "angular" at version "19.2.5"
3:19:13 PM: "vite" at version "6.2.3"
3:19:13 PM: Section completed: initializing

Building

Failed
3:19:14 PM: Netlify Build
3:19:14 PM: ────────────────────────────────────────────────────────────────
3:19:14 PM:
3:19:14 PM: ❯ Version
3:19:14 PM: @netlify/build 30.1.1
3:19:14 PM:
3:19:14 PM: ❯ Flags
3:19:14 PM: accountId: 63f8fa2b4bccc1007dd0f771
3:19:14 PM: baseRelDir: true
3:19:14 PM: buildId: 67f3ec247ae5570008bc70c0
3:19:14 PM: deployId: 67f3ec247ae5570008bc70c2
3:19:14 PM: packagePath: apps/ng-app
3:19:15 PM:
3:19:15 PM: ❯ Current directory
3:19:15 PM: /opt/build/repo
3:19:15 PM:
3:19:15 PM: ❯ Config file
3:19:15 PM: No config file was defined: using default values.
3:19:15 PM:
3:19:15 PM: ❯ Context
3:19:15 PM: deploy-preview
3:19:15 PM:
3:19:15 PM: Build command from Netlify app
3:19:15 PM: ────────────────────────────────────────────────────────────────
3:19:15 PM: ​
3:19:15 PM: $ pnpm nx build ng-app --parallel=1
3:19:16 PM: NX Running target build for project ng-app and 5 tasks it depends on:
3:19:16 PM: Nx is configured to use the legacy cache. This cache will be removed in Nx 21. Read more at https://nx.dev/deprecated/legacy-cache.
3:19:24 PM: > nx run content:build
3:19:24 PM: > nx build-package content
3:19:24 PM: Nx is configured to use the legacy cache. This cache will be removed in Nx 21. Read more at https://nx.dev/deprecated/legacy-cache.
3:19:24 PM: > nx run content:build-package:production
3:19:24 PM: Building Angular Package
3:19:24 PM:
3:19:24 PM: ------------------------------------------------------------------------------
3:19:24 PM: Building entry point '@analogjs/content/og'
3:19:24 PM: ------------------------------------------------------------------------------
3:19:24 PM: - Compiling with Angular sources in Ivy partial compilation mode.
3:19:24 PM: Browserslist: browsers data (caniuse-lite) is 6 months old. Please run:
3:19:24 PM: npx update-browserslist-db@latest
3:19:24 PM: Why you should do it regularly: https://github.com/browserslist/update-db#readme
3:19:24 PM: ✔ Compiling with Angular sources in Ivy partial compilation mode.
3:19:24 PM: ✔ Generating FESM bundles
3:19:24 PM: ✔ Built @analogjs/content/og
3:19:24 PM:
3:19:24 PM: ------------------------------------------------------------------------------
3:19:24 PM: Building entry point '@analogjs/content'
3:19:24 PM: ------------------------------------------------------------------------------
3:19:24 PM: - Compiling with Angular sources in Ivy partial compilation mode.
3:19:24 PM: ✔ Compiling with Angular sources in Ivy partial compilation mode.
3:19:24 PM: ✔ Generating FESM bundles
3:19:24 PM: - Copying assets
3:19:24 PM: ✔ Copying assets
3:19:24 PM: - Writing package manifest
3:19:24 PM: ✔ Writing package manifest
3:19:24 PM: ✔ Built @analogjs/content
3:19:24 PM:
3:19:24 PM: ------------------------------------------------------------------------------
3:19:24 PM: Building entry point '@analogjs/content/prism-highlighter'
3:19:24 PM: ------------------------------------------------------------------------------
3:19:24 PM: - Compiling with Angular sources in Ivy partial compilation mode.
3:19:24 PM: ✔ Compiling with Angular sources in Ivy partial compilation mode.
3:19:24 PM: ✔ Generating FESM bundles
3:19:24 PM: ✔ Built @analogjs/content/prism-highlighter
3:19:24 PM:
3:19:24 PM: ------------------------------------------------------------------------------
3:19:24 PM: Building entry point '@analogjs/content/shiki-highlighter'
3:19:24 PM: ------------------------------------------------------------------------------
3:19:24 PM: - Compiling with Angular sources in Ivy partial compilation mode.
3:19:24 PM: ✔ Compiling with Angular sources in Ivy partial compilation mode.
3:19:24 PM: ✔ Generating FESM bundles
3:19:24 PM: ✔ Built @analogjs/content/shiki-highlighter
3:19:24 PM:
3:19:24 PM: ------------------------------------------------------------------------------
3:19:24 PM: Built Angular Package
3:19:24 PM: - from: /opt/build/repo/packages/content
3:19:24 PM: - to: /opt/build/repo/node_modules/@analogjs/content
3:19:24 PM: ------------------------------------------------------------------------------
3:19:24 PM:
3:19:24 PM: Build at: 2025-04-07T15:19:21.250Z - Time: 1829ms
3:19:24 PM:
3:19:24 PM: NX Successfully ran target build-package for project content
3:19:24 PM: > nx build content-plugin
3:19:24 PM: Nx is configured to use the legacy cache. This cache will be removed in Nx 21. Read more at https://nx.dev/deprecated/legacy-cache.
3:19:24 PM: > nx run content-plugin:build
3:19:24 PM: Compiling TypeScript files for project "content-plugin"...
3:19:24 PM: Done compiling TypeScript files for project "content-plugin".
3:19:24 PM: ../../node_modules/@analogjs/content/plugin/README.md
3:19:24 PM: ../../node_modules/@analogjs/content/plugin/migrations.json
3:19:24 PM: NX Successfully ran target build for project content-plugin
3:19:24 PM: > npx rimraf node_modules/@analogjs/content/.npmignore
3:19:26 PM: > nx run vite-plugin-angular:build
3:19:26 PM: Compiling TypeScript files for project "vite-plugin-angular"...
3:19:26 PM: packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts:792:25 - error TS4111: Property 'supportTestBed' comes from an index signature, so it must be accessed with ['supportTestBed'].
3:19:26 PM: 792 tsCompilerOptions.supportTestBed = true;
3:19:26 PM: ~~~~~~~~~~~~~~
3:19:26 PM: packages/vite-plugin-angular/src/lib/angular-vite-plugin.ts:793:25 - error TS4111: Property 'supportJitMode' comes from an index signature, so it must be accessed with ['supportJitMode'].
3:19:26 PM: 793 tsCompilerOptions.supportJitMode = true;
3:19:26 PM: ~~~~~~~~~~~~~~
3:19:26 PM: ../../node_modules/@analogjs/vite-plugin-angular/README.md
3:19:26 PM: ../../../node_modules/@analogjs/vite-plugin-angular/migrations/migration.json
3:19:28 PM: > nx run vite-plugin-nitro:build
3:19:28 PM: Compiling TypeScript files for project "vite-plugin-nitro"...
3:19:28 PM: Done compiling TypeScript files for project "vite-plugin-nitro".
3:19:28 PM: ../../node_modules/@analogjs/vite-plugin-nitro/README.md
3:19:28 PM: ../../../../../node_modules/@analogjs/vite-plugin-nitro/src/lib/runtime/renderer-client.mjs
3:19:28 PM: ../../../../../node_modules/@analogjs/vite-plugin-nitro/src/lib/runtime/renderer-client.ts
3:19:28 PM: ../../../../../node_modules/@analogjs/vite-plugin-nitro/src/lib/runtime/renderer.ts
3:19:28 PM: ../../../node_modules/@analogjs/vite-plugin-nitro/migrations/migration.json
3:19:32 PM: > nx run router:build:production
3:19:32 PM: Building Angular Package
3:19:32 PM:
3:19:32 PM: ------------------------------------------------------------------------------
3:19:32 PM: Building entry point '@analogjs/router/tokens'
3:19:32 PM: ------------------------------------------------------------------------------
3:19:32 PM: - Compiling with Angular sources in Ivy partial compilation mode.
3:19:32 PM: Browserslist: browsers data (caniuse-lite) is 6 months old. Please run:
3:19:32 PM: npx update-browserslist-db@latest
3:19:32 PM: Why you should do it regularly: https://github.com/browserslist/update-db#readme
3:19:32 PM: ✔ Compiling with Angular sources in Ivy partial compilation mode.
3:19:32 PM: ✔ Generating FESM bundles
3:19:32 PM: ✔ Built @analogjs/router/tokens
3:19:32 PM:
3:19:32 PM: ------------------------------------------------------------------------------
3:19:32 PM: Building entry point '@analogjs/router'
3:19:32 PM: ------------------------------------------------------------------------------
3:19:32 PM: - Compiling with Angular sources in Ivy partial compilation mode.
3:19:32 PM: ✔ Compiling with Angular sources in Ivy partial compilation mode.
3:19:32 PM: ✔ Generating FESM bundles
3:19:32 PM: - Copying assets
3:19:32 PM: ✔ Copying assets
3:19:32 PM: - Writing package manifest
3:19:32 PM: ✔ Writing package manifest
3:19:32 PM: ✔ Built @analogjs/router
3:19:32 PM:
3:19:32 PM: ------------------------------------------------------------------------------
3:19:32 PM: Building entry point '@analogjs/router/server'
3:19:32 PM: ------------------------------------------------------------------------------
3:19:32 PM: - Compiling with Angular sources in Ivy partial compilation mode.
3:19:32 PM: ✔ Compiling with Angular sources in Ivy partial compilation mode.
3:19:32 PM: ✔ Generating FESM bundles
3:19:32 PM: ✔ Built @analogjs/router/server
3:19:32 PM:
3:19:32 PM: ------------------------------------------------------------------------------
3:19:32 PM: Building entry point '@analogjs/router/server/actions'
3:19:32 PM: ------------------------------------------------------------------------------
3:19:32 PM: - Compiling with Angular sources in Ivy partial compilation mode.
3:19:32 PM: ✔ Compiling with Angular sources in Ivy partial compilation mode.
3:19:32 PM: ✔ Generating FESM bundles
3:19:32 PM: ✔ Built @analogjs/router/server/actions
3:19:32 PM:
3:19:32 PM: ------------------------------------------------------------------------------
3:19:32 PM: Built Angular Package
3:19:32 PM: - from: /opt/build/repo/packages/router
3:19:32 PM: - to: /opt/build/repo/node_modules/@analogjs/router
3:19:32 PM: ------------------------------------------------------------------------------
3:19:32 PM:
3:19:32 PM: Build at: 2025-04-07T15:19:32.321Z - Time: 2713ms
3:19:32 PM:
3:19:32 PM: NX Running target build for project ng-app and 5 tasks it depends on failed
3:19:32 PM: Failed tasks:
3:19:32 PM: - vite-plugin-angular:build
3:19:32 PM: Hint: run the command with --verbose for more details.
3:19:32 PM: ┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
3:19:32 PM: │ Tasks run for command: nx build ng-app --parallel=1 │
3:19:32 PM: ├──────────────────────────────────────────────────────────────────────────────────────────────────┤
3:19:32 PM: ├────────┬─────────────────────────────────────────────────────────┬──────────┬────────────────────┤
3:19:32 PM: │ Status │ Task │ Duration │ Cache Status │
3:19:32 PM: ├────────┼─────────────────────────────────────────────────────────┼──────────┼────────────────────┤
3:19:32 PM: │ ✔ │ content:build │ 7s │ Cache Miss │
3:19:32 PM: │ ✔ │ vite-plugin-nitro:build │ 1s │ Cache Miss │
3:19:32 PM: │ ✔ │ router:build:production │ 3s │ Cache Miss │
3:19:32 PM: │ └─────────────────────────────────────────────────────────┴──────────┴────────────────────┤
3:19:32 PM: │ ✖ vite-plugin-angular:build 1s Cache Miss │
3:19:32 PM: └──────────────────────────────────────────────────────────────────────────────────────────────────┘
3:19:32 PM: ┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
3:19:32 PM: │ Nx Cloud Task Runner Report │
3:19:32 PM: ├──────────────────────────────────────────────────────────────────────────────────────────────────┤
3:19:32 PM: ├────────┬────────────────────────────────────────┬────────┬───────────────────────────────────────┤
3:19:32 PM: │ 3 │ Successful Tasks │ 75.00% │ Success Percentage │
3:19:32 PM: │ 1 │ Failed Tasks │ 25.00% │ Failure Percentage │
3:19:32 PM: ├────────┼────────────────────────────────────────┼────────┼───────────────────────────────────────┤
3:19:32 PM: │ 0 │ Cached Tasks │ 0% │ Cache Hit Percentage │
3:19:32 PM: │ 4 │ Total Executed Tasks │ 15s │ Run Duration │
3:19:32 PM: ├────────┴────────────────────────────────────────┴────────┴───────────────────────────────────────┤
3:19:32 PM: │ See more details: https://cloud.nx.app/cipes/67f3ec3eb5563e32708b5132
3:19:32 PM: └──────────────────────────────────────────────────────────────────────────────────────────────────┘
3:19:33 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
3:19:33 PM:
3:19:33 PM: "build.command" failed
3:19:33 PM: ────────────────────────────────────────────────────────────────
3:19:33 PM: ​
3:19:33 PM: Error message
3:19:33 PM: Command failed with exit code 1: pnpm nx build ng-app --parallel=1 (https://ntl.fyi/exit-code-1)
3:19:33 PM: ​
3:19:33 PM: Error location
3:19:33 PM: In Build command from Netlify app:
3:19:33 PM: pnpm nx build ng-app --parallel=1
3:19:33 PM: ​
3:19:33 PM: Resolved config
3:19:33 PM: build:
3:19:33 PM: command: pnpm nx build ng-app --parallel=1
3:19:33 PM: commandOrigin: ui
3:19:33 PM: environment:
3:19:33 PM: - REVIEW_ID
3:19:33 PM: publish: /opt/build/repo/dist/apps/ng-app/analog/public
3:19:33 PM: publishOrigin: ui
3:19:33 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
3:19:33 PM: Failing build: Failed to build site
3:19:34 PM: Finished processing build request in 1m33.727s

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