# Node\_module\_version

**URL:** <https://discourse.nodered.org/t/node-module-version/39460>\
**Category:** General\
**Created:** [20 January 2021 19:55 UTC](https://discourse.nodered.org/t/node-module-version/39460 "2021-01-20T19:55:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TinkyLv](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@TinkyLv](https://discourse.nodered.org/u/TinkyLv)\
**Post date:** [20 January 2021 19:55 UTC](https://discourse.nodered.org/t/node-module-version/39460/1 "2021-01-20T19:55:46Z")

</div>

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`).

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [20 January 2021 20:38 UTC](https://discourse.nodered.org/t/node-module-version/39460/2 "2021-01-20T20:38:16Z")

</div>

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](https://nodered.org/docs/getting-started/raspberrypi)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [21 March 2021 20:38 UTC](https://discourse.nodered.org/t/node-module-version/39460/3 "2021-03-21T20:38:37Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
