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

Bump dependencies for Node.js 23 #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bailey-coding
Copy link

@bailey-coding bailey-coding commented Dec 29, 2024

Error I was getting:

539 info run [email protected] install { code: 1, signal: null }
540 verbose stack Error: command failed
540 verbose stack     at promiseSpawn (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22)
540 verbose stack     at spawnWithShell (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10)
540 verbose stack     at promiseSpawn (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12)
540 verbose stack     at runScriptPkg (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:77:13)
540 verbose stack     at runScript (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12)
540 verbose stack     at /opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:329:17
540 verbose stack     at run (/opt/homebrew/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:67:22)
540 verbose stack     at /opt/homebrew/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:84:9
540 verbose stack     at new Promise ()
540 verbose stack     at callLimit (/opt/homebrew/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:35:69)
541 verbose pkgid [email protected]
542 error code 1
543 error path ${HOME}/src2/github.com/bluesky-social/statusphere-example-app/node_modules/better-sqlite3
544 error command failed
545 error command sh -c prebuild-install || node-gyp rebuild --release
546 error TOUCH ba23eeee118cd63e16015df367567cb043fed872.intermediate
546 error   ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 ba23eeee118cd63e16015df367567cb043fed872.intermediate
546 error   TOUCH Release/obj.target/deps/locate_sqlite3.stamp
546 error   CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
546 error   LIBTOOL-STATIC Release/sqlite3.a
546 error   CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
546 error rm ba23eeee118cd63e16015df367567cb043fed872.intermediate
547 error prebuild-install warn install No prebuilt binaries found (target=23.4.0 runtime=node arch=arm64 libc= platform=darwin)
547 error gyp info it worked if it ends with ok
547 error gyp info using [email protected]
547 error gyp info using [email protected] | darwin | arm64
547 error gyp info find Python using Python version 3.13.1 found at "${HOME}/src/virtualenv/bin/python3"
547 error gyp info spawn ${HOME}/src/virtualenv/bin/python3
547 error gyp info spawn args [
547 error gyp info spawn args '/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
547 error gyp info spawn args 'binding.gyp',
547 error gyp info spawn args '-f',
547 error gyp info spawn args 'make',
547 error gyp info spawn args '-I',
547 error gyp info spawn args '${HOME}/src2/github.com/bluesky-social/statusphere-example-app/node_modules/better-sqlite3/build/config.gypi',
547 error gyp info spawn args '-I',
547 error gyp info spawn args '/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
547 error gyp info spawn args '-I',
547 error gyp info spawn args '${HOME}/Library/Caches/node-gyp/23.4.0/include/node/common.gypi',
547 error gyp info spawn args '-Dlibrary=shared_library',
547 error gyp info spawn args '-Dvisibility=default',
547 error gyp info spawn args '-Dnode_root_dir=${HOME}/Library/Caches/node-gyp/23.4.0',
547 error gyp info spawn args '-Dnode_gyp_dir=/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp',
547 error gyp info spawn args '-Dnode_lib_file=${HOME}/Library/Caches/node-gyp/23.4.0/<(target_arch)/node.lib',
547 error gyp info spawn args '-Dmodule_root_dir=${HOME}/src2/github.com/bluesky-social/statusphere-example-app/node_modules/better-sqlite3',
547 error gyp info spawn args '-Dnode_engine=v8',
547 error gyp info spawn args '--depth=.',
547 error gyp info spawn args '--no-parallel',
547 error gyp info spawn args '--generator-output',
547 error gyp info spawn args 'build',
547 error gyp info spawn args '-Goutput_dir=.'
547 error gyp info spawn args ]
547 error gyp info spawn make
547 error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
547 error In file included from ../src/better_sqlite3.cpp:4:
547 error ./src/better_sqlite3.lzz:2:10: fatal error: 'climits' file not found
547 error     2 | #include 
547 error       |          ^~~~~~~~~
547 error 1 error generated.
547 error make: *** [Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1
547 error gyp ERR! build error 
547 error gyp ERR! stack Error: `make` failed with exit code: 2
547 error gyp ERR! stack at ChildProcess. (/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:216:23)
547 error gyp ERR! System Darwin 23.6.0
547 error gyp ERR! command "/opt/homebrew/Cellar/node/23.4.0/bin/node" "/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
547 error gyp ERR! cwd ${HOME}/src2/github.com/bluesky-social/statusphere-example-app/node_modules/better-sqlite3
547 error gyp ERR! node -v v23.4.0
547 error gyp ERR! node-gyp -v v11.0.0
547 error gyp ERR! not ok
548 silly unfinished npm timer reify 1735467765639
549 silly unfinished npm timer reify:build 1735467767489
550 silly unfinished npm timer build 1735467767490
551 silly unfinished npm timer build:deps 1735467767490
552 silly unfinished npm timer build:run:install 1735467767501
553 silly unfinished npm timer build:run:install:node_modules/better-sqlite3 1735467767502
554 verbose cwd ${HOME}/src2/github.com/bluesky-social/statusphere-example-app
555 verbose os Darwin 23.6.0
556 verbose node v23.4.0
557 verbose npm  v10.9.2
558 verbose exit 1
559 verbose code 1

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

Successfully merging this pull request may close these issues.

1 participant