No response
When running 'pnpm install' the following error occurs:
node_modules/.pnpm/[email protected]/node_modules/better-sqlite3: Running install script, failed in 5.5s
.../node_modules/better-sqlite3 install$ prebuild-install || node-gyp rebuild --release
β prebuild-install warn install Request timed out
β gyp info it worked if it ends with ok
β gyp info using [email protected]
β gyp info using [email protected] | linux | x64
β gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
β gyp info spawn /usr/bin/python3
β gyp info spawn args [
β gyp info spawn args '/root/.local/share/pnpm/global/5/.pnpm/[email protected]/node_modules/node-gyp/gyp/gyp_main.py',
β gyp info spawn args 'binding.gyp',
β gyp info spawn args '-f',
β gyp info spawn args 'make',
β gyp info spawn args '-I',
β gyp info spawn args '/root/openstatus/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/build/config.gypi',
β gyp info spawn args '-I',
β gyp info spawn args '/root/.local/share/pnpm/global/5/.pnpm/[email protected]/node_modules/node-gyp/addon.gypi',
β gyp info spawn args '-I',
β gyp info spawn args '/root/.cache/node-gyp/20.18.0/include/node/common.gypi',
β gyp info spawn args '-Dlibrary=shared_library',
β gyp info spawn args '-Dvisibility=default',
β gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/20.18.0',
β gyp info spawn args '-Dnode_gyp_dir=/root/.local/share/pnpm/global/5/.pnpm/[email protected]/node_modules/node-gyp',
β gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/20.18.0/<(target_arch)/node.lib',
β gyp info spawn args '-Dmodule_root_dir=/root/openstatus/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3',
β gyp info spawn args '-Dnode_engine=v8',
β gyp info spawn args '--depth=.',
β gyp info spawn args '--no-parallel',
β gyp info spawn args '--generator-output',
β gyp info spawn args 'build',
β gyp info spawn args '-Goutput_dir=.'
β gyp info spawn args ]
β gyp info spawn make
β gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
β make: Entering directory '/root/openstatus/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/build'
β TOUCH ba23eeee118cd63e16015df367567cb043fed872.intermediate
β ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 ba23eeee118cd63e16015df367567cb043fed872.intermediate
β TOUCH Release/obj.target/deps/locate_sqlite3.stamp
β CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
β make: cc: No such file or directory
β make: *** [deps/sqlite3.target.mk:198: Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o] Error 127
β rm ba23eeee118cd63e16015df367567cb043fed872.intermediate
β make: Leaving directory '/root/openstatus/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/build'
β gyp ERR! build error
β gyp ERR! stack Error: `make` failed with exit code: 2
β gyp ERR! stack at ChildProcess.<anonymous> (/root/.local/share/pnpm/global/5/.pnpm/[email protected]/node_modules/node-gyp/lib/build.js:216:23)
β gyp ERR! System Linux 6.8.12-1-pve
β gyp ERR! command "/root/.nvm/versions/node/v20.18.0/bin/node" "/root/.local/share/pnpm/global/5/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
β gyp ERR! cwd /root/openstatus/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3
β gyp ERR! node -v v20.18.0
β gyp ERR! node-gyp -v v10.2.0
β gyp ERR! not ok
ββ Failed in 5.5s at /root/openstatus/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3
βELIFECYCLEβ Command failed with exit code 1.
β
β
System:
OS: Linux 6.8 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
CPU: (2) x64 Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz
Memory: 1.67 GB / 2.00 GB
Container: Yes
Shell: 5.2.15 - /bin/bash
Binaries:
Node: 20.18.0 - ~/.nvm/versions/node/v20.18.0/bin/node
npm: 10.9.0 - ~/.nvm/versions/node/v20.18.0/bin/npm
pnpm: 9.12.2 - ~/.local/share/pnpm/pnpm
npmPackages:
@biomejs/biome: 1.8.3 => 1.8.3
@turbo/gen: 1.13.3 => 1.13.3
@types/node: 20.8.0 => 20.8.0
knip: 5.16.0 => 5.16.0
turbo: 1.13.3 => 1.13.3
typescript: 5.5.2 => 5.5.2
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too