Hey. I am trying to run Node-Red on my raspberry pi 4 but I am getting error:

Flows stopped due to missing node types.

  • serial-port

In the Node-Red terminal I have the following issue which I cannot solve and could use your help:

Welcome to Node-RED

20 Jan 21:32:52 - [info] Node-RED version: v1.0.6
20 Jan 21:32:52 - [info] Node.js version: v14.15.4
20 Jan 21:32:52 - [info] Linux 5.4.83-v7l+ arm LE
20 Jan 21:32:53 - [info] Loading palette nodes
20 Jan 21:32:58 - [warn] ------------------------------------------------------
20 Jan 21:32:58 - [warn] [node-red-node-serialport/serialport] Error: The module '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings/build/Release/bindings.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 64. This version of Node.js requires
NODE_MODULE_VERSION 83. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).

Welcome to the forum.
I guess you have upgraded nodejs. You need to follow the advise in the error. Go into your .node-red folder and run
npm rebuild
You may also need to the re install node red
sudo npm install -g --unsafe-perm node-red

In fact probably easier to run the pi install/upgrade script from the node red docs.

Edit: Back at my PC now (was on phone), the upgrade script is at Running on Raspberry Pi : Node-RED