# Minor bug with Filter RBE nodes

**URL:** <https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461>\
**Category:** General\
**Created:** [16 February 2022 12:36 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461 "2022-02-16T12:36:33Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsbn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gsbn/32/56607_2.png) [@gsbn](https://discourse.nodered.org/u/gsbn)\
**Post date:** [16 February 2022 12:36 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/1 "2022-02-16T12:36:33Z")

</div>

Since the RBE node was renamed to Filter, I'm no longer seeing any of the strings in the Filter settings form.

See screenshot:

 ![2022-02-16_12-29](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/6/b6e26ee0a62dd2a01430fa47438c854100641214.png)

Currently on the latest release of NodeRed, and can hack/fix it by manually installing the Filter Node Module into the node\_modules folder. But it then says it's been installed twice in the admin UI.

Is there a correct method to reinstall the Filter node or another way to fix this?  
This is a production system, so can't just reinstall everything.

Many thanks!

---

<div class="post-metadata">

**Author:** ![mickym2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mickym2/32/36128_2.png) [@mickym2](https://discourse.nodered.org/u/mickym2)\
**Post date:** [16 February 2022 15:20 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/2 "2022-02-16T15:20:19Z")

</div>

You have to remove all instances of the filter node as they are part of the core nodes.

---

<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:** [16 February 2022 18:35 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/3 "2022-02-16T18:35:51Z")

</div>

> [@mickym2](#):
>
> have to remove all instances of the filter node as they are part of the core nodes.

No, you should not need to do anything.

This is usually a browser caching issue - where it is still using the old message catalog without the updated messages in.

A clear if the browser cache should resolve it.

---

<div class="post-metadata">

**Author:** ![gsbn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gsbn/32/56607_2.png) [@gsbn](https://discourse.nodered.org/u/gsbn)\
**Post date:** [17 February 2022 17:25 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/4 "2022-02-17T17:25:16Z")

</div>

Thanks for the suggestion.

I've tried clearing the cache, using a different browser and using Private mode, but they all have the same problem.

---

<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:** [17 February 2022 19:08 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/5 "2022-02-17T19:08:23Z")

</div>

> [@gsbn](#):
>
> I've tried clearing the cache

Did you do that via the browser menus?

---

<div class="post-metadata">

**Author:** ![gsbn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gsbn/32/56607_2.png) [@gsbn](https://discourse.nodered.org/u/gsbn)\
**Post date:** [17 February 2022 19:30 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/6 "2022-02-17T19:30:00Z")

</div>

Yes, via the Settings. Also tried on other machines, with no fix.

---

<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:** [17 February 2022 20:49 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/7 "2022-02-17T20:49:58Z")

</div>

Can you stop node-red and start it again in a terminal and post the terminal output here please.

Also check in the browser developer console if you see any errors.

---

<div class="post-metadata">

**Author:** ![mickym2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mickym2/32/36128_2.png) [@mickym2](https://discourse.nodered.org/u/mickym2)\
**Post date:** [17 February 2022 22:06 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/8 "2022-02-17T22:06:35Z")

</div>

I fixed my problems in this way - and it was not a caching problem of the browser.

---

<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:** [17 February 2022 22:07 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/9 "2022-02-17T22:07:33Z")

</div>

Which filter node did you remove?

---

<div class="post-metadata">

**Author:** ![mickym2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mickym2/32/36128_2.png) [@mickym2](https://discourse.nodered.org/u/mickym2)\
**Post date:** [17 February 2022 22:35 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/10 "2022-02-17T22:35:07Z")

</div>

I **removed all dedicated rbe/filter nodes** - so no dedicated filter/rbe node is available anymore. The rbe node is only part of the core nodes.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/a/6ab824ae2f6edbd8d442fd87382a4a80f76e6fea.png)

---

<div class="post-metadata">

**Author:** ![gsbn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gsbn/32/56607_2.png) [@gsbn](https://discourse.nodered.org/u/gsbn)\
**Post date:** [18 February 2022 10:14 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/11 "2022-02-18T10:14:25Z")

</div>

Restarting from the terminal outputs:

```auto
Welcome to Node-RED
===================

18 Feb 10:06:02 - [info] Node-RED version: v2.2.1
18 Feb 10:06:02 - [info] Node.js version: v14.15.0
18 Feb 10:06:02 - [info] Linux 4.15.0-167-generic x64 LE
18 Feb 10:06:02 - [info] Loading palette nodes
18 Feb 10:06:03 - [info] Settings file : /home/username/.node-red/settings.js
18 Feb 10:06:03 - [info] HTTP Static : /home/username/.node-red/public
18 Feb 10:06:03 - [info] Context store : 'default' [module=memory]
18 Feb 10:06:03 - [info] User directory : /home/username/.node-red
18 Feb 10:06:03 - [info] Projects directory: /home/username/.node-red/projects
18 Feb 10:06:03 - [info] Server now running at http://127.0.0.1:1880/
18 Feb 10:06:03 - [info] Active project : av-ubu-nodered
18 Feb 10:06:03 - [info] Flows file : /home/username/.node-red/projects/av-ubu-nodered/flows_av-ubu-nodered.json
18 Feb 10:06:03 - [info] Starting flows
Tesla API: No token found. Getting new token now...
Tesla API: doing api call to fetch new access token
18 Feb 10:06:03 - [info] Started flows
18 Feb 10:06:04 - [info] [udp in:d51c3f7bb592c1b5] udp listener at 0.0.0.0:8081
18 Feb 10:06:04 - [info] [udp in:818b09a0530f10bd] udp listener at 0.0.0.0:1888
18 Feb 10:06:04 - [info] [udp in:3fc80d15.212f4a] udp listener at 0.0.0.0:22622
18 Feb 10:06:04 - [info] [mqtt-broker:AvMQTT] Connected to broker: mqtt://10.2.0.24:1883
Tesla API: access token OK
Tesla API: No token found. Getting new token now...
Tesla API: doing api call to fetch new access token

```

No obvious errors. (username sanitized)

In the browser the only error is:

```auto
DevTools failed to load source map: Could not load content for http://10.2.0.23:1880/vendor/purify.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

```

---

<div class="post-metadata">

**Author:** ![gsbn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gsbn/32/56607_2.png) [@gsbn](https://discourse.nodered.org/u/gsbn)\
**Post date:** [18 February 2022 10:22 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/12 "2022-02-18T10:22:46Z")

</div>

I think I've spotted the problem. Thanks to the post above.

In the palette nodes I have a separate entry for "node-red-node-rbe" outside the core nodes. The only option is to disable this, what is the process to manually remove this entry?

---

<div class="post-metadata">

**Author:** ![mickym2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mickym2/32/36128_2.png) [@mickym2](https://discourse.nodered.org/u/mickym2)\
**Post date:** [18 February 2022 14:39 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/13 "2022-02-18T14:39:33Z")

</div>

Look into the node\_modules directories if there is a directory named "node-red-node-rbe". If there is one, change to the parent directory of the node\_modules directory and remove the module with  
`npm remove node-red-node-rbe`

May be you have several node\_modules directories then you need to look in all if there is a node-red-node-rbe directory.

After this restart you node-red, clean browser cache and the nodes should work normal

---

<div class="post-metadata">

**Author:** ![gsbn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gsbn/32/56607_2.png) [@gsbn](https://discourse.nodered.org/u/gsbn)\
**Post date:** [18 February 2022 17:12 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/14 "2022-02-18T17:12:05Z")

</div>

There's no "node-red-node-rbe" directory in the node\_modules directories.

There is an entry for "node-red-node-rbe" at the bottom of the .config.nodes.json file, and a quick search elsewhere seems to suggest this is the only reference. Is it safe to manually remove this entry? and would it fix the problem?

---

<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:** [18 February 2022 17:20 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/15 "2022-02-18T17:20:35Z")

</div>

> [@gsbn](#):
>
> There is an entry for "node-red-node-rbe" at the bottom of the .config.nodes.json

Can you share the full entry for that here?

> [@gsbn](#):
>
> would it fix the problem?

Right now we don't know what the problem is. The way the RBE node is incorporated into the core and relabelled Filter was done in a way that should be completely transparent to end users. The runtime _should_ be refusing to load the node-red-node-rbe module because it already has those node types now in the core palette. The editor _should_ be using the core message catalog to get the text for those nodes.

---

<div class="post-metadata">

**Author:** ![gsbn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gsbn/32/56607_2.png) [@gsbn](https://discourse.nodered.org/u/gsbn)\
**Post date:** [18 February 2022 17:35 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/16 "2022-02-18T17:35:32Z")

</div>

Sure it's:

```auto
 },
    "node-red-node-rbe": {
        "name": "node-red-node-rbe",
        "version": "0.5.0",
        "local": false,
        "user": false,
        "nodes": {
            "rbe": {
                "name": "rbe",
                "types": [
                    "rbe"
                ],
                "enabled": false,
                "local": false,
                "user": false,
                "module": "node-red-node-rbe",
                "file": "/usr/local/lib/node_modules/node-red/node_modules/node-red-node-rbe/rbe.js"
            }
        }
    }

```

In case it helps, the file referenced doesn't exist.

---

<div class="post-metadata">

**Author:** ![gsbn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gsbn/32/56607_2.png) [@gsbn](https://discourse.nodered.org/u/gsbn)\
**Post date:** [22 February 2022 10:30 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/17 "2022-02-22T10:30:15Z")

</div>

Also found this entry in .config.json

```auto
,
  "node-red-node-rbe": {
   "name": "node-red-node-rbe",
   "version": "0.2.9",
   "local": true,
   "nodes": {
    "rbe": {
     "name": "rbe",
     "types": [
      "rbe"
     ],
     "enabled": true,
     "local": true,
     "module": "node-red-node-rbe",
     "file": "/home/username/.node-red/node_modules/node-red-node-rbe/rbe.js"
    }
   }
  },

```

---

<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:** [23 April 2022 10:31 UTC](https://discourse.nodered.org/t/minor-bug-with-filter-rbe-nodes/58461/18 "2022-04-23T10:31:06Z")

</div>

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