sw34
sw34
SKSignal K
Created by sw34 on 7/19/2024 in #questions
cannot get nmea2000 data from can0
I have a new istall using the PICAN-M hat on a Pi 5 running Ubuntu 24.04 with Node 18.19.1 installed.
I can see data dumped to console using the command candump can0. When I add my datasource to signalK I get the following messages logged and no data is seen. any ideas?
Jul 14 09:11:58 Error: The module '/usr/local/lib/node_modules/signalk-server/node_modules/socketcan/build/Release/can.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 108. This version of Node.js requires NODE_MODULE_VERSION 109. Please try re-compiling or re-installing the module (for instance, using npm rebuild or npm install). at Module._extensions..node (node:internal/modules/cjs/loader:1452:18) at Module.load (node:internal/modules/cjs/loader:1197:32) at Module._load (node:internal/modules/cjs/loader:1013:12) at Module.require (node:internal/modules/cjs/loader:1225:19) at require (node:internal/modules/helpers:177:18) at Object.<anonymous> (/usr/local/lib/node_modules/signalk-server/node_modules/socketcan/dist/socketcan.js:51:26) at Module._compile (node:internal/modules/cjs/loader:1356:14) at Module._extensions..js (node:internal/modules/cjs/loader:1414:10) at Module.load (node:internal/modules/cjs/loader:1197:32) at Module._load (node:internal/modules/cjs/loader:1013:12) at Module.require (node:internal/modules/cjs/loader:1225:19) at require (node:internal/modules/helpers:177:18) at new CanbusStream (/usr/local/lib/node_modules/signalk-server/node_modules/@canboat/canboatjs/lib/canbus.js:73:22) at CanbusStream (/usr/local/lib/node_modules/signalk-server/node_modules/@canboat/canboatjs/lib/canbus.js:46:12) at Object.nmea2000input [as NMEA2000] (/usr/local/lib/node_modules/signalk-server/node_modules/@signalk/streams/simple.js:259:30) at new Simple (/usr/local/lib/node_modules/signalk-server/node_modules/@signalk/streams/simple.js:92:34) { code: 'ERR_DLOPEN_FAILED' } Jul 14 09:11:58 WARNING unable to load native socketcan interface
4 replies