FreeBSD installation broken #1069

Closed
opened 2026-02-28 02:08:59 -05:00 by deekerman · 1 comment
Owner

Originally created by @ARPABoy on GitHub (May 6, 2022).

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

npm ci --production step doenst work:
UptimeKuma # ~/uptime-kuma> npm ci --production npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. npm ERR! code 1 npm ERR! path /root/uptime-kuma/node_modules/@louislam/sqlite3 npm ERR! command failed npm ERR! command sh -c node-pre-gyp install --fallback-to-build npm ERR! gmake: Entering directory '/root/uptime-kuma/node_modules/@louislam/sqlite3/build' npm ERR! CC(target) Release/obj.target/nothing/../../node-addon-api/nothing.o npm ERR! AR(target) Release/obj.target/../../node-addon-api/nothing.a npm ERR! COPY Release/nothing.a npm ERR! ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3380200/sqlite3.c npm ERR! TOUCH Release/obj.target/deps/action_before_build.stamp npm ERR! CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3380200/sqlite3.o npm ERR! gmake: Leaving directory '/root/uptime-kuma/node_modules/@louislam/sqlite3/build' npm ERR! Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1) npm ERR! node-pre-gyp info it worked if it ends with ok npm ERR! node-pre-gyp info using node-pre-gyp@1.0.9 npm ERR! node-pre-gyp info using node@17.0.1 | freebsd | x64 npm ERR! node-pre-gyp info check checked for "/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node" (not found) npm ERR! node-pre-gyp http GET https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz npm ERR! node-pre-gyp WARN Pre-built binaries not installable for @louislam/sqlite3@15.0.3 and node@17.0.1 (node-v102 ABI, unknown) (falling back to source compile with node-gyp) npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.0.1 | freebsd | x64 npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.0.1 | freebsd | x64 npm ERR! gyp info find Python using Python version 3.8.13 found at "/usr/local/bin/python3.8" npm ERR! gyp info spawn /usr/local/bin/python3.8 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/root/uptime-kuma/node_modules/@louislam/sqlite3/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/root/.cache/node-gyp/17.0.1/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/17.0.1', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/17.0.1/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/root/uptime-kuma/node_modules/@louislam/sqlite3', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.0.1 | freebsd | x64 npm ERR! gyp info spawn gmake npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! In file included from <built-in>:1: npm ERR! ./../src/gcc-preinclude.h:5:10: fatal error: 'features.h' file not found npm ERR! #include <features.h> npm ERR! ^~~~~~~~~~~~ npm ERR! 1 error generated. npm ERR! gmake: *** [deps/sqlite3.target.mk:145: Release/obj.target/sqlite3/gen/sqlite-autoconf-3380200/sqlite3.o] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error:gmake` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System FreeBSD 13.0-RELEASE-p11
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6"
npm ERR! gyp ERR! cwd /root/uptime-kuma/node_modules/@louislam/sqlite3
npm ERR! gyp ERR! node -v v17.0.1
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
npm ERR! node-pre-gyp ERR! stack at ChildProcess. (/root/uptime-kuma/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1062:16)
npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm ERR! node-pre-gyp ERR! System FreeBSD 13.0-RELEASE-p11
npm ERR! node-pre-gyp ERR! command "/usr/local/bin/node" "/root/uptime-kuma/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /root/uptime-kuma/node_modules/@louislam/sqlite3
npm ERR! node-pre-gyp ERR! node -v v17.0.1
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.9
npm ERR! node-pre-gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-05-06T15_45_50_711Z-debug-0.log
FreeBSD13.0:
UptimeKuma # ~/uptime-kuma> uname -a
FreeBSD UptimeKuma.alfaexploit.com 13.0-RELEASE-p11 FreeBSD 13.0-RELEASE-p11 #0: Tue Apr 5 18:54:35 UTC 2022 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
`

👟 Reproduction steps

pkg install npm-node17

git clone https://github.com/louislam/uptime-kuma.git
cd uptime-kuma
npm run setup

👀 Expected behavior

I must install required software.

😓 Actual Behavior

npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 1
npm ERR! path /root/uptime-kuma/node_modules/@louislam/sqlite3
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install --fallback-to-build
npm ERR! gmake: Entering directory '/root/uptime-kuma/node_modules/@louislam/sqlite3/build'
npm ERR! CC(target) Release/obj.target/nothing/../../node-addon-api/nothing.o
npm ERR! AR(target) Release/obj.target/../../node-addon-api/nothing.a
npm ERR! COPY Release/nothing.a
npm ERR! ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3380200/sqlite3.c
npm ERR! TOUCH Release/obj.target/deps/action_before_build.stamp
npm ERR! CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3380200/sqlite3.o
npm ERR! gmake: Leaving directory '/root/uptime-kuma/node_modules/@louislam/sqlite3/build'
npm ERR! Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@1.0.9
npm ERR! node-pre-gyp info using node@17.0.1 | freebsd | x64
npm ERR! node-pre-gyp info check checked for "/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz
npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not installable for @louislam/sqlite3@15.0.3 and node@17.0.1 (node-v102 ABI, unknown) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@17.0.1 | freebsd | x64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@17.0.1 | freebsd | x64
npm ERR! gyp info find Python using Python version 3.8.13 found at "/usr/local/bin/python3.8"
npm ERR! gyp info spawn /usr/local/bin/python3.8
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/root/uptime-kuma/node_modules/@louislam/sqlite3/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/root/.cache/node-gyp/17.0.1/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/17.0.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/17.0.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/root/uptime-kuma/node_modules/@louislam/sqlite3',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@17.0.1 | freebsd | x64
npm ERR! gyp info spawn gmake
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! In file included from :1:
npm ERR! ./../src/gcc-preinclude.h:5:10: fatal error: 'features.h' file not found
npm ERR! #include <features.h>
npm ERR! ^~~~~~~~~~~~
npm ERR! 1 error generated.
npm ERR! gmake: *** [deps/sqlite3.target.mk:145: Release/obj.target/sqlite3/gen/sqlite-autoconf-3380200/sqlite3.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: gmake failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System FreeBSD 13.0-RELEASE-p11
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6"
npm ERR! gyp ERR! cwd /root/uptime-kuma/node_modules/@louislam/sqlite3
npm ERR! gyp ERR! node -v v17.0.1
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
npm ERR! node-pre-gyp ERR! stack at ChildProcess. (/root/uptime-kuma/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1062:16)
npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm ERR! node-pre-gyp ERR! System FreeBSD 13.0-RELEASE-p11
npm ERR! node-pre-gyp ERR! command "/usr/local/bin/node" "/root/uptime-kuma/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /root/uptime-kuma/node_modules/@louislam/sqlite3
npm ERR! node-pre-gyp ERR! node -v v17.0.1
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.9
npm ERR! node-pre-gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-05-06T15_45_50_711Z-debug-0.log

🐻 Uptime-Kuma Version

1.15.0

💻 Operating System and Arch

FreeBSD13.0 amd64

🌐 Browser

Google Chrome Version 101.0.4951.41 (Build oficial) (64 bits)

🐋 Docker Version

No response

🟩 NodeJS Version

v17.0.1

📝 Relevant log output

npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 1
npm ERR! path /root/uptime-kuma/node_modules/@louislam/sqlite3
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install --fallback-to-build
npm ERR! gmake: Entering directory '/root/uptime-kuma/node_modules/@louislam/sqlite3/build'
npm ERR!   CC(target) Release/obj.target/nothing/../../node-addon-api/nothing.o
npm ERR!   AR(target) Release/obj.target/../../node-addon-api/nothing.a
npm ERR!   COPY Release/nothing.a
npm ERR!   ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3380200/sqlite3.c
npm ERR!   TOUCH Release/obj.target/deps/action_before_build.stamp
npm ERR!   CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3380200/sqlite3.o
npm ERR! gmake: Leaving directory '/root/uptime-kuma/node_modules/@louislam/sqlite3/build'
npm ERR! Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@1.0.9
npm ERR! node-pre-gyp info using node@17.0.1 | freebsd | x64
npm ERR! node-pre-gyp info check checked for "/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz
npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz 
npm ERR! node-pre-gyp WARN Pre-built binaries not installable for @louislam/sqlite3@15.0.3 and node@17.0.1 (node-v102 ABI, unknown) (falling back to source compile with node-gyp) 
npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@17.0.1 | freebsd | x64
npm ERR! gyp info ok 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@17.0.1 | freebsd | x64
npm ERR! gyp info find Python using Python version 3.8.13 found at "/usr/local/bin/python3.8"
npm ERR! gyp info spawn /usr/local/bin/python3.8
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/root/uptime-kuma/node_modules/@louislam/sqlite3/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/root/.cache/node-gyp/17.0.1/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/root/.cache/node-gyp/17.0.1',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/root/.cache/node-gyp/17.0.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/root/uptime-kuma/node_modules/@louislam/sqlite3',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info ok 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@17.0.1 | freebsd | x64
npm ERR! gyp info spawn gmake
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! In file included from <built-in>:1:
npm ERR! ./../src/gcc-preinclude.h:5:10: fatal error: 'features.h' file not found
npm ERR! #include <features.h>
npm ERR!          ^~~~~~~~~~~~
npm ERR! 1 error generated.
npm ERR! gmake: *** [deps/sqlite3.target.mk:145: Release/obj.target/sqlite3/gen/sqlite-autoconf-3380200/sqlite3.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `gmake` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System FreeBSD 13.0-RELEASE-p11
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6"
npm ERR! gyp ERR! cwd /root/uptime-kuma/node_modules/@louislam/sqlite3
npm ERR! gyp ERR! node -v v17.0.1
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok 
npm ERR! node-pre-gyp ERR! build error 
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/root/uptime-kuma/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1062:16)
npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm ERR! node-pre-gyp ERR! System FreeBSD 13.0-RELEASE-p11
npm ERR! node-pre-gyp ERR! command "/usr/local/bin/node" "/root/uptime-kuma/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /root/uptime-kuma/node_modules/@louislam/sqlite3
npm ERR! node-pre-gyp ERR! node -v v17.0.1
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.9
npm ERR! node-pre-gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-05-06T15_45_50_711Z-debug-0.log
Originally created by @ARPABoy on GitHub (May 6, 2022). ### ⚠️ Please verify that this bug has NOT been raised before. - [X] I checked and didn't find similar issue ### 🛡️ Security Policy - [X] I agree to have read this project [Security Policy](https://github.com/louislam/uptime-kuma/security/policy) ### Description npm ci --production step doenst work: ` UptimeKuma # ~/uptime-kuma> npm ci --production npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. npm ERR! code 1 npm ERR! path /root/uptime-kuma/node_modules/@louislam/sqlite3 npm ERR! command failed npm ERR! command sh -c node-pre-gyp install --fallback-to-build npm ERR! gmake: Entering directory '/root/uptime-kuma/node_modules/@louislam/sqlite3/build' npm ERR! CC(target) Release/obj.target/nothing/../../node-addon-api/nothing.o npm ERR! AR(target) Release/obj.target/../../node-addon-api/nothing.a npm ERR! COPY Release/nothing.a npm ERR! ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3380200/sqlite3.c npm ERR! TOUCH Release/obj.target/deps/action_before_build.stamp npm ERR! CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3380200/sqlite3.o npm ERR! gmake: Leaving directory '/root/uptime-kuma/node_modules/@louislam/sqlite3/build' npm ERR! Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1) npm ERR! node-pre-gyp info it worked if it ends with ok npm ERR! node-pre-gyp info using node-pre-gyp@1.0.9 npm ERR! node-pre-gyp info using node@17.0.1 | freebsd | x64 npm ERR! node-pre-gyp info check checked for "/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node" (not found) npm ERR! node-pre-gyp http GET https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz npm ERR! node-pre-gyp WARN Pre-built binaries not installable for @louislam/sqlite3@15.0.3 and node@17.0.1 (node-v102 ABI, unknown) (falling back to source compile with node-gyp) npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.0.1 | freebsd | x64 npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.0.1 | freebsd | x64 npm ERR! gyp info find Python using Python version 3.8.13 found at "/usr/local/bin/python3.8" npm ERR! gyp info spawn /usr/local/bin/python3.8 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/root/uptime-kuma/node_modules/@louislam/sqlite3/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/root/.cache/node-gyp/17.0.1/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/17.0.1', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/17.0.1/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/root/uptime-kuma/node_modules/@louislam/sqlite3', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.0.1 | freebsd | x64 npm ERR! gyp info spawn gmake npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! In file included from <built-in>:1: npm ERR! ./../src/gcc-preinclude.h:5:10: fatal error: 'features.h' file not found npm ERR! #include <features.h> npm ERR! ^~~~~~~~~~~~ npm ERR! 1 error generated. npm ERR! gmake: *** [deps/sqlite3.target.mk:145: Release/obj.target/sqlite3/gen/sqlite-autoconf-3380200/sqlite3.o] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `gmake` failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) npm ERR! gyp ERR! System FreeBSD 13.0-RELEASE-p11 npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6" npm ERR! gyp ERR! cwd /root/uptime-kuma/node_modules/@louislam/sqlite3 npm ERR! gyp ERR! node -v v17.0.1 npm ERR! gyp ERR! node-gyp -v v8.4.1 npm ERR! gyp ERR! not ok npm ERR! node-pre-gyp ERR! build error npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1) npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/root/uptime-kuma/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23) npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:390:28) npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1062:16) npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) npm ERR! node-pre-gyp ERR! System FreeBSD 13.0-RELEASE-p11 npm ERR! node-pre-gyp ERR! command "/usr/local/bin/node" "/root/uptime-kuma/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" npm ERR! node-pre-gyp ERR! cwd /root/uptime-kuma/node_modules/@louislam/sqlite3 npm ERR! node-pre-gyp ERR! node -v v17.0.1 npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.9 npm ERR! node-pre-gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-05-06T15_45_50_711Z-debug-0.log ` FreeBSD13.0: ` UptimeKuma # ~/uptime-kuma> uname -a FreeBSD UptimeKuma.alfaexploit.com 13.0-RELEASE-p11 FreeBSD 13.0-RELEASE-p11 #0: Tue Apr 5 18:54:35 UTC 2022 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 ` ### 👟 Reproduction steps pkg install npm-node17 git clone https://github.com/louislam/uptime-kuma.git cd uptime-kuma npm run setup ### 👀 Expected behavior I must install required software. ### 😓 Actual Behavior npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. npm ERR! code 1 npm ERR! path /root/uptime-kuma/node_modules/@louislam/sqlite3 npm ERR! command failed npm ERR! command sh -c node-pre-gyp install --fallback-to-build npm ERR! gmake: Entering directory '/root/uptime-kuma/node_modules/@louislam/sqlite3/build' npm ERR! CC(target) Release/obj.target/nothing/../../node-addon-api/nothing.o npm ERR! AR(target) Release/obj.target/../../node-addon-api/nothing.a npm ERR! COPY Release/nothing.a npm ERR! ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3380200/sqlite3.c npm ERR! TOUCH Release/obj.target/deps/action_before_build.stamp npm ERR! CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3380200/sqlite3.o npm ERR! gmake: Leaving directory '/root/uptime-kuma/node_modules/@louislam/sqlite3/build' npm ERR! Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1) npm ERR! node-pre-gyp info it worked if it ends with ok npm ERR! node-pre-gyp info using node-pre-gyp@1.0.9 npm ERR! node-pre-gyp info using node@17.0.1 | freebsd | x64 npm ERR! node-pre-gyp info check checked for "/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node" (not found) npm ERR! node-pre-gyp http GET https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz npm ERR! node-pre-gyp WARN Pre-built binaries not installable for @louislam/sqlite3@15.0.3 and node@17.0.1 (node-v102 ABI, unknown) (falling back to source compile with node-gyp) npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.0.1 | freebsd | x64 npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.0.1 | freebsd | x64 npm ERR! gyp info find Python using Python version 3.8.13 found at "/usr/local/bin/python3.8" npm ERR! gyp info spawn /usr/local/bin/python3.8 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/root/uptime-kuma/node_modules/@louislam/sqlite3/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/root/.cache/node-gyp/17.0.1/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/17.0.1', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/17.0.1/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/root/uptime-kuma/node_modules/@louislam/sqlite3', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.0.1 | freebsd | x64 npm ERR! gyp info spawn gmake npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! In file included from <built-in>:1: npm ERR! ./../src/gcc-preinclude.h:5:10: fatal error: 'features.h' file not found npm ERR! #include <features.h> npm ERR! ^~~~~~~~~~~~ npm ERR! 1 error generated. npm ERR! gmake: *** [deps/sqlite3.target.mk:145: Release/obj.target/sqlite3/gen/sqlite-autoconf-3380200/sqlite3.o] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `gmake` failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) npm ERR! gyp ERR! System FreeBSD 13.0-RELEASE-p11 npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6" npm ERR! gyp ERR! cwd /root/uptime-kuma/node_modules/@louislam/sqlite3 npm ERR! gyp ERR! node -v v17.0.1 npm ERR! gyp ERR! node-gyp -v v8.4.1 npm ERR! gyp ERR! not ok npm ERR! node-pre-gyp ERR! build error npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1) npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/root/uptime-kuma/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23) npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:390:28) npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1062:16) npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) npm ERR! node-pre-gyp ERR! System FreeBSD 13.0-RELEASE-p11 npm ERR! node-pre-gyp ERR! command "/usr/local/bin/node" "/root/uptime-kuma/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" npm ERR! node-pre-gyp ERR! cwd /root/uptime-kuma/node_modules/@louislam/sqlite3 npm ERR! node-pre-gyp ERR! node -v v17.0.1 npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.9 npm ERR! node-pre-gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-05-06T15_45_50_711Z-debug-0.log ### 🐻 Uptime-Kuma Version 1.15.0 ### 💻 Operating System and Arch FreeBSD13.0 amd64 ### 🌐 Browser Google Chrome Version 101.0.4951.41 (Build oficial) (64 bits) ### 🐋 Docker Version _No response_ ### 🟩 NodeJS Version v17.0.1 ### 📝 Relevant log output ```shell npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. npm ERR! code 1 npm ERR! path /root/uptime-kuma/node_modules/@louislam/sqlite3 npm ERR! command failed npm ERR! command sh -c node-pre-gyp install --fallback-to-build npm ERR! gmake: Entering directory '/root/uptime-kuma/node_modules/@louislam/sqlite3/build' npm ERR! CC(target) Release/obj.target/nothing/../../node-addon-api/nothing.o npm ERR! AR(target) Release/obj.target/../../node-addon-api/nothing.a npm ERR! COPY Release/nothing.a npm ERR! ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3380200/sqlite3.c npm ERR! TOUCH Release/obj.target/deps/action_before_build.stamp npm ERR! CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3380200/sqlite3.o npm ERR! gmake: Leaving directory '/root/uptime-kuma/node_modules/@louislam/sqlite3/build' npm ERR! Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1) npm ERR! node-pre-gyp info it worked if it ends with ok npm ERR! node-pre-gyp info using node-pre-gyp@1.0.9 npm ERR! node-pre-gyp info using node@17.0.1 | freebsd | x64 npm ERR! node-pre-gyp info check checked for "/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node" (not found) npm ERR! node-pre-gyp http GET https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz npm ERR! node-pre-gyp WARN Pre-built binaries not installable for @louislam/sqlite3@15.0.3 and node@17.0.1 (node-v102 ABI, unknown) (falling back to source compile with node-gyp) npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/louislam/node-sqlite3/releases/download/v15.0.3/napi-v6-freebsd-x64-unknown.tar.gz npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.0.1 | freebsd | x64 npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.0.1 | freebsd | x64 npm ERR! gyp info find Python using Python version 3.8.13 found at "/usr/local/bin/python3.8" npm ERR! gyp info spawn /usr/local/bin/python3.8 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/root/uptime-kuma/node_modules/@louislam/sqlite3/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/root/.cache/node-gyp/17.0.1/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/17.0.1', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/17.0.1/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/root/uptime-kuma/node_modules/@louislam/sqlite3', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.0.1 | freebsd | x64 npm ERR! gyp info spawn gmake npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! In file included from <built-in>:1: npm ERR! ./../src/gcc-preinclude.h:5:10: fatal error: 'features.h' file not found npm ERR! #include <features.h> npm ERR! ^~~~~~~~~~~~ npm ERR! 1 error generated. npm ERR! gmake: *** [deps/sqlite3.target.mk:145: Release/obj.target/sqlite3/gen/sqlite-autoconf-3380200/sqlite3.o] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `gmake` failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) npm ERR! gyp ERR! System FreeBSD 13.0-RELEASE-p11 npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6" npm ERR! gyp ERR! cwd /root/uptime-kuma/node_modules/@louislam/sqlite3 npm ERR! gyp ERR! node -v v17.0.1 npm ERR! gyp ERR! node-gyp -v v8.4.1 npm ERR! gyp ERR! not ok npm ERR! node-pre-gyp ERR! build error npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/root/uptime-kuma/node_modules/@louislam/sqlite3/lib/binding/napi-v6-freebsd-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1) npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/root/uptime-kuma/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23) npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:390:28) npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1062:16) npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) npm ERR! node-pre-gyp ERR! System FreeBSD 13.0-RELEASE-p11 npm ERR! node-pre-gyp ERR! command "/usr/local/bin/node" "/root/uptime-kuma/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" npm ERR! node-pre-gyp ERR! cwd /root/uptime-kuma/node_modules/@louislam/sqlite3 npm ERR! node-pre-gyp ERR! node -v v17.0.1 npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.9 npm ERR! node-pre-gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-05-06T15_45_50_711Z-debug-0.log ```
deekerman 2026-02-28 02:08:59 -05:00
  • closed this issue
  • added the
    help
    label
Author
Owner

@louislam commented on GitHub (May 6, 2022):

See https://github.com/louislam/uptime-kuma/issues/1574

@louislam commented on GitHub (May 6, 2022): See https://github.com/louislam/uptime-kuma/issues/1574
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#1069
No description provided.