# Is anyone else seeing these errors in the Editor (in dev tools console)?

**URL:** <https://discourse.nodered.org/t/is-anyone-else-seeing-these-errors-in-the-editor-in-dev-tools-console/85778>\
**Category:** General\
**Created:** [22 February 2024 15:16 UTC](https://discourse.nodered.org/t/is-anyone-else-seeing-these-errors-in-the-editor-in-dev-tools-console/85778 "2024-02-22T15:16:30Z")\
**Posts on this page:** 7\
**Page:** 1

<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:** [22 February 2024 15:16 UTC](https://discourse.nodered.org/t/is-anyone-else-seeing-these-errors-in-the-editor-in-dev-tools-console/85778/1 "2024-02-22T15:16:30Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/3/131176677503bdc4e412977a43adcc951a9cebe2.png)

I am getting them when closing any node config panel.

Trying to work out if it is something I've done as I'm only seeing it on my Windows dev instance.

Running Node-RED v3.1.5 in Edge browser.

---

<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:** [22 February 2024 15:45 UTC](https://discourse.nodered.org/t/is-anyone-else-seeing-these-errors-in-the-editor-in-dev-tools-console/85778/2 "2024-02-22T15:45:58Z")

</div>

can you click the highlighted links and and show a small snippet of code so we we can get perspective?

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

> [@TotallyInformation](#):
>
> closing any node config panel

Doble checking: config nodes and regular nodes or just config nodes?

---

<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:** [22 February 2024 16:53 UTC](https://discourse.nodered.org/t/is-anyone-else-seeing-these-errors-in-the-editor-in-dev-tools-console/85778/3 "2024-02-22T16:53:15Z")

</div>

> [@Steve-Mcl](#):
>
> Doble checking: config nodes and regular nodes or just config nodes?

Config nodes as well.

The emit error:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/0/d03504cbac6c0cbd938f2272a77cf4deeedc2a7b.png)

Comes from `RED.events`.

The 2nd link is from `RED.tray`, the `showTray` function:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/9/19c349bf180a8691c9ba385801e3dc46b8143131.png)

The 3rd link is also from `RED.tray`, the `showTray` function:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/b/1b180d6a2c01c4b68fadad4483a36f1136afa8f8.png)

4th link:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/8/78efe34a5daf8c48b945ccec3fe73f66dc559ac7.png)

The 2nd error is exactly the same but points to line 1049 of the emit function instead of 1048. Actually, that line seems superfluous anyway since I think that the `err` object could be passed as a 2nd argument to the console.warn?

---

<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:** [22 February 2024 17:01 UTC](https://discourse.nodered.org/t/is-anyone-else-seeing-these-errors-in-the-editor-in-dev-tools-console/85778/4 "2024-02-22T17:01:52Z")

</div>

I dont see this (but i am in dev v4 branch exclusively ATM)

Hoping someone else will pop by and let us know.

Thanks for the info Julian.

---

<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:** [22 February 2024 17:07 UTC](https://discourse.nodered.org/t/is-anyone-else-seeing-these-errors-in-the-editor-in-dev-tools-console/85778/5 "2024-02-22T17:07:28Z")

</div>

I am not seeing it. NR 3.1.5, Also Edge browser.

---

<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:** [22 February 2024 17:13 UTC](https://discourse.nodered.org/t/is-anyone-else-seeing-these-errors-in-the-editor-in-dev-tools-console/85778/6 "2024-02-22T17:13:51Z")

</div>

Ah!! Took me a while to work out how to go down the rabbit hole of nested indirect function calls! Got there in the end though.

It is in my own code:

```javascript
        // https://discourse.nodered.org/t/special-indication-on-nodes-with-description/78646/76
        // RED.view.node_width and RED.view.node_height
        RED.events.on( 'editor:close', () => {
            let x = 0
            let y = 0
            $(`#${n.id}`).find('.red-ui-info-available-indicator').remove()
            RED.nodes.eachNode( n => {
                y++
                if ( n.info ) {
                    x++
                    // $(`#${n.id}`).append('<g class="red-ui-flow-node-available-indicator" transform="translate(5,5)"><circle cx="5" cy="5" r="5"></circle></g>')
                    // // NB: You have to re-render the container (ref: https://stackoverflow.com/a/36305466/1309986):
                    // $(`#${n.id}`).html($(`#${n.id}`).html())
                }
            })
            console.log(x, y)
        })

```

I suspected it must be. As you will all no doubt see faster than I did, there is a rather obvious error in that code. 🙂 Over optimisation at its finest 🤦

Thanks for all who looked though.

---

<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:** [7 March 2024 17:14 UTC](https://discourse.nodered.org/t/is-anyone-else-seeing-these-errors-in-the-editor-in-dev-tools-console/85778/7 "2024-03-07T17:14:09Z")

</div>

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