Skip to content

Feynman fails to start or update, pi-session-search error #77

@nafarinha

Description

Platform: macOS (x64) Sonoma 14.8.5

After installing and running the setup successfully, when I try to start feynman it fails. The same error shows if I run feynman update.

npm install -g @kaiserlich-dev/pi-session-search@latest failed with code 1

It seems there is an issue with a dependency of a dependency: better-sqlite3, a dependency of @kaiserlich-dev/pi-session-search.

Here's the full error from running feynman update:

Updated npm:pi-zotero
Updating npm:@kaiserlich-dev/pi-session-search...
npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm error code 1
npm error path ~/.feynman/npm-global/lib/node_modules/@kaiserlich-dev/pi-session-search/node_modules/better-sqlite3
npm error command failed
npm error command sh -c prebuild-install || node-gyp rebuild --release
npm error TOUCH 4292fa9a667d77b27488aa109b010a85bce8e4e7a1c7aa0370cea902395c3866.intermediate
npm error   ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 4292fa9a667d77b27488aa109b010a85bce8e4e7a1c7aa0370cea902395c3866.intermediate
npm error   TOUCH Release/obj.target/deps/locate_sqlite3.stamp
npm error   CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
npm error   LIBTOOL-STATIC Release/sqlite3.a
npm error   CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
npm error rm 4292fa9a667d77b27488aa109b010a85bce8e4e7a1c7aa0370cea902395c3866.intermediate
npm error prebuild-install warn install No prebuilt binaries found (target=25.9.0 runtime=node arch=x64 libc= platform=darwin)
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@12.2.0
npm error gyp info using node@25.9.0 | darwin | x64
npm error gyp info find Python using Python version 3.14.3 found at "/usr/local/opt/python@3.14/bin/python3.14"
npm error gyp info spawn /usr/local/opt/python@3.14/bin/python3.14
npm error gyp info spawn args [
npm error gyp info spawn args '~/.nvm/versions/node/v25.9.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'make',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '~/.feynman/npm-global/lib/node_modules/@kaiserlich-dev/pi-session-search/node_modules/better-sqlite3/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '~/.nvm/versions/node/v25.9.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '~/Library/Caches/node-gyp/25.9.0/include/node/common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=~/Library/Caches/node-gyp/25.9.0',
npm error gyp info spawn args '-Dnode_gyp_dir=~/.nvm/versions/node/v25.9.0/lib/node_modules/npm/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=~/Library/Caches/node-gyp/25.9.0/<(target_arch)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=~/.feynman/npm-global/lib/node_modules/@kaiserlich-dev/pi-session-search/node_modules/better-sqlite3',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info spawn make
npm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm error In file included from ../src/better_sqlite3.cpp:4:
npm error In file included from ./src/better_sqlite3.lzz:11:
npm error In file included from ~/Library/Caches/node-gyp/25.9.0/include/node/node.h:74:
npm error In file included from ~/Library/Caches/node-gyp/25.9.0/include/node/v8.h:24:
npm error In file included from ~/Library/Caches/node-gyp/25.9.0/include/node/v8-array-buffer.h:14:
npm error ~/Library/Caches/node-gyp/25.9.0/include/node/v8-object.h:957:37: error: expected expression
npm error   957 |         I::ReadExternalPointerField<{internal::kFirstEmbedderDataTag,
npm error       |                                     ^
npm error ~/Library/Caches/node-gyp/25.9.0/include/node/v8-object.h:980:37: error: expected expression
npm error   980 |         I::ReadExternalPointerField<{internal::kFirstEmbedderDataTag,
npm error       |                                     ^
npm error In file included from ../src/better_sqlite3.cpp:4:
npm error In file included from ./src/better_sqlite3.lzz:11:
npm error In file included from ~/Library/Caches/node-gyp/25.9.0/include/node/node.h:74:
npm error In file included from ~/Library/Caches/node-gyp/25.9.0/include/node/v8.h:26:
npm error ~/Library/Caches/node-gyp/25.9.0/include/node/v8-context.h:481:35: error: expected expression
npm error   481 |       I::ReadExternalPointerField<{internal::kFirstEmbedderDataTag,
npm error       |                                   ^
npm error ~/Library/Caches/node-gyp/25.9.0/include/node/v8-context.h:501:35: error: expected expression
npm error   501 |       I::ReadExternalPointerField<{internal::kFirstEmbedderDataTag,
npm error       |                                   ^
npm error ./src/util/binder.lzz:40:37: warning: 'GetPrototype' is deprecated: V8 will stop providing access to hidden prototype (i.e. JSGlobalObject). Use GetPrototypeV2() instead. See http://crbug.com/333672197. [-Wdeprecated-declarations]
npm error    40 |                 v8::Local<v8::Value> proto = obj->GetPrototype();
npm error       |                                                   ^
npm error ~/Library/Caches/node-gyp/25.9.0/include/node/v8-object.h:440:3: note: 'GetPrototype' has been explicitly marked deprecated here
npm error   440 |   V8_DEPRECATED(
npm error       |   ^
npm error ~/Library/Caches/node-gyp/25.9.0/include/node/v8config.h:621:35: note: expanded from macro 'V8_DEPRECATED'
npm error   621 | # define V8_DEPRECATED(message) [[deprecated(message)]]
npm error       |                                   ^
npm error ./src/util/binder.lzz:49:62: warning: 'GetPrototype' is deprecated: V8 will stop providing access to hidden prototype (i.e. JSGlobalObject). Use GetPrototypeV2() instead. See http://crbug.com/333672197. [-Wdeprecated-declarations]
npm error    49 |                 v8::Local<v8::Value> baseProto = v8::Object::New(isolate)->GetPrototype();
npm error       |                                                                            ^
npm error ~/Library/Caches/node-gyp/25.9.0/include/node/v8-object.h:440:3: note: 'GetPrototype' has been explicitly marked deprecated here
npm error   440 |   V8_DEPRECATED(
npm error       |   ^
npm error ~/Library/Caches/node-gyp/25.9.0/include/node/v8config.h:621:35: note: expanded from macro 'V8_DEPRECATED'
npm error   621 | # define V8_DEPRECATED(message) [[deprecated(message)]]
npm error       |                                   ^
npm error ./src/better_sqlite3.lzz:68:34: warning: 'GetIsolate' is deprecated: Use Isolate::GetCurrent() instead, which is guaranteed to return the same isolate since https://crrev.com/c/6458560. [-Wdeprecated-declarations]
npm error    68 |         v8::Isolate* isolate = context->GetIsolate();
npm error       |                                         ^
npm error ~/Library/Caches/node-gyp/25.9.0/include/node/v8-context.h:259:3: note: 'GetIsolate' has been explicitly marked deprecated here
npm error   259 |   V8_DEPRECATED(
npm error       |   ^
npm error ~/Library/Caches/node-gyp/25.9.0/include/node/v8config.h:621:35: note: expanded from macro 'V8_DEPRECATED'
npm error   621 | # define V8_DEPRECATED(message) [[deprecated(message)]]
npm error       |                                   ^
npm error ./src/objects/database.lzz:180:21: warning: variable 'status' set but not used [-Wunused-but-set-variable]
npm error   180 |                 int status = sqlite3_db_config(db_handle, SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION, 1, NULL);
npm error       |                     ^
npm error ./src/util/custom-table.lzz:45:9: warning: missing field 'xIntegrity' initializer [-Wmissing-field-initializers]
npm error    45 |         };
npm error       |         ^
npm error ./src/util/custom-table.lzz:72:9: warning: missing field 'xIntegrity' initializer [-Wmissing-field-initializers]
npm error    72 |         };
npm error       |         ^
npm error 6 warnings and 4 errors generated.
npm error make: *** [Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1
npm error gyp ERR! build error
npm error gyp ERR! stack Error: `make` failed with exit code: 2
npm error gyp ERR! stack at ChildProcess.<anonymous> (~/.nvm/versions/node/v25.9.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)
npm error gyp ERR! System Darwin 23.6.0
npm error gyp ERR! command "~/.nvm/versions/node/v25.9.0/bin/node" "~/.nvm/versions/node/v25.9.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
npm error gyp ERR! cwd ~/.feynman/npm-global/lib/node_modules/@kaiserlich-dev/pi-session-search/node_modules/better-sqlite3
npm error gyp ERR! node -v v25.9.0
npm error gyp ERR! node-gyp -v v12.2.0
npm error gyp ERR! $npm_package_name better-sqlite3
npm error gyp ERR! $npm_package_version 11.10.0
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: ~/.npm/_logs/2026-04-15T08_56_22_117Z-debug-0.log
Failed to update npm:@kaiserlich-dev/pi-session-search: npm install -g @kaiserlich-dev/pi-session-search@latest failed with code 1
npm install -g @kaiserlich-dev/pi-session-search@latest failed with code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions