# 🎉 Node-RED 2.0.3 Released

**URL:** https://discourse.nodered.org/t/node-red-2-0-3-released/48816
**Category:** News
**Created:** [23 July 2021 13:46 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816 "2021-07-23T13:46:33Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [25 July 2021 21:39 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/21 "2021-07-25T21:39:01Z")

</div>

I'm using an external module - [ping - npm](https://www.npmjs.com/package/ping) in a function node which has worked fine so far, but since v2.0.0 (v2.0.1, v2.0.2 or v2.0.3 - can't be sure) I've hit a problem.  
I get the error in debug;

```auto
Error: Cannot find module '/home/pi/.node-red/node_modules/ping'
Require stack:
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/externalModules.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/registry.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/index.js
- /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/index.js
- /usr/lib/node_modules/node-red/lib/red.js
- /usr/lib/node_modules/node-red/red.js

```

If I check `.node-red/node_modules`, the `ping` module is not installed, but it is listed in `.config.modules.json` (having being moved from `externalModules` during the update)

```auto
    "ping": {
        "spec": "ping",
        "module": "ping",
        "builtin": false,
        "known": false
    },

```

... and also in `package.json`

```auto
 "ping": "^0.4.1"

```

Note: During the v2.0.2 \> v2.0.3 update, I updated node from version 12 to 14 using the install script.

---

<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: [25 July 2021 22:20 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/22 "2021-07-25T22:20:22Z")

</div>

> [@Paul-Reed](#):
>
> If I check `.node-red/node_modules` , the `ping` module is not installed, but it is listed in `.config.modules.json`
> 
> ... and also in `package.json`

That is an odd combination of things. For it to be listed in your package.json, the npm install must have completed. So for it to not be in the node\_modules directory is odd. Can't readily explain that.

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [25 July 2021 23:24 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/24 "2021-07-25T23:24:41Z")

</div>

Rolled back to node v12 - error persists  
Rolled back to node-RED v2.0.2 - error persists  
Rolled back to node-RED v2.0.1 - error persists  
Ran `npm update` in `.node-red` - module now installed OK  
Updated to `node-RED v2.0.3` & `node 14` via script - module still installed & no error msg.

???

---

<div class="post-metadata">

### Author: ![sharonv](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@sharonv](https://discourse.nodered.org/u/sharonv)
#### Post date: [26 July 2021 17:19 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/25 "2021-07-26T17:19:16Z")

</div>

So working with Monaco is refreshing, one thing that has changed (as it seems) that the key combination CTRL+ENTER will not close the dialog (as in all dialogs), but will just add a carriage return to the edited code...this habit in quite rooted...is there anything that we can do about it?

---

<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: [26 July 2021 17:20 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/26 "2021-07-26T17:20:49Z")

</div>

@sharonv Did CTRL+ENTER in ACE close the dialog? (I forget)

---

<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: [26 July 2021 17:22 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/27 "2021-07-26T17:22:07Z")

</div>

> [@Steve-Mcl](#):
>
> Did CTRL+ENTER in ACE close the dialog?

Yes - because ACE doesn't have any shortcut bound to that.

---

<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: [26 July 2021 17:24 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/28 "2021-07-26T17:24:17Z")

</div>

Is it worth seeing if we can "un-bind" that in Monaco?

If I remember right, in many editors ENTER can differ from CTRL+ENTER (e.g. new paragraph Vs break)

---

<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: [26 July 2021 20:30 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/29 "2021-07-26T20:30:48Z")

</div>

Please do go into the flows site and put 1-star's on any nodes that are not being updated so that other people don't caught by the same issues.

---

<div class="post-metadata">

### Author: ![midnight1979](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/midnight1979/32/14894_2.png) [@midnight1979](https://discourse.nodered.org/u/midnight1979)
#### Post date: [28 July 2021 11:21 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/30 "2021-07-28T11:21:04Z")

</div>

After upgrate 1.3 to 2.0.3 having message "type\_already\_registered".  
I know that now it is "filter" node but how i can remove registered rbe type from node red without removing RBE nodes from flows?

---

<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: [28 July 2021 11:22 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/31 "2021-07-28T11:22:46Z")

</div>

Hi @midnight1979, in your node-red user directory, `~/.node-red`, you should be able to run:

`npm remove node-red-node-rbe`

and then restart Node-RED.

If that doesn't do it, then please share some more details on how you have Node-RED installed.

---

<div class="post-metadata">

### Author: ![midnight1979](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/midnight1979/32/14894_2.png) [@midnight1979](https://discourse.nodered.org/u/midnight1979)
#### Post date: [28 July 2021 11:25 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/32 "2021-07-28T11:25:17Z")

</div>

> [@knolleary](#):
>
> npm remove node-red-node-rbe

it is ok now - thanks!

---

<div class="post-metadata">

### Author: ![midnight1979](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/midnight1979/32/14894_2.png) [@midnight1979](https://discourse.nodered.org/u/midnight1979)
#### Post date: [28 July 2021 11:34 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/33 "2021-07-28T11:34:40Z")

</div>

After upgrading to version 2.0.3, at first glance, the performance has improved greatly! Deploy became MUCH faster with the same number of nodes - very impressive! 👍 👍 👍 👍 👍 👍 👍

---

<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 July 2021 18:18 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/34 "2021-07-28T18:18:54Z")

</div>

> [@sharonv](#):
>
> So working with Monaco is refreshing, one thing that has changed (as it seems) that the key combination CTRL+ENTER will not close the dialog

Reported [here](https://github.com/node-red/node-red/issues/3093)

---

<div class="post-metadata">

### Author: ![eddee54455](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/eddee54455/32/43350_2.png) [@eddee54455](https://discourse.nodered.org/u/eddee54455)
#### Post date: [4 August 2021 14:25 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/36 "2021-08-04T14:25:14Z")

</div>

Hey y'all...

Tried an upgrade on my pi and got the following:

```auto
Error loading settings file: /home/pi/.node-red/settings.js
Error: The module '/home/pi/.node-red/node_modules/i2c-bus/build/Release/i2c.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 83. This version of Node.js requires
NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at bindings (/home/pi/.node-red/node_modules/bindings/bindings.js:112:48)
    at Object.<anonymous> (/home/pi/.node-red/node_modules/i2c-bus/i2c-bus.js:4:32)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
nodered.service: Succeeded.

```

Any pointers?

Regds  
Ed

---

<div class="post-metadata">

### Author: ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)
#### Post date: [4 August 2021 14:31 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/37 "2021-08-04T14:31:06Z")

</div>

You need to make sure you run `npm rebuild` in the your `/home/pi/.node-red` directory to makes sure all the nodes with native components are updated to match the new version of NodeJS you are running.

But in this case it looks like you have downgraded your version of NodeJS. Exactly how did you do the upgrade.

---

<div class="post-metadata">

### Author: ![eddee54455](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/eddee54455/32/43350_2.png) [@eddee54455](https://discourse.nodered.org/u/eddee54455)
#### Post date: [4 August 2021 14:36 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/38 "2021-08-04T14:36:04Z")

</div>

Thanks for coming back to me!

I did the upgrade from the script on the node red org page:  
`bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)`

Also tried the npm rebuild too.... to no avail... (I don't think I was in the `.node-red` directory - It didn't return any errors though...)

E

---

<div class="post-metadata">

### Author: ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)
#### Post date: [4 August 2021 14:36 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/39 "2021-08-04T14:36:51Z")

</div>

You need to run that command in the `/home/pi/.node-red/` directory for it to work.

---

<div class="post-metadata">

### Author: ![eddee54455](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/eddee54455/32/43350_2.png) [@eddee54455](https://discourse.nodered.org/u/eddee54455)
#### Post date: [4 August 2021 14:40 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/40 "2021-08-04T14:40:49Z")

</div>

Thanks @hardillb

Ok, will do.... Will have to wait a bit though, I have just hit into the sunset hours where NR controls the load on my inverter quite strictly.... Will give it a go tomorrow!!

(A good reason to back up the system before poking it with an "engineering stick")

Will report back when I give it another poke!!

Regds  
Ed

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [4 August 2021 15:29 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/41 "2021-08-04T15:29:36Z")

</div>

> [@eddee54455](#):
>
> (A good reason to back up the system before poking it with an "engineering stick")

a good reason to have a backup Pi which is a copy of your 'live' pi. Then you could test things on it before changing the 'live' version.

---

<div class="post-metadata">

### Author: ![eddee54455](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/eddee54455/32/43350_2.png) [@eddee54455](https://discourse.nodered.org/u/eddee54455)
#### Post date: [4 August 2021 16:00 UTC](https://discourse.nodered.org/t/node-red-2-0-3-released/48816/42 "2021-08-04T16:00:50Z")

</div>

@zenofmud

Lol..... that would mean about an additional 6 units or so.... No, more than that!! (Media players, gamers, controllers, octopi'ses, routerpi'ses etc).... I'll just stick to backing up the cards!!

E

[Previous page](https://discourse.nodered.org/t/node-red-2-0-3-released/48816.md?page=1)

[Next page](https://discourse.nodered.org/t/node-red-2-0-3-released/48816.md?page=3)
