# Node.js v20 valid with Node-RED v3.1.0. Any success? I had issues with i2c

**URL:** <https://discourse.nodered.org/t/node-js-v20-valid-with-node-red-v3-1-0-any-success-i-had-issues-with-i2c/81526>\
**Category:** General\
**Created:** [23 September 2023 19:52 UTC](https://discourse.nodered.org/t/node-js-v20-valid-with-node-red-v3-1-0-any-success-i-had-issues-with-i2c/81526 "2023-09-23T19:52:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SonoraTechnical](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sonoratechnical/32/20033_2.png) [@SonoraTechnical](https://discourse.nodered.org/u/SonoraTechnical)\
**Post date:** [23 September 2023 19:52 UTC](https://discourse.nodered.org/t/node-js-v20-valid-with-node-red-v3-1-0-any-success-i-had-issues-with-i2c/81526/1 "2023-09-23T19:52:50Z")

</div>

Folks,  
Is anyone running node.js v20 w/ node-RED v3.1.0? I had issues with flows that communicated with i2c, so I went back to node.js v18 and all is good. Didn't know if I'm trying to be too bleeding edge...  
Peter

---

<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:** [23 September 2023 20:02 UTC](https://discourse.nodered.org/t/node-js-v20-valid-with-node-red-v3-1-0-any-success-i-had-issues-with-i2c/81526/2 "2023-09-23T20:02:32Z")

</div>

Likely a node 20 thing.

Did you try node-red 3.0.2 + node 20?

Glad to see it works with 18 - which means you should probably raise an issue to let the author know

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [24 September 2023 00:53 UTC](https://discourse.nodered.org/t/node-js-v20-valid-with-node-red-v3-1-0-any-success-i-had-issues-with-i2c/81526/3 "2023-09-24T00:53:08Z")

</div>

I assume you rebuilt all nodes when you moved to v20?

---

<div class="post-metadata">

**Author:** ![SonoraTechnical](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sonoratechnical/32/20033_2.png) [@SonoraTechnical](https://discourse.nodered.org/u/SonoraTechnical)\
**Post date:** [24 September 2023 19:54 UTC](https://discourse.nodered.org/t/node-js-v20-valid-with-node-red-v3-1-0-any-success-i-had-issues-with-i2c/81526/4 "2023-09-24T19:54:23Z")

</div>

ncd-comm wouldn't rebuild and that's a bit of a foundation for some of the i2c nodes I use.... I'll try again on a 3rd Rpi4B 4GB Bullseye 64bit that I have kicking around later this week.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [24 September 2023 20:12 UTC](https://discourse.nodered.org/t/node-js-v20-valid-with-node-red-v3-1-0-any-success-i-had-issues-with-i2c/81526/5 "2023-09-24T20:12:50Z")

</div>

OK, so that is probably the issue I guess. You might need to raise it with the authors.

---

<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:** [24 September 2023 20:15 UTC](https://discourse.nodered.org/t/node-js-v20-valid-with-node-red-v3-1-0-any-success-i-had-issues-with-i2c/81526/6 "2023-09-24T20:15:32Z")

</div>

In case you didn't realize, nodejs 20 is not yet officially supported by node red. In practice there are very few issues, but you appear to have found one of them.

---

<div class="post-metadata">

**Author:** ![SonoraTechnical](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sonoratechnical/32/20033_2.png) [@SonoraTechnical](https://discourse.nodered.org/u/SonoraTechnical)\
**Post date:** [24 September 2023 23:10 UTC](https://discourse.nodered.org/t/node-js-v20-valid-with-node-red-v3-1-0-any-success-i-had-issues-with-i2c/81526/7 "2023-09-24T23:10:20Z")

</div>

Yeah, i knew it wasn't officially supported.. which is why I asked the question... just to see if anyone had started trying it.

---

<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:** [25 September 2023 12:34 UTC](https://discourse.nodered.org/t/node-js-v20-valid-with-node-red-v3-1-0-any-success-i-had-issues-with-i2c/81526/8 "2023-09-25T12:34:14Z")

</div>

I have been using it for months with no problems. v20 will become an LTS in October, so node-red should officially support it then, I believe. That will not fix any problems with contributed nodes of course.

---

<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:** [24 November 2023 12:35 UTC](https://discourse.nodered.org/t/node-js-v20-valid-with-node-red-v3-1-0-any-success-i-had-issues-with-i2c/81526/9 "2023-11-24T12:35:10Z")

</div>

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