Skip to content

Chart-plugin failed to install on Victron Cerbo-GX #40

@ghrlgv

Description

@ghrlgv

I'm using the latest Venus OS Large image version 3.66 with SignalK version 2.13.5 and node version 20.18.2. SignalK default install home on the Cerbo-GX is /data/conf/signalk.

Logfile presents the following info: (EDIT: legibility)

Oct 08 16:57:07 POST /skServer/appstore/install/@signalk/charts-plugin/3.1.1 200 485.459 ms - 38
Oct 08 16:57:52 stderr: npm warn deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
Oct 08 16:57:52 stderr: npm warn deprecated [email protected]: This package is no longer supported.
Oct 08 16:57:52 stderr: npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
Oct 08 16:57:53 stderr: npm warn deprecated [email protected]: This package is no longer supported.
Oct 08 16:57:53 stderr: npm warn deprecated [email protected]: This package is no longer supported.
Oct 08 16:58:10 stderr: npm error code 1
Oct 08 16:58:10 stderr: 
npm error path /data/conf/signalk/node_modules/sqlite3 
npm error command failed 
npm error command sh -c prebuild-install -r napi || node-gyp rebuild 
npm error prebuild-install warn install No prebuilt binaries found (target=6 runtime=napi arch=arm libc= platform=linux) 
npm error gyp info it worked if it ends with ok 
npm error gyp info using [email protected] 
npm error gyp info using [email protected] | linux | arm 
npm error gyp info find Python using Python version 3.12.9 found at "/usr/bin/python3" 
npm error gyp info spawn /usr/bin/python3 
npm error gyp info spawn args [ 
npm error gyp info spawn args '/data/conf/signalk/node_modules/sqlite3/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 '/data/conf/signalk/node_modules/sqlite3/build/config.gypi', 
npm error gyp info spawn args '-I', 
npm error gyp info spawn args '/data/conf/signalk/node_modules/sqlite3/node_modules/node-gyp/addon.gypi', 
npm error gyp info spawn args '-I', 
npm error gyp info spawn args '/data/conf/signalk/.cache/node-gyp/20.18.2/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=/data/conf/signalk/.cache/node-gyp/20.18.2', 
npm error gyp info spawn args '-Dnode_gyp_dir=/data/conf/signalk/node_modules/sqlite3/node_modules/node-gyp', 
npm error gyp info spawn args '-Dnode_lib_file=/data/conf/signalk/.cache/node-gyp/20.18.2/<(target_arch)/node.lib', 
npm error gyp info spawn args '-Dmodule_root_dir=/data/conf/signalk/node_modules/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 Traceback (most recent call last): 
npm error File "/data/conf/signalk/node_modules/sqlite3/node_modules/node-gyp/gyp/gyp_main.py", line 42, in 
npm error import gyp # noqa: E402 
npm error ^^^^^^^^^^ 
npm error File "/data/conf/signalk/node_modules/sqlite3/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 9, in 
npm error import gyp.input 
npm error File "/data/conf/signalk/node_modules/sqlite3/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in 
npm error from distutils.version import StrictVersion 
npm error ModuleNotFoundError: No module named 'distutils' 
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 (/data/conf/signalk/node_modules/sqlite3/node_modules/node-gyp/lib/configure.js:259:16) 
npm error gyp ERR! stack at ChildProcess.emit (node:events:518:28) 
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12) 
npm error gyp ERR! System Linux 6.12.23-venus-5 
npm error gyp ERR! command "/usr/bin/node" "/data/conf/signalk/node_modules/sqlite3/node_modules/.bin/node-gyp" "rebuild" 
npm error gyp ERR! cwd /data/conf/signalk/node_modules/sqlite3 
npm error gyp ERR! node -v v20.18.2 
npm error gyp ERR! node-gyp -v v8.4.1 
npm error gyp ERR! not ok
Oct 08 16:58:10 stderr: npm error A complete log of this run can be found in: /data/conf/signalk/.npm/_logs/2025-10-08T16_57_09_533Z-debug-0.log

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