Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to deploy to Vercel #3

Open
unforetold opened this issue Mar 11, 2025 · 1 comment
Open

Unable to deploy to Vercel #3

unforetold opened this issue Mar 11, 2025 · 1 comment

Comments

@unforetold
Copy link

When using the deploy to vercel button, (or manually copying in the link) the deployment always fails.

[20:44:22.167] Running build in Washington, D.C., USA (East) – iad1 [20:44:22.276] Cloning gitlab.com/unforestudios/starlight (Branch: main, Commit: ff9af5f) [20:44:22.387] Previous build caches not available [20:44:23.288] Cloning completed: 1.011s [20:44:23.649] Running "vercel build" [20:44:24.032] Vercel CLI 41.2.2 [20:44:24.146] WARN! Due to buildsexisting in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings [20:44:24.685] Installing dependencies... [20:44:24.685] Detectedpnpm-lock.yaml9 which may be generated by [email protected] or [email protected] [20:44:24.686] Using [email protected] based on project creation date [20:44:24.686] To use [email protected], manually opt in using corepack (https://vercel.com/docs/deployments/configure-a-build#corepack) [20:44:25.290] Lockfile is up to date, resolution step is skipped [20:44:25.352] Progress: resolved 1, reused 0, downloaded 0, added 0 [20:44:25.502] Packages: +621 [20:44:25.502] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [20:44:26.353] Progress: resolved 621, reused 0, downloaded 129, added 123 [20:44:26.414] Packages are cloned from the content-addressable store to the virtual store. [20:44:26.414] Content-addressable store is at: /vercel/.local/share/pnpm/store/v3 [20:44:26.414] Virtual store is at: node_modules/.pnpm [20:44:27.353] Progress: resolved 621, reused 0, downloaded 351, added 343 [20:44:28.354] Progress: resolved 621, reused 0, downloaded 449, added 447 [20:44:29.143] Progress: resolved 621, reused 0, downloaded 621, added 621, done [20:44:29.354] .../[email protected]/node_modules/esbuild postinstall$ node install.js [20:44:29.354] .../[email protected]/node_modules/sqlite3 install$ prebuild-install -r napi || node-gyp rebuild [20:44:29.355] .../node_modules/bufferutil install$ node-gyp-build [20:44:29.356] .../[email protected]/node_modules/esbuild postinstall$ node install.js [20:44:29.454] .../[email protected]/node_modules/esbuild postinstall: Done [20:44:29.475] .../[email protected]/node_modules/esbuild postinstall: Done [20:44:29.503] .../node_modules/bufferutil install: Done [20:44:29.535] .../[email protected]/node_modules/sqlite3 install: prebuild-install warn This package does not support N-API version undefined [20:44:29.626] .../[email protected]/node_modules/sqlite3 install: prebuild-install warn install No prebuilt binaries found (target=undefined runtime=napi arch=x64 libc= platform=linux) [20:44:29.696] .../[email protected]/node_modules/sqlite3 install: gyp info it worked if it ends with ok [20:44:29.696] .../[email protected]/node_modules/sqlite3 install: gyp info using [email protected] [20:44:29.696] .../[email protected]/node_modules/sqlite3 install: gyp info using [email protected] | linux | x64 [20:44:29.736] .../[email protected]/node_modules/sqlite3 install: (node:136) [DEP0060] DeprecationWarning: Theutil._extendAPI is deprecated. Please use Object.assign() instead. [20:44:29.737] .../[email protected]/node_modules/sqlite3 install: (Usenode --trace-deprecation ...to show where the warning was created) [20:44:29.778] .../[email protected]/node_modules/sqlite3 install: gyp info find Python using Python version 3.12.2 found at "/usr/local/bin/python3" [20:44:29.894] .../[email protected]/node_modules/sqlite3 install: gyp http GET https://nodejs.org/download/release/v22.14.0/node-v22.14.0-headers.tar.gz [20:44:29.979] .../[email protected]/node_modules/sqlite3 install: gyp http 200 https://nodejs.org/download/release/v22.14.0/node-v22.14.0-headers.tar.gz [20:44:31.152] .../[email protected]/node_modules/sqlite3 install: gyp http GET https://nodejs.org/download/release/v22.14.0/SHASUMS256.txt [20:44:31.181] .../[email protected]/node_modules/sqlite3 install: gyp http 200 https://nodejs.org/download/release/v22.14.0/SHASUMS256.txt [20:44:31.188] .../[email protected]/node_modules/sqlite3 install: gyp info spawn /usr/local/bin/python3 [20:44:31.188] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args [ [20:44:31.189] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '/vercel/path0/node_modules/.pnpm/[email protected]/node_modules/node-gyp/gyp/gyp_main.py', [20:44:31.189] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args 'binding.gyp', [20:44:31.189] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '-f', [20:44:31.189] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args 'make', [20:44:31.189] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '-I', [20:44:31.189] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '/vercel/path0/node_modules/.pnpm/[email protected]/node_modules/sqlite3/build/config.gypi', [20:44:31.189] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '-I', [20:44:31.190] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '/vercel/path0/node_modules/.pnpm/[email protected]/node_modules/node-gyp/addon.gypi', [20:44:31.190] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '-I', [20:44:31.190] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '/vercel/.cache/node-gyp/22.14.0/include/node/common.gypi', [20:44:31.190] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '-Dlibrary=shared_library', [20:44:31.190] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '-Dvisibility=default', [20:44:31.190] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '-Dnode_root_dir=/vercel/.cache/node-gyp/22.14.0', [20:44:31.191] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '-Dnode_gyp_dir=/vercel/path0/node_modules/.pnpm/[email protected]/node_modules/node-gyp', [20:44:31.191] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '-Dnode_lib_file=/vercel/.cache/node-gyp/22.14.0/<(target_arch)/node.lib', [20:44:31.191] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '-Dmodule_root_dir=/vercel/path0/node_modules/.pnpm/[email protected]/node_modules/sqlite3', [20:44:31.191] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '-Dnode_engine=v8', [20:44:31.191] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '--depth=.', [20:44:31.191] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '--no-parallel', [20:44:31.191] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '--generator-output', [20:44:31.192] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args 'build', [20:44:31.192] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args '-Goutput_dir=.' [20:44:31.192] .../[email protected]/node_modules/sqlite3 install: gyp info spawn args ] [20:44:31.289] .../[email protected]/node_modules/sqlite3 install: Traceback (most recent call last): [20:44:31.290] .../[email protected]/node_modules/sqlite3 install: File "/vercel/path0/node_modules/.pnpm/[email protected]/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module> [20:44:31.290] .../[email protected]/node_modules/sqlite3 install: import gyp # noqa: E402 [20:44:31.291] .../[email protected]/node_modules/sqlite3 install: ^^^^^^^^^^ [20:44:31.291] .../[email protected]/node_modules/sqlite3 install: File "/vercel/path0/node_modules/.pnpm/[email protected]/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module> [20:44:31.291] .../[email protected]/node_modules/sqlite3 install: import gyp.input [20:44:31.291] .../[email protected]/node_modules/sqlite3 install: File "/vercel/path0/node_modules/.pnpm/[email protected]/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module> [20:44:31.291] .../[email protected]/node_modules/sqlite3 install: from distutils.version import StrictVersion [20:44:31.291] .../[email protected]/node_modules/sqlite3 install: ModuleNotFoundError: No module named 'distutils' [20:44:31.298] .../[email protected]/node_modules/sqlite3 install: gyp ERR! configure error [20:44:31.299] .../[email protected]/node_modules/sqlite3 install: gyp ERR! stack Error:gypfailed with exit code: 1 [20:44:31.299] .../[email protected]/node_modules/sqlite3 install: gyp ERR! stack at ChildProcess.onCpExit (/vercel/path0/node_modules/.pnpm/[email protected]/node_modules/node-gyp/lib/configure.js:259:16) [20:44:31.299] .../[email protected]/node_modules/sqlite3 install: gyp ERR! stack at ChildProcess.emit (node:events:518:28) [20:44:31.299] .../[email protected]/node_modules/sqlite3 install: gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12) [20:44:31.299] .../[email protected]/node_modules/sqlite3 install: gyp ERR! System Linux 5.10.174 [20:44:31.299] .../[email protected]/node_modules/sqlite3 install: gyp ERR! command "/node22/bin/node" "/vercel/path0/node_modules/.pnpm/[email protected]/node_modules/node-gyp/bin/node-gyp.js" "rebuild" [20:44:31.300] .../[email protected]/node_modules/sqlite3 install: gyp ERR! cwd /vercel/path0/node_modules/.pnpm/[email protected]/node_modules/sqlite3 [20:44:31.300] .../[email protected]/node_modules/sqlite3 install: gyp ERR! node -v v22.14.0 [20:44:31.300] .../[email protected]/node_modules/sqlite3 install: gyp ERR! node-gyp -v v8.4.1 [20:44:31.300] .../[email protected]/node_modules/sqlite3 install: gyp ERR! not ok [20:44:31.306] .../[email protected]/node_modules/sqlite3 install: Failed [20:44:31.307]  ELIFECYCLE  Command failed with exit code 1. [20:44:31.340] Error: Command "pnpm install" exited with 1 [20:44:31.626]
It clones into my gitlab successfully, however then it errors. I cannout figure out why nor how I myself could manually fix it.

Image

@unforetold
Copy link
Author

unforetold commented Mar 11, 2025

I would like to also mention, that as there is no render.yaml file, it is impossible to host on render too.
Edit: I removed the image as that was for lunaar.org, but it's the same case here. I've just been trying different things, it's no biggie just a little annoying it doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant