Deploy details
Your deploy failed due to an errorDeploy failed for svelte-pdf
Merge pull request #96 from vinodnimbalkar/vinodnimbalkar-patch-4 Update package.json for exampleProduction: master@217ad45
Deploy log
Initializing
Complete
Initializing
Complete
3:37:19 AM: Waiting for other deploys from your team to complete. Check the queue: https://app.netlify.com/teams/vinodnimbalkar/builds
3:38:02 AM: Build ready to start
3:39:14 AM: build-image version: f648e6419ded16d58b87206d1c66874e8172841d (focal)
3:39:14 AM: buildbot version: 036f4db3997c007a7ee0f1b16bcde8318de8beac
3:39:14 AM: Fetching cached dependencies
3:39:14 AM: Failed to fetch cache, continuing with build
3:39:14 AM: Starting to prepare the repo for build
3:39:15 AM: No cached dependencies found. Cloning fresh repo
3:39:15 AM: git clone --filter=blob:none https://github.com/vinodnimbalkar/svelte-pdf
3:39:15 AM: Preparing Git Reference refs/heads/master
3:39:16 AM: Starting to install dependencies
3:39:17 AM: mise python@3.13.1 install
3:39:18 AM: mise python@3.13.1 download cpython-3.13.1+20250106-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
3:39:18 AM: mise python@3.13.1 extract cpython-3.13.1+20250106-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
3:39:18 AM: mise python@3.13.1 python --version
3:39:18 AM: mise python@3.13.1 Python 3.13.1
3:39:18 AM: mise python@3.13.1 ✓ installed
3:39:18 AM: Python version set to 3.13
3:39:19 AM: Collecting pipenv
3:39:19 AM: Downloading pipenv-2024.4.0-py3-none-any.whl.metadata (19 kB)
3:39:19 AM: Collecting certifi (from pipenv)
3:39:19 AM: Downloading certifi-2024.12.14-py3-none-any.whl.metadata (2.3 kB)
3:39:19 AM: Collecting packaging>=22 (from pipenv)
3:39:19 AM: Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
3:39:20 AM: Collecting setuptools>=67 (from pipenv)
3:39:20 AM: Downloading setuptools-75.8.0-py3-none-any.whl.metadata (6.7 kB)
3:39:20 AM: Collecting virtualenv>=20.24.2 (from pipenv)
3:39:20 AM: Downloading virtualenv-20.28.1-py3-none-any.whl.metadata (4.5 kB)
3:39:20 AM: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
3:39:20 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
3:39:20 AM: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
3:39:20 AM: Downloading filelock-3.16.1-py3-none-any.whl.metadata (2.9 kB)
3:39:20 AM: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
3:39:20 AM: Downloading platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB)
3:39:20 AM: Downloading pipenv-2024.4.0-py3-none-any.whl (3.0 MB)
3:39:20 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 65.8 MB/s eta 0:00:00
3:39:20 AM: Downloading packaging-24.2-py3-none-any.whl (65 kB)
3:39:20 AM: Downloading setuptools-75.8.0-py3-none-any.whl (1.2 MB)
3:39:20 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 92.4 MB/s eta 0:00:00
3:39:20 AM: Downloading virtualenv-20.28.1-py3-none-any.whl (4.3 MB)
3:39:20 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 175.3 MB/s eta 0:00:00
3:39:20 AM: Downloading certifi-2024.12.14-py3-none-any.whl (164 kB)
3:39:20 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
3:39:20 AM: Downloading filelock-3.16.1-py3-none-any.whl (16 kB)
3:39:20 AM: Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB)
3:39:20 AM: Installing collected packages: distlib, setuptools, platformdirs, packaging, filelock, certifi, virtualenv, pipenv
3:39:22 AM: Successfully installed certifi-2024.12.14 distlib-0.3.9 filelock-3.16.1 packaging-24.2 pipenv-2024.4.0 platformdirs-4.3.6 setuptools-75.8.0 virtualenv-20.28.1
3:39:23 AM: Attempting Ruby version 2.6.2, read from environment
3:39:23 AM: Required ruby-2.6.2 is not installed - installing.
3:39:23 AM: Searching for binary rubies, this might take some time.
3:39:23 AM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/20.04/x86_64/ruby-2.6.2.tar.bz2
3:39:23 AM: Checking requirements for ubuntu.
3:39:24 AM: Requirements installation successful.
3:39:24 AM: ruby-2.6.2 - #configure
3:39:24 AM: ruby-2.6.2 - #download
3:39:24 AM: ruby-2.6.2 - #validate archive
3:39:27 AM: ruby-2.6.2 - #extract
3:39:29 AM: ruby-2.6.2 - #validate binary
3:39:29 AM: ruby-2.6.2 - #setup
3:39:29 AM: ruby-2.6.2 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.6.2@global
3:39:30 AM: ruby-2.6.2 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
3:39:30 AM: ruby-2.6.2 - #generating global wrappers........
3:39:30 AM: ruby-2.6.2 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.6.2
3:39:30 AM: ruby-2.6.2 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
3:39:30 AM: ruby-2.6.2 - #generating default wrappers........
3:39:30 AM: Using /opt/buildhome/.rvm/gems/ruby-2.6.2
3:39:31 AM: Using Ruby version 2.6.2
3:39:31 AM: Started restoring cached go cache
3:39:31 AM: Finished restoring cached go cache
3:39:31 AM: Installing Go version 1.12 (requested 1.12)
3:39:35 AM: go version go1.12 linux/amd64
3:39:36 AM: Using PHP version 8.0
3:39:38 AM: v18.20.5 is already installed.
3:39:38 AM: Now using node v18.20.5 (npm v10.8.2)
3:39:38 AM: Enabling Node.js Corepack
3:39:38 AM: Started restoring cached build plugins
3:39:38 AM: Finished restoring cached build plugins
3:39:38 AM: Started restoring cached corepack dependencies
3:39:38 AM: Finished restoring cached corepack dependencies
3:39:39 AM: No pnpm workspaces detected
3:39:39 AM: Started restoring cached node modules
3:39:39 AM: Finished restoring cached node modules
3:39:39 AM: Installing npm packages using pnpm version 9.15.3
3:39:39 AM: WARN Ignoring not compatible lockfile at /opt/build/repo/pnpm-lock.yaml
3:39:40 AM: Progress: resolved 1, reused 0, downloaded 0, added 0
3:39:40 AM: WARN deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
3:39:41 AM: Progress: resolved 120, reused 0, downloaded 102, added 0
3:39:41 AM: WARN 6 deprecated subdependencies found: @humanwhocodes/config-array@0.13.0, @humanwhocodes/object-schema@2.0.3, glob@7.2.3, inflight@1.0.6, rimraf@2.7.1, rimraf@3.0.2
3:39:41 AM: Packages: +206
3:39:41 AM: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3:39:42 AM: Progress: resolved 254, reused 0, downloaded 206, added 193
3:39:42 AM: Progress: resolved 254, reused 0, downloaded 206, added 206, done
3:39:42 AM: .../node_modules/svelte-preprocess postinstall$ echo "[svelte-preprocess] Don't forget to install the preprocessors packages that will be used: sass, stylus, less, postcss & postcss-load-config, coffeescript, pug, etc..."
3:39:42 AM: .../node_modules/svelte-preprocess postinstall: [svelte-preprocess] Don't forget to install the preprocessors packages that will be used: sass, stylus, less, postcss & postcss-load-config, coffeescript, pug, etc...
.../node_modules/svelte-preprocess postinstall: Done
.../node_modules/svelte-preprocess postinstall: Done
3:39:42 AM: .../esbuild@0.21.5/node_modules/esbuild postinstall$ node install.js
3:39:42 AM: .../esbuild@0.21.5/node_modules/esbuild postinstall: Done
3:39:42 AM: .../node_modules/@sveltejs/kit postinstall$ node postinstall.js
3:39:43 AM: .../node_modules/@sveltejs/kit postinstall: Done
3:39:43 AM: dependencies:
3:39:43 AM: + @sveltejs/vite-plugin-svelte 3.1.2 (5.0.3 is available)
3:39:43 AM: + pdfjs-dist 4.10.38
3:39:43 AM: devDependencies:
3:39:43 AM: + @sveltejs/adapter-auto 3.3.1
3:39:43 AM: + @sveltejs/kit 2.15.2
3:39:43 AM: + @sveltejs/package 2.3.7
3:39:43 AM: + eslint 8.57.1 (9.18.0 is available) deprecated
3:39:43 AM: + eslint-config-prettier 9.1.0
3:39:43 AM: + eslint-plugin-svelte 2.46.1
3:39:43 AM: + prettier 3.4.2
3:39:43 AM: + prettier-plugin-svelte 3.3.2
3:39:43 AM: + svelte 4.2.19 (5.17.3 is available)
3:39:43 AM: + svelte-check 3.8.6 (4.1.3 is available)
3:39:43 AM: + svelte2tsx 0.7.34
3:39:43 AM: + typescript 5.7.3
3:39:43 AM: + vite 5.4.11 (6.0.7 is available)
3:39:43 AM: Done in 3.9s
3:39:43 AM: npm packages installed using pnpm
3:39:44 AM: Successfully installed dependencies
3:39:44 AM: Starting build script
3:39:45 AM: Detected 1 framework(s)
3:39:45 AM: "svelte-kit" at version "2.15.2"
3:39:45 AM: Section completed: initializing
Building
Complete
Building
Complete
3:39:47 AM: Netlify Build
3:39:47 AM: ────────────────────────────────────────────────────────────────
3:39:47 AM:
3:39:47 AM: ❯ Version
3:39:47 AM: @netlify/build 29.58.2
3:39:47 AM:
3:39:47 AM: ❯ Flags
3:39:47 AM: accountId: 5e7cbd7216195274971d45b5
3:39:47 AM: baseRelDir: true
3:39:47 AM: buildId: 678338ef49707b0008ccf1a0
3:39:47 AM: deployId: 678338ef49707b0008ccf1a2
3:39:47 AM:
3:39:47 AM: ❯ Current directory
3:39:47 AM: /opt/build/repo
3:39:47 AM:
3:39:47 AM: ❯ Config file
3:39:47 AM: No config file was defined: using default values.
3:39:47 AM:
3:39:47 AM: ❯ Context
3:39:47 AM: production
3:39:47 AM:
3:39:47 AM: Build command from Netlify app
3:39:47 AM: ────────────────────────────────────────────────────────────────
3:39:47 AM:
3:39:47 AM: $ npm run build
3:39:47 AM: > svelte-pdf@1.0.24 build
3:39:47 AM: > vite build
3:39:48 AM: vite v5.4.11 building SSR bundle for production...
3:39:48 AM: transforming...
3:39:48 AM: ✓ 103 modules transformed.
3:39:49 AM: rendering chunks...
3:39:49 AM: vite v5.4.11 building for production...
3:39:49 AM: transforming...
3:39:50 AM: ✓ 75 modules transformed.
3:39:50 AM: rendering chunks...
3:39:50 AM: computing gzip size...
3:39:50 AM: .svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB
3:39:50 AM: .svelte-kit/output/client/.vite/manifest.json 2.90 kB │ gzip: 0.58 kB
3:39:50 AM: .svelte-kit/output/client/_app/immutable/assets/pdf.worker.BgryrOlp.mjs 2,209.73 kB
3:39:50 AM: .svelte-kit/output/client/_app/immutable/assets/2.B2DuIo8B.css 4.14 kB │ gzip: 1.01 kB
3:39:50 AM: .svelte-kit/output/client/_app/immutable/entry/start.DgRE-j39.js 0.07 kB │ gzip: 0.08 kB
3:39:50 AM: .svelte-kit/output/client/_app/immutable/nodes/0.C7qQyYBi.js 0.60 kB │ gzip: 0.39 kB
3:39:50 AM: .svelte-kit/output/client/_app/immutable/nodes/1.Dp35szt9.js 0.97 kB │ gzip: 0.57 kB
3:39:50 AM: .svelte-kit/output/client/_app/immutable/chunks/scheduler.CCsPr6_G.js 2.36 kB │ gzip: 1.10 kB
3:39:50 AM: .svelte-kit/output/client/_app/immutable/entry/app.B-bugioD.js 6.25 kB │ gzip: 2.57 kB
3:39:50 AM: .svelte-kit/output/client/_app/immutable/chunks/index.D3ZTHtdL.js 8.34 kB │ gzip: 3.62 kB
3:39:50 AM: .svelte-kit/output/client/_app/immutable/chunks/entry.Bsp19Y7i.js 28.96 kB │ gzip: 11.51 kB
3:39:50 AM: .svelte-kit/output/client/_app/immutable/nodes/2.B397L_qt.js 361.15 kB │ gzip: 106.32 kB
3:39:50 AM: ✓ built in 1.60s
3:39:50 AM: .svelte-kit/output/server/.vite/manifest.json 2.62 kB
3:39:50 AM: .svelte-kit/output/server/_app/immutable/assets/_page.B2DuIo8B.css 4.14 kB
3:39:50 AM: .svelte-kit/output/server/chunks/ssr2.js 0.10 kB
3:39:50 AM: .svelte-kit/output/server/entries/fallbacks/layout.svelte.js 0.24 kB
3:39:50 AM: .svelte-kit/output/server/internal.js 0.31 kB
3:39:50 AM: .svelte-kit/output/server/entries/fallbacks/error.svelte.js 1.51 kB
3:39:50 AM: .svelte-kit/output/server/chunks/ssr.js 3.80 kB
3:39:50 AM: .svelte-kit/output/server/chunks/exports.js 6.13 kB
3:39:50 AM: .svelte-kit/output/server/chunks/internal.js 6.25 kB
3:39:50 AM: .svelte-kit/output/server/entries/pages/_page.svelte.js 53.51 kB
3:39:50 AM: .svelte-kit/output/server/index.js 121.93 kB
3:39:50 AM: ✓ built in 2.52s
3:39:50 AM: Run npm run preview to preview your production build locally.
3:39:50 AM:
3:39:50 AM: > Using @sveltejs/adapter-auto
3:39:51 AM: Installing @sveltejs/adapter-netlify...
3:39:51 AM: Progress: resolved 0, reused 1, downloaded 0, added 0
3:39:52 AM: WARN deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
3:39:52 AM: WARN 6 deprecated subdependencies found: @humanwhocodes/config-array@0.13.0, @humanwhocodes/object-schema@2.0.3, glob@7.2.3, inflight@1.0.6, rimraf@2.7.1, rimraf@3.0.2
3:39:52 AM: Packages: +4
3:39:52 AM: ++++
3:39:52 AM: Progress: resolved 280, reused 206, downloaded 3, added 3
3:39:52 AM: Progress: resolved 280, reused 206, downloaded 4, added 4, done
3:39:53 AM: .../esbuild@0.19.12/node_modules/esbuild postinstall$ node install.js
3:39:53 AM: .../esbuild@0.19.12/node_modules/esbuild postinstall: Done
3:39:53 AM: devDependencies:
3:39:53 AM: + @sveltejs/adapter-netlify 3.0.2 (4.4.0 is available)
3:39:53 AM: Done in 2s
3:39:53 AM: Successfully installed @sveltejs/adapter-netlify.
3:39:53 AM: 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.
3:39:53 AM: No netlify.toml found. Using default publish directory. Consult https://kit.svelte.dev/docs/adapter-netlify#usage for more details
3:39:53 AM: ✔ done
3:39:53 AM:
3:39:53 AM: (build.command completed in 6s)
3:39:53 AM:
3:39:53 AM: Functions bundling
3:39:53 AM: ────────────────────────────────────────────────────────────────
3:39:53 AM:
3:39:53 AM: Packaging Functions from .netlify/functions-internal directory:
3:39:53 AM: - sveltekit-render.mjs
3:39:53 AM:
3:39:54 AM:
3:39:54 AM: (Functions bundling completed in 623ms)
3:39:54 AM:
3:39:54 AM: Finished processing build request in 40.238s
Deploying
Failed
Deploying
Failed
3:39:54 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
3:39:54 AM: Deploy site
3:39:54 AM: ────────────────────────────────────────────────────────────────
3:39:54 AM:
3:39:54 AM: Section completed: deploying
3:39:54 AM:
3:39:54 AM: Configuration error
3:39:54 AM: ────────────────────────────────────────────────────────────────
3:39:54 AM:
3:39:54 AM: Error message
3:39:54 AM: Deploy did not succeed: Deploy directory 'public' does not exist
3:39:54 AM:
3:39:54 AM: Resolved config
3:39:54 AM: build:
3:39:54 AM: command: npm run build
3:39:54 AM: commandOrigin: ui
3:39:54 AM: publish: /opt/build/repo/public
3:39:54 AM: publishOrigin: ui
3:39:54 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
3:39:54 AM: 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