-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Description
Operating system
Linux
Joplin version
v3.4.12
Desktop version info
No response
Current behaviour
- Fresh install of FreeBSD 15.0 RELEASE plus xfce and KDE Plasma 6
- pkg install a bunch of possible dependencies like python, node, npm, ...
NPM_CONFIG_PREFIX=~/.joplin-bin npm install --loglevel=error -g joplinresults in
root@mybsd:~ # NPM_CONFIG_PREFIX=~/.joplin-bin npm install --loglevel=error -g joplin
npm error code 1
npm error path /root/.joplin-bin/lib/node_modules/joplin/node_modules/keytar
npm error command failed
npm error command sh -c prebuild-install || npm run build
npm error > keytar@7.9.0 build
npm error > node-gyp rebuild
npm error (node:68365) [DEP0060] DeprecationWarning: The util._extend API is deprecated. Please use Object.assign() instead.
npm error (Use node --trace-deprecation ... to show where the warning was created)
npm error /bin/sh: pkg-config: not found
npm error gyp: Call to 'pkg-config --cflags libsecret-1' returned exit status 127 while in binding.gyp. while trying to load binding.gyp
npm error gyp ERR! configure error
npm error gyp ERR! stack Error: gyp failed with exit code: 1
npm error gyp ERR! stack at ChildProcess.onCpExit (/root/.joplin-bin/lib/node_modules/joplin/node_modules/node-gyp/lib/configure.js:259:16)
npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm error gyp ERR! System FreeBSD 15.0-RELEASE
npm error gyp ERR! command "/usr/local/bin/node" "/root/.joplin-bin/lib/node_modules/joplin/node_modules/.bin/node-gyp" "rebuild"
npm error gyp ERR! cwd /root/.joplin-bin/lib/node_modules/joplin/node_modules/keytar
npm error gyp ERR! node -v v22.19.0
npm error gyp ERR! node-gyp -v v8.4.1
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-12-11T12_35_26_935Z-debug-0.log
Expected behaviour
Install succeeds