Hello. Pretty new to Node-red here so i don't know if it's my fault. 2 days ago i had vedirect node installed just adding it with palette manager and i was able to connect to the device. Now i can't even add the contrib to Node-red. It installs but then it says a module is missing.
0|node-red | 19 Mar 20:27:22 - [info] Installing module: node-red-contrib-victron-vedirect-usb, version: 0.1.0
0|node-red | 19 Mar 20:27:27 - [info] Installed module: node-red-contrib-victron-vedirect-usb
0|node-red | 19 Mar 20:27:27 - [info] Added node types:
0|node-red | 19 Mar 20:27:27 - [info] - node-red-contrib-victron-vedirect-usb:victron-vedirect-usb : Error: Cannot find module '@serialport/bindings'
0|node-red | Require stack:
0|node-red | - /home/deunan/.node-red/node_modules/node-red-contrib-victron-vedirect-usb/src/nodes/vedirect-usb.js
0|node-red | - /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js
0|node-red | - /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/index.js
0|node-red | - /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/index.js
0|node-red | - /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/index.js
0|node-red | - /usr/lib/node_modules/node-red/lib/red.js
0|node-red | - /usr/lib/node_modules/node-red/red.js
I created a new clean VM and the error is still there.
deunan@victron-lab:~$ node -v
v18.15.0
Welcome to Node-RED
===================
19 Mar 20:38:21 - [info] Node-RED version: v3.0.2
19 Mar 20:38:21 - [info] Node.js version: v18.15.0
19 Mar 20:38:21 - [info] Linux 5.15.0-56-generic x64 LE
19 Mar 20:38:23 - [info] Loading palette nodes
19 Mar 20:38:27 - [warn] ------------------------------------------------------
19 Mar 20:38:27 - [warn] [node-red-contrib-victron-vedirect-usb/victron-vedirect-usb] Error: Cannot find module '@serialport/bindings'
Thanks in advance for any help.
Deunan