# Error in 3.0 upgrade notes. BIG problem with latest Node.JS (v16.6)

**URL:** <https://discourse.nodered.org/t/error-in-3-0-upgrade-notes-big-problem-with-latest-node-js-v16-6/65313>\
**Category:** General\
**Tags:** windows\
**Created:** [19 July 2022 10:29 UTC](https://discourse.nodered.org/t/error-in-3-0-upgrade-notes-big-problem-with-latest-node-js-v16-6/65313 "2022-07-19T10:29:51Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [19 July 2022 13:52 UTC](https://discourse.nodered.org/t/error-in-3-0-upgrade-notes-big-problem-with-latest-node-js-v16-6/65313/21 "2022-07-19T13:52:28Z")

</div>

> [@Colin](#):
>
> could you comment on this please? The docs for upgrading nodejs ([Supported Node versions : Node-RED](https://nodered.org/docs/faq/node-versions#upgrading-nodejs)) says that `npm rebuild` should be also be run in the node-red install directory. Is that still the case? I have never done that as far as I can remember.

It is still true that Node-RED has a binary module dependency (`bcrypt`) that will fall back to the less efficient `bcryptjs` if it fails to load.

When you change Node.js version you should run `npm rebuild` on _any_ node\_modules folders you have installed with the old version - just in case there's something in there that needs rebuilding.

---

<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:** [19 July 2022 13:56 UTC](https://discourse.nodered.org/t/error-in-3-0-upgrade-notes-big-problem-with-latest-node-js-v16-6/65313/22 "2022-07-19T13:56:58Z")

</div>

> [@knolleary](#):
>
> fall back to the less efficient `bcryptjs` if it fails to load.

OK, thanks. Does it fail silently or is there a message in the startup log?

---

<div class="post-metadata">

**Author:** ![bwims](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bwims/32/64907_2.png) [@bwims](https://discourse.nodered.org/u/bwims)\
**Post date:** [20 July 2022 16:00 UTC](https://discourse.nodered.org/t/error-in-3-0-upgrade-notes-big-problem-with-latest-node-js-v16-6/65313/23 "2022-07-20T16:00:29Z")

</div>

Hi,

Sadly this is nowhere near as usable. The function-npm would load modules dynamically, not require them to be specified and loaded in settings.js

Is that possible in V3 ?

---

<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:** [20 July 2022 16:13 UTC](https://discourse.nodered.org/t/error-in-3-0-upgrade-notes-big-problem-with-latest-node-js-v16-6/65313/24 "2022-07-20T16:13:05Z")

</div>

Node red version 2 and version 3 do not require you to put anything in settings.js. just enter the module name in the settings tab and deploy.

---

<div class="post-metadata">

**Author:** ![bwims](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bwims/32/64907_2.png) [@bwims](https://discourse.nodered.org/u/bwims)\
**Post date:** [20 July 2022 16:20 UTC](https://discourse.nodered.org/t/error-in-3-0-upgrade-notes-big-problem-with-latest-node-js-v16-6/65313/25 "2022-07-20T16:20:55Z")

</div>

@UnborN  
Thanks, I just found [this](https://www.youtube.com/watch?v=JvJuAoteGk8) live twitch thingy with @knolleary then I found it in the 2.0 release notes!

Looks like [Writing Functions : Node-RED (nodered.org)](https://nodered.org/docs/user-guide/writing-functions#loading-additional-modules) needs an update 🙂

Isn't life grand?

Moral: try not to upgrade 2 versions at once... 🤦‍♂️

---

<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:** [18 September 2022 16:21 UTC](https://discourse.nodered.org/t/error-in-3-0-upgrade-notes-big-problem-with-latest-node-js-v16-6/65313/26 "2022-09-18T16:21:04Z")

</div>

Closed on 18 September 2022 16:21 UTC

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

[Previous page](https://discourse.nodered.org/t/error-in-3-0-upgrade-notes-big-problem-with-latest-node-js-v16-6/65313.md?page=1)
