Rbe already registered

Hello,

after upgrading to 2.0.x I have this warning in console
[warn] [node-red-node-rbe/rbe] 'rbe' already registered by module node-red

how can I do to "clean" this warning ?

thanks
flecoufle

Read this blog entry:

You can ignore it or replace all your existing RBE with FILTER nodes.

No. The RBE and filter nodes are one and the same - there's nothing to replace.

What you can do is remove the node-red-node-rbe module as you no longer need it. The only question is identifying which directory to uninstall it from.

How did you install Node-RED exactly?

Hi Nick,

This instance is on a raspbian, I use always your update-nodejs-and-nodered script
so nodered is in /usr/lib/node_modules/node-red

my flow in /home/pi/.node-red/ use the rbe/filter node
I think a $npm remove in .node-red will delete my /home/pi/.node-red/node_modules/node-red-node-rbe and will clean my package.json ?

Yes, that's the thing to do. Don't forget to restart Node-RED afterwards

Oh whoops. I mis-understood. Thanks for explaining Nick!

@knolleary
Nick, how do you remove that msg on a Mac? If I do a'npm remove node-red-node-rbe while in the .node-red folder, at startup I get

30 Aug 16:26:12 - [warn] Missing node modules:
30 Aug 16:26:12 - [warn]  - node-red-node-rbe (0.5.0): rbe

and if I reinstall node-red-node-rbe, then I get

30 Aug 16:27:04 - [warn] ------------------------------------------------------
30 Aug 16:27:04 - [warn] [node-red-node-rbe/rbe] 'rbe' already registered by module node-red
30 Aug 16:27:04 - [warn] ------------------------------------------------------

in the log.

Also on a Pi, while I don't get the error msg, in the node sidebar it shows the filter node but when you drag it to a flow tab it shows up as RBE. Confusing??
Screen Shot 2021-08-30 at 8.23.30 PM

Why did you reinstall it?

The 'missing module' warning is telling you it couldn't find a module that was previously installed. But it shouldn't have stopped anything else from working.

Looks like we missed a bit when doing the rename. We can fix that.

I think the name may be being cached - it's labelled filter for me after being dragged.

because I was trying to get rid of the warning msg. I tried again and after starting the first time I get that msg, but stopping NR and restarting it, the msg goes away.

@dceejay

Yup you nailed it! A quick clearing of the cache and the name is now 'Filter'

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