Skip to content

Instantly share code, notes, and snippets.

@TheMeinerLP
Created February 24, 2025 12:55
Show Gist options
  • Save TheMeinerLP/4896ecfb875284de33d6e6fa8bec8766 to your computer and use it in GitHub Desktop.
Save TheMeinerLP/4896ecfb875284de33d6e6fa8bec8766 to your computer and use it in GitHub Desktop.
Nuxt Build Error
2025-02-24T12:30:16.07192Z Cloning repository...
2025-02-24T12:30:16.731979Z From https://github.com/OneLiteFeatherNET/Launchpad
2025-02-24T12:30:16.732361Z * branch c3a295d5bad133e0e4cdb0200a103a773fdd8841 -> FETCH_HEAD
2025-02-24T12:30:16.732459Z
2025-02-24T12:30:16.765523Z HEAD is now at c3a295d add wrangler and workerd dependencies to package.json
2025-02-24T12:30:16.765965Z
2025-02-24T12:30:16.84301Z
2025-02-24T12:30:16.843457Z Using v2 root directory strategy
2025-02-24T12:30:16.864007Z Success: Finished cloning repository files
2025-02-24T12:30:18.45979Z Checking for configuration in a Wrangler configuration file (BETA)
2025-02-24T12:30:18.460268Z
2025-02-24T12:30:19.560779Z No wrangler.toml file found. Continuing.
2025-02-24T12:30:19.626988Z Detected the following tools from environment: [email protected], [email protected]
2025-02-24T12:30:21.162167Z Installing project dependencies: pnpm install
2025-02-24T12:30:21.867466Z Lockfile is up to date, resolution step is skipped
2025-02-24T12:30:21.957856Z Progress: resolved 1, reused 0, downloaded 0, added 0
2025-02-24T12:30:22.19379Z Packages: +880
2025-02-24T12:30:22.19409Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2025-02-24T12:30:22.959452Z Progress: resolved 880, reused 0, downloaded 116, added 112
2025-02-24T12:30:23.95941Z Progress: resolved 880, reused 0, downloaded 345, added 340
2025-02-24T12:30:24.96086Z Progress: resolved 880, reused 0, downloaded 510, added 503
2025-02-24T12:30:25.960694Z Progress: resolved 880, reused 0, downloaded 795, added 787
2025-02-24T12:30:26.961278Z Progress: resolved 880, reused 0, downloaded 879, added 879
2025-02-24T12:30:27.275806Z Progress: resolved 880, reused 0, downloaded 880, added 880, done
2025-02-24T12:30:27.749289Z
2025-02-24T12:30:27.749536Z dependencies:
2025-02-24T12:30:27.749684Z + @nuxt/content 3.2.1
2025-02-24T12:30:27.749814Z + @nuxtjs/google-fonts 3.2.0
2025-02-24T12:30:27.749912Z + @rollup/rollup-darwin-x64 4.34.8
2025-02-24T12:30:27.75002Z + @tailwindcss/oxide-darwin-x64 4.0.8
2025-02-24T12:30:27.750122Z + @tailwindcss/vite 4.0.8
2025-02-24T12:30:27.750222Z + lightningcss-darwin-x64 1.29.1
2025-02-24T12:30:27.750323Z + nuxt 3.15.4
2025-02-24T12:30:27.750479Z + tailwindcss 4.0.8
2025-02-24T12:30:27.750593Z + vue 3.5.13
2025-02-24T12:30:27.750684Z + vue-router 4.5.0
2025-02-24T12:30:27.75083Z + wrangler 3.109.3
2025-02-24T12:30:27.750928Z
2025-02-24T12:30:27.751075Z ╭ Warning ─────────────────────────────────────────────────────────────────────╮│ ││ Ignored build scripts: @parcel/watcher, better-sqlite3, esbuild, sharp, ││ workerd. ││ Run "pnpm approve-builds" to pick which dependencies should be allowed ││ to run scripts. ││ │╰──────────────────────────────────────────────────────────────────────────────╯
2025-02-24T12:30:27.751378Z
2025-02-24T12:30:27.759628Z
2025-02-24T12:30:27.759846Z > nuxt-app@ postinstall /opt/buildhome/repo
2025-02-24T12:30:27.760038Z > nuxt prepare
2025-02-24T12:30:27.760143Z
2025-02-24T12:30:30.222866Z [start] [nuxt:google-fonts] Downloading fonts...
2025-02-24T12:30:30.303299Z [success] [nuxt:google-fonts] https://fonts.googleapis.com/css2?family=Roboto&family=Montserrat&display=swap
2025-02-24T12:30:30.32576Z [info] [nuxt:google-fonts] Montserrat-400
2025-02-24T12:30:30.373681Z [info] [nuxt:google-fonts] Roboto-400
2025-02-24T12:30:30.407667Z [success] [nuxt:google-fonts] Download fonts completed.
2025-02-24T12:30:30.408205Z [log] [nuxt:google-fonts]
2025-02-24T12:30:30.957099Z [warn] [@nuxt/content] Deploying to Cloudflare Pages requires using D1 database, switching to D1 database with binding `DB`.
2025-02-24T12:30:31.688888Z [success] [ nuxi ] Types generated in .nuxt
2025-02-24T12:30:31.711187Z Done in 10.2s using pnpm v10.4.1
2025-02-24T12:30:31.81192Z Executing user command: npx nuxi build --preset=cloudflare_pages
2025-02-24T12:30:33.2554Z [log] [ nuxi ] Nuxt 3.15.4 with Nitro 2.10.4
2025-02-24T12:30:35.705587Z [error] Could not locate the bindings file. Tried:
2025-02-24T12:30:35.705885Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/build/better_sqlite3.node
2025-02-24T12:30:35.706074Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
2025-02-24T12:30:35.70625Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/build/Release/better_sqlite3.node
2025-02-24T12:30:35.706319Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
2025-02-24T12:30:35.7064Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/Debug/better_sqlite3.node
2025-02-24T12:30:35.706539Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/out/Release/better_sqlite3.node
2025-02-24T12:30:35.706651Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/Release/better_sqlite3.node
2025-02-24T12:30:35.706771Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/build/default/better_sqlite3.node
2025-02-24T12:30:35.706877Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/compiled/18.17.1/linux/x64/better_sqlite3.node
2025-02-24T12:30:35.706978Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
2025-02-24T12:30:35.707106Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
2025-02-24T12:30:35.707223Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
2025-02-24T12:30:35.707304Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/lib/binding/node-v108-linux-x64/better_sqlite3.node
2025-02-24T12:30:35.707432Z → node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/build/better_sqlite3.node
2025-02-24T12:30:35.707553Z → node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
2025-02-24T12:30:35.707663Z → node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/build/Release/better_sqlite3.node
2025-02-24T12:30:35.707777Z → node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
2025-02-24T12:30:35.707933Z → node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/Debug/better_sqlite3.node
2025-02-24T12:30:35.708086Z → node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/out/Release/better_sqlite3.node
2025-02-24T12:30:35.708188Z → node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/Release/better_sqlite3.node
2025-02-24T12:30:35.70828Z → node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/build/default/better_sqlite3.node
2025-02-24T12:30:35.708356Z → node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/compiled/18.17.1/linux/x64/better_sqlite3.node
2025-02-24T12:30:35.708433Z → node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
2025-02-24T12:30:35.708536Z → node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
2025-02-24T12:30:35.708606Z → node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
2025-02-24T12:30:35.708685Z → node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/lib/binding/node-v108-linux-x64/better_sqlite3.node
2025-02-24T12:30:35.708799Z at bindings (node_modules/.pnpm/[email protected]/node_modules/bindings/bindings.js:126:9)
2025-02-24T12:30:35.708905Z at new Database (node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/lib/database.js:48:64)
2025-02-24T12:30:35.709004Z at getDB (node_modules/.pnpm/[email protected][email protected]/node_modules/db0/connectors/better-sqlite3.mjs:19:11)
2025-02-24T12:30:35.709111Z at Object.exec (node_modules/.pnpm/[email protected][email protected]/node_modules/db0/connectors/better-sqlite3.mjs:27:14)
2025-02-24T12:30:35.709205Z at getLocalDatabase (node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxt/content/dist/module.mjs:345:12)
2025-02-24T12:30:35.709304Z at async processCollectionItems (node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxt/content/dist/module.mjs:2441:14)
2025-02-24T12:30:35.709405Z at async node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxt/content/dist/module.mjs:2420:20
2025-02-24T12:30:35.709556Z at async initNuxt (node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_b_be15cba0a35ea54ec16f7d8bd61b43b8/node_modules/nuxt/dist/shared/nuxt.CrJjphBv.mjs:5343:3)
2025-02-24T12:30:35.709676Z at async loadNuxt (node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_b_be15cba0a35ea54ec16f7d8bd61b43b8/node_modules/nuxt/dist/shared/nuxt.CrJjphBv.mjs:5527:5)
2025-02-24T12:30:35.709784Z at async Module.loadNuxt (node_modules/.pnpm/@[email protected][email protected]/node_modules/@nuxt/kit/dist/index.mjs:2676:19)
2025-02-24T12:30:35.709859Z
2025-02-24T12:30:35.709938Z [error] Could not locate the bindings file. Tried:
2025-02-24T12:30:35.710015Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/build/better_sqlite3.node
2025-02-24T12:30:35.710096Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/build/Debug/better_sqlite3.node
2025-02-24T12:30:35.710191Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/build/Release/better_sqlite3.node
2025-02-24T12:30:35.710289Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/out/Debug/better_sqlite3.node
2025-02-24T12:30:35.710394Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/Debug/better_sqlite3.node
2025-02-24T12:30:35.710495Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/out/Release/better_sqlite3.node
2025-02-24T12:30:35.710596Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/Release/better_sqlite3.node
2025-02-24T12:30:35.710726Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/build/default/better_sqlite3.node
2025-02-24T12:30:35.710842Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/compiled/18.17.1/linux/x64/better_sqlite3.node
2025-02-24T12:30:35.710966Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/addon-build/release/install-root/better_sqlite3.node
2025-02-24T12:30:35.711086Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/addon-build/debug/install-root/better_sqlite3.node
2025-02-24T12:30:35.711182Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/addon-build/default/install-root/better_sqlite3.node
2025-02-24T12:30:35.711289Z → /opt/buildhome/repo/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/lib/binding/node-v108-linux-x64/better_sqlite3.node
2025-02-24T12:30:35.730011Z Failed: Error while executing user command. Exited with error code: 1
2025-02-24T12:30:35.740579Z Failed: build command exited with code: 1
2025-02-24T12:30:37.562754Z Failed: error occurred while running build command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment