# Node-red-node-serialport Update failed

**URL:** <https://discourse.nodered.org/t/node-red-node-serialport-update-failed/60434>\
**Category:** General\
**Created:** [28 March 2022 07:22 UTC](https://discourse.nodered.org/t/node-red-node-serialport-update-failed/60434 "2022-03-28T07:22:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![protonmw](https://avatars.discourse-cdn.com/v4/letter/p/b3f665/32.png) [@protonmw](https://discourse.nodered.org/u/protonmw)\
**Post date:** [28 March 2022 07:22 UTC](https://discourse.nodered.org/t/node-red-node-serialport-update-failed/60434/1 "2022-03-28T07:22:31Z")

</div>

Hello all!

How can I update node-red-node-serialport ?  
NR is running on Windows.

```auto
2022-03-28T07:19:29.452Z Install : node-red-node-serialport 1.0.1

2022-03-28T07:19:29.758Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-node-serialport@1.0.1
2022-03-28T07:19:36.152Z [err] npm 
2022-03-28T07:19:36.152Z [err] ERR! code ENOTSUP
2022-03-28T07:19:36.153Z [err] npm ERR! 
2022-03-28T07:19:36.153Z [err] notsup Unsupported engine for @serialport/bindings-cpp@10.7.0: wanted: {"node":">=12.17.0 <13.0 || >=14.0.0"} (current: {"node":"13.8.0","npm":"6.13.6"})
2022-03-28T07:19:36.153Z [err] npm ERR! notsup Not compatible with your version of node/npm: @serialport/bindings-cpp@10.7.0
2022-03-28T07:19:36.153Z [err] npm ERR! notsup Not compatible with your version of node/npm: @serialport/bindings-cpp@10.7.0
2022-03-28T07:19:36.153Z [err] npm ERR! notsup Required: {"node":">=12.17.0 <13.0 || >=14.0.0"}
2022-03-28T07:19:36.153Z [err] npm ERR! notsup Actual: {"npm":"6.13.6","node":"13.8.0"}
2022-03-28T07:19:36.159Z [err] 
2022-03-28T07:19:36.159Z [err] npm ERR! A complete log of this run can be found in:
2022-03-28T07:19:36.159Z [err] npm ERR!

```

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [28 March 2022 07:25 UTC](https://discourse.nodered.org/t/node-red-node-serialport-update-failed/60434/2 "2022-03-28T07:25:07Z")

</div>

Version 13 of node is not supported. Upgrade to v14 or v16

---

<div class="post-metadata">

**Author:** ![protonmw](https://avatars.discourse-cdn.com/v4/letter/p/b3f665/32.png) [@protonmw](https://discourse.nodered.org/u/protonmw)\
**Post date:** [28 March 2022 07:52 UTC](https://discourse.nodered.org/t/node-red-node-serialport-update-failed/60434/3 "2022-03-28T07:52:27Z")

</div>

Ok! Sorry for asking stupid questions, but what exactly should i update and how?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [28 March 2022 08:06 UTC](https://discourse.nodered.org/t/node-red-node-serialport-update-failed/60434/4 "2022-03-28T08:06:16Z")

</div>

Update nodejs. You are currently running version 13. This is not supported. Try updating two version 14 or version 16. Search the internet for install node.js on Windows, there are tons of tutorials.

After node js is updated, you can try installing the serial node again.

---

<div class="post-metadata">

**Author:** ![protonmw](https://avatars.discourse-cdn.com/v4/letter/p/b3f665/32.png) [@protonmw](https://discourse.nodered.org/u/protonmw)\
**Post date:** [28 March 2022 08:22 UTC](https://discourse.nodered.org/t/node-red-node-serialport-update-failed/60434/5 "2022-03-28T08:22:24Z")

</div>

😀 Thanks!

---

<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:** [28 March 2022 08:40 UTC](https://discourse.nodered.org/t/node-red-node-serialport-update-failed/60434/6 "2022-03-28T08:40:30Z")

</div>

After upgrading nodejs you should go into your .node-red folder and run  
`npm rebuild`  
which will rebuild any nodes that need it.  
Then restart node-red.

---

<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:** [11 April 2022 08:41 UTC](https://discourse.nodered.org/t/node-red-node-serialport-update-failed/60434/7 "2022-04-11T08:41:22Z")

</div>

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