Deploy details
Your deploy failed due to an errorDeploy failed for svelte-pdf
Production: master@HEAD
Deploy log
Initializing
Complete
Initializing
Complete
12:04:39 PM: Build ready to start
12:04:53 PM: build-image version: 9a361c83c6a43010ba0aa3ea38214accc0223b2c (focal)
12:04:53 PM: buildbot version: 9a4374dc9e2c1cbd2a152e441d69a3a6d7e12511
12:04:53 PM: Building without cache
12:04:53 PM: Starting to prepare the repo for build
12:04:53 PM: No cached dependencies found. Cloning fresh repo
12:04:53 PM: git clone --filter=blob:none https://github.com/vinodnimbalkar/svelte-pdf
12:04:53 PM: Preparing Git Reference refs/heads/master
12:04:55 PM: Starting to install dependencies
12:04:56 PM: mise python@3.13.2 install
12:04:56 PM: mise python@3.13.2 download cpython-3.13.2+20250212-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
12:04:56 PM: mise python@3.13.2 extract cpython-3.13.2+20250212-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
12:04:57 PM: mise python@3.13.2 python --version
12:04:57 PM: mise python@3.13.2 Python 3.13.2
12:04:57 PM: mise python@3.13.2 ✓ installed
12:04:57 PM: Python version set to 3.13
12:04:58 PM: Collecting pipenv
12:04:58 PM: Downloading pipenv-2024.4.1-py3-none-any.whl.metadata (17 kB)
12:04:58 PM: Collecting certifi (from pipenv)
12:04:58 PM: Downloading certifi-2025.1.31-py3-none-any.whl.metadata (2.5 kB)
12:04:58 PM: Collecting packaging>=22 (from pipenv)
12:04:58 PM: Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
12:04:58 PM: Collecting setuptools>=67 (from pipenv)
12:04:58 PM: Downloading setuptools-75.8.2-py3-none-any.whl.metadata (6.7 kB)
12:04:58 PM: Collecting virtualenv>=20.24.2 (from pipenv)
12:04:58 PM: Downloading virtualenv-20.29.2-py3-none-any.whl.metadata (4.5 kB)
12:04:58 PM: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
12:04:58 PM: Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
12:04:58 PM: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
12:04:58 PM: Downloading filelock-3.17.0-py3-none-any.whl.metadata (2.9 kB)
12:04:58 PM: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
12:04:58 PM: Downloading platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB)
12:04:58 PM: Downloading pipenv-2024.4.1-py3-none-any.whl (3.0 MB)
12:04:59 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 58.1 MB/s eta 0:00:00
12:04:59 PM: Downloading packaging-24.2-py3-none-any.whl (65 kB)
12:04:59 PM: Downloading setuptools-75.8.2-py3-none-any.whl (1.2 MB)
12:04:59 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 99.5 MB/s eta 0:00:00
12:04:59 PM: Downloading virtualenv-20.29.2-py3-none-any.whl (4.3 MB)
12:04:59 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 196.8 MB/s eta 0:00:00
12:04:59 PM: Downloading certifi-2025.1.31-py3-none-any.whl (166 kB)
12:04:59 PM: Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
12:04:59 PM: Downloading filelock-3.17.0-py3-none-any.whl (16 kB)
12:04:59 PM: Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB)
12:04:59 PM: Installing collected packages: distlib, setuptools, platformdirs, packaging, filelock, certifi, virtualenv, pipenv
12:05:01 PM: Successfully installed certifi-2025.1.31 distlib-0.3.9 filelock-3.17.0 packaging-24.2 pipenv-2024.4.1 platformdirs-4.3.6 setuptools-75.8.2 virtualenv-20.29.2
12:05:01 PM: [notice] A new release of pip is available: 24.3.1 -> 25.0.1
12:05:01 PM: [notice] To update, run: pip install --upgrade pip
12:05:02 PM: Attempting Ruby version 2.6.2, read from environment
12:05:02 PM: Required ruby-2.6.2 is not installed - installing.
12:05:02 PM: Searching for binary rubies, this might take some time.
12:05:03 PM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/20.04/x86_64/ruby-2.6.2.tar.bz2
12:05:03 PM: Checking requirements for ubuntu.
12:05:03 PM: Requirements installation successful.
12:05:03 PM: ruby-2.6.2 - #configure
12:05:03 PM: ruby-2.6.2 - #download
12:05:03 PM: ruby-2.6.2 - #validate archive
12:05:07 PM: ruby-2.6.2 - #extract
12:05:08 PM: ruby-2.6.2 - #validate binary
12:05:09 PM: ruby-2.6.2 - #setup
12:05:10 PM: ruby-2.6.2 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.6.2@global
12:05:10 PM: ruby-2.6.2 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
12:05:10 PM: ruby-2.6.2 - #generating global wrappers........
12:05:10 PM: ruby-2.6.2 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.6.2
12:05:10 PM: ruby-2.6.2 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
12:05:10 PM: ruby-2.6.2 - #generating default wrappers........
12:05:11 PM: Using /opt/buildhome/.rvm/gems/ruby-2.6.2
12:05:11 PM: Using Ruby version 2.6.2
12:05:11 PM: Started restoring cached go cache
12:05:11 PM: Finished restoring cached go cache
12:05:11 PM: Installing Go version 1.12 (requested 1.12)
12:05:16 PM: go version go1.12 linux/amd64
12:05:16 PM: Using PHP version 8.0
12:05:18 PM: Downloading and installing node v18.20.7...
12:05:18 PM: Downloading https://nodejs.org/dist/v18.20.7/node-v18.20.7-linux-x64.tar.xz...
12:05:18 PM: Computing checksum with sha256sum
12:05:18 PM: Checksums matched!
12:05:20 PM: Now using node v18.20.7 (npm v10.8.2)
12:05:20 PM: Enabling Node.js Corepack
12:05:20 PM: Started restoring cached build plugins
12:05:20 PM: Finished restoring cached build plugins
12:05:20 PM: Started restoring cached corepack dependencies
12:05:20 PM: Finished restoring cached corepack dependencies
12:05:21 PM: No pnpm workspaces detected
12:05:21 PM: Started restoring cached node modules
12:05:21 PM: Finished restoring cached node modules
12:05:21 PM: Installing npm packages using pnpm version 10.5.0
12:05:22 PM: Lockfile is up to date, resolution step is skipped
12:05:22 PM: Progress: resolved 1, reused 0, downloaded 0, added 0
12:05:22 PM: Packages: +197
12:05:22 PM: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
12:05:23 PM: Progress: resolved 197, reused 0, downloaded 0, added 0
12:05:24 PM: Progress: resolved 197, reused 0, downloaded 192, added 192
12:05:24 PM: Progress: resolved 197, reused 0, downloaded 197, added 197, done
12:05:25 PM: dependencies:
12:05:25 PM: + @sveltejs/vite-plugin-svelte 3.1.2
12:05:25 PM: + pdfjs-dist 4.10.38
12:05:25 PM: devDependencies:
12:05:25 PM: + @sveltejs/adapter-auto 2.1.1
12:05:25 PM: + @sveltejs/kit 2.17.1
12:05:25 PM: + @sveltejs/package 2.3.10
12:05:25 PM: + eslint 9.20.0
12:05:25 PM: + eslint-config-prettier 10.0.1
12:05:25 PM: + eslint-plugin-svelte 2.46.1
12:05:25 PM: + prettier 3.4.2
12:05:25 PM: + prettier-plugin-svelte 3.3.3
12:05:25 PM: + svelte 5.19.9
12:05:25 PM: + svelte-check 3.8.6
12:05:25 PM: + svelte2tsx 0.7.34
12:05:25 PM: + typescript 5.7.3
12:05:25 PM: + vite 5.4.14
12:05:25 PM: ╭ Warning ─────────────────────────────────────────────────────────────────────╮│ ││ Ignored build scripts: esbuild, svelte-preprocess. ││ Run "pnpm approve-builds" to pick which dependencies should be allowed ││ to run scripts. ││ │╰──────────────────────────────────────────────────────────────────────────────╯
12:05:25 PM: Done in 3s using pnpm v10.5.0
12:05:25 PM: npm packages installed using pnpm
12:05:25 PM: Successfully installed dependencies
12:05:26 PM: Starting build script
12:05:27 PM: Detected 1 framework(s)
12:05:27 PM: "svelte-kit" at version "2.17.1"
12:05:27 PM: Section completed: initializing
Building
Complete
Building
Complete
12:05:28 PM: Netlify Build
12:05:28 PM: ────────────────────────────────────────────────────────────────
12:05:28 PM:
12:05:28 PM: ❯ Version
12:05:28 PM: @netlify/build 29.59.2
12:05:28 PM:
12:05:28 PM: ❯ Flags
12:05:28 PM: accountId: 5e7cbd7216195274971d45b5
12:05:28 PM: baseRelDir: true
12:05:28 PM: buildId: 67c2f7d72870ca9ba29bcd11
12:05:28 PM: deployId: 67c2f7d72870ca9ba29bcd13
12:05:28 PM:
12:05:28 PM: ❯ Current directory
12:05:28 PM: /opt/build/repo
12:05:28 PM:
12:05:28 PM: ❯ Config file
12:05:28 PM: No config file was defined: using default values.
12:05:28 PM:
12:05:28 PM: ❯ Context
12:05:28 PM: production
12:05:28 PM:
12:05:28 PM: Build command from Netlify app
12:05:28 PM: ────────────────────────────────────────────────────────────────
12:05:28 PM:
12:05:28 PM: $ npm run build
12:05:28 PM: > svelte-pdf@1.0.25 build
12:05:28 PM: > vite build
12:05:29 PM: ▲ [WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json]
12:05:29 PM: jsconfig.json:2:13:
12:05:29 PM: 2 │ "extends": "./.svelte-kit/tsconfig.json",
12:05:29 PM: ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12:05:29 PM: 12:05:29 PM [vite-plugin-svelte] You are using Svelte 5.19.9 with vite-plugin-svelte@3. Active Svelte 5 support has moved to vite-plugin-svelte@4.
12:05:29 PM: To receive bug fixes and new features update your devDependencies to "@sveltejs/vite-plugin-svelte": "^4.0.0-next.6" and install.
12:05:29 PM: For framework integrations that depend on it, you might have to add an override:
12:05:29 PM: "overrides": {"@sveltejs/vite-plugin-svelte": "^4.0.0-next.6"}
12:05:29 PM: vite v5.4.14 building SSR bundle for production...
12:05:29 PM: transforming...
12:05:30 PM: ✓ 176 modules transformed.
12:05:30 PM: rendering chunks...
12:05:30 PM: 12:05:30 PM [vite-plugin-svelte] You are using Svelte 5.19.9 with vite-plugin-svelte@3. Active Svelte 5 support has moved to vite-plugin-svelte@4.
12:05:30 PM: To receive bug fixes and new features update your devDependencies to "@sveltejs/vite-plugin-svelte": "^4.0.0-next.6" and install.
12:05:30 PM: For framework integrations that depend on it, you might have to add an override:
12:05:30 PM: "overrides": {"@sveltejs/vite-plugin-svelte": "^4.0.0-next.6"}
12:05:30 PM: vite v5.4.14 building for production...
12:05:30 PM: transforming...
12:05:32 PM: ✓ 141 modules transformed.
12:05:32 PM: rendering chunks...
12:05:32 PM: computing gzip size...
12:05:32 PM: .svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB
12:05:32 PM: .svelte-kit/output/client/.vite/manifest.json 3.58 kB │ gzip: 0.70 kB
12:05:32 PM: .svelte-kit/output/client/_app/immutable/assets/pdf.worker.BgryrOlp.mjs 2,209.73 kB
12:05:32 PM: .svelte-kit/output/client/_app/immutable/assets/2.B2DuIo8B.css 4.14 kB │ gzip: 1.01 kB
12:05:32 PM: .svelte-kit/output/client/_app/immutable/entry/start.BLMmHzHF.js 0.06 kB │ gzip: 0.08 kB
12:05:32 PM: .svelte-kit/output/client/_app/immutable/nodes/0.BRjFTiiU.js 0.33 kB │ gzip: 0.24 kB
12:05:32 PM: .svelte-kit/output/client/_app/immutable/chunks/I7Iq44MJ.js 0.37 kB │ gzip: 0.27 kB
12:05:32 PM: .svelte-kit/output/client/_app/immutable/chunks/BkQIuD3J.js 0.53 kB │ gzip: 0.34 kB
12:05:32 PM: .svelte-kit/output/client/_app/immutable/nodes/1.CWfbE2ym.js 0.56 kB │ gzip: 0.35 kB
12:05:32 PM: .svelte-kit/output/client/_app/immutable/chunks/P77Y22Gb.js 1.15 kB │ gzip: 0.62 kB
12:05:32 PM: .svelte-kit/output/client/_app/immutable/chunks/Cmv2lCNx.js 3.40 kB │ gzip: 1.70 kB
12:05:32 PM: .svelte-kit/output/client/_app/immutable/chunks/DqBxV95t.js 3.96 kB │ gzip: 1.89 kB
12:05:32 PM: .svelte-kit/output/client/_app/immutable/entry/app.3a7fZ1wi.js 5.10 kB │ gzip: 2.46 kB
12:05:32 PM: .svelte-kit/output/client/_app/immutable/chunks/CBHZSftJ.js 13.18 kB │ gzip: 5.41 kB
12:05:32 PM: .svelte-kit/output/client/_app/immutable/chunks/BsqutCuK.js 30.12 kB │ gzip: 11.90 kB
12:05:32 PM: .svelte-kit/output/client/_app/immutable/nodes/2.BG9PrZrk.js 354.24 kB │ gzip: 105.87 kB
12:05:32 PM: ✓ built in 1.56s
12:05:32 PM: .svelte-kit/output/server/.vite/manifest.json 2.76 kB
12:05:32 PM: .svelte-kit/output/server/_app/immutable/assets/_page.B2DuIo8B.css 4.14 kB
12:05:32 PM: .svelte-kit/output/server/entries/fallbacks/layout.svelte.js 0.16 kB
12:05:32 PM: .svelte-kit/output/server/internal.js 0.31 kB
12:05:32 PM: .svelte-kit/output/server/chunks/equality.js 0.33 kB
12:05:32 PM: .svelte-kit/output/server/chunks/escaping.js 0.53 kB
12:05:32 PM: .svelte-kit/output/server/entries/fallbacks/error.svelte.js 1.47 kB
12:05:32 PM: .svelte-kit/output/server/chunks/index.js 3.60 kB
12:05:32 PM: .svelte-kit/output/server/chunks/exports.js 6.90 kB
12:05:32 PM: .svelte-kit/output/server/entries/pages/_page.svelte.js 18.23 kB
12:05:32 PM: .svelte-kit/output/server/chunks/internal.js 42.46 kB
12:05:32 PM: .svelte-kit/output/server/index.js 125.29 kB
12:05:32 PM: ✓ built in 2.72s
12:05:32 PM: Run npm run preview to preview your production build locally.
12:05:32 PM:
12:05:32 PM: > Using @sveltejs/adapter-auto
12:05:32 PM: Installing @sveltejs/adapter-netlify...
12:05:33 PM: Progress: resolved 0, reused 1, downloaded 0, added 0
12:05:34 PM: Progress: resolved 208, reused 192, downloaded 3, added 0
12:05:34 PM: WARN 3 deprecated subdependencies found: glob@7.2.3, inflight@1.0.6, rimraf@2.7.1
12:05:34 PM: Packages: +4
12:05:34 PM: ++++
12:05:34 PM: Progress: resolved 270, reused 197, downloaded 4, added 4, done
12:05:35 PM: WARN Issues with peer dependencies found
12:05:35 PM: .
12:05:35 PM: ├─┬ @sveltejs/vite-plugin-svelte 3.1.2
12:05:35 PM: │ └─┬ svelte-hmr 0.16.0
12:05:35 PM: │ └── ✕ unmet peer svelte@"^3.19.0 || ^4.0.0": found 5.19.9
12:05:35 PM: ├─┬ @sveltejs/adapter-netlify 2.0.8
12:05:35 PM: │ └── ✕ unmet peer @sveltejs/kit@^1.5.0: found 2.17.1
12:05:35 PM: └─┬ @sveltejs/adapter-auto 2.1.1
12:05:35 PM: └── ✕ unmet peer @sveltejs/kit@^1.0.0: found 2.17.1
12:05:35 PM: devDependencies:
12:05:35 PM: + @sveltejs/adapter-netlify 2.0.8 (4.4.2 is available)
12:05:35 PM: ╭ Warning ─────────────────────────────────────────────────────────────────────╮│ ││ Ignored build scripts: esbuild. ││ Run "pnpm approve-builds" to pick which dependencies should be allowed ││ to run scripts. ││ │╰──────────────────────────────────────────────────────────────────────────────╯
12:05:35 PM: Done in 2.2s using pnpm v10.5.0
12:05:35 PM: Successfully installed @sveltejs/adapter-netlify.
12:05:35 PM: If you plan on staying on this deployment platform, consider replacing @sveltejs/adapter-auto with @sveltejs/adapter-netlify. This will give you faster and more robust installs, and more control over deployment configuration.
12:05:35 PM: No netlify.toml found. Using default publish directory. Consult https://kit.svelte.dev/docs/adapter-netlify#usage for more details
12:05:35 PM: ✔ done
12:05:35 PM:
12:05:35 PM: (build.command completed in 6.3s)
12:05:35 PM:
12:05:35 PM: Functions bundling
12:05:35 PM: ────────────────────────────────────────────────────────────────
12:05:35 PM:
12:05:35 PM: Packaging Functions from .netlify/functions-internal directory:
12:05:35 PM: - sveltekit-render.mjs
12:05:35 PM:
12:05:36 PM:
12:05:36 PM: (Functions bundling completed in 945ms)
12:05:36 PM:
12:05:36 PM: Finished processing build request in 43.603s
Deploying
Failed
Deploying
Failed
12:05:36 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
12:05:36 PM: Deploy site
12:05:36 PM: ────────────────────────────────────────────────────────────────
12:05:36 PM:
12:05:36 PM: Section completed: deploying
12:05:36 PM:
12:05:36 PM: Configuration error
12:05:36 PM: ────────────────────────────────────────────────────────────────
12:05:36 PM:
12:05:36 PM: Error message
12:05:36 PM: Deploy did not succeed: Deploy directory 'dist' does not exist
12:05:36 PM:
12:05:36 PM: Resolved config
12:05:36 PM: build:
12:05:36 PM: command: npm run build
12:05:36 PM: commandOrigin: ui
12:05:36 PM: publish: /opt/build/repo/dist
12:05:36 PM: publishOrigin: ui
12:05:36 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
12:05:36 PM: Failing build: Failed to build site
Cleanup
Skipped
Cleanup
Skipped
There is no log for this section
Post-processing
Skipped
Post-processing
Skipped
There is no log for this section