# 🎉 Node-RED 2.1.4 released

**URL:** <https://discourse.nodered.org/t/node-red-2-1-4-released/54622>\
**Category:** News\
**Created:** [2 December 2021 09:46 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622 "2021-12-02T09:46:35Z")\
**Posts on this page:** 20\
**Page:** 2

<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:** [7 December 2021 15:59 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/21 "2021-12-07T15:59:52Z")

</div>

npm expects package versions to follow best practice and so will not automatically update anything where the major version has changed unless you tell it to explicitly. `npm outdated` indicates this by telling you there is a difference between the wanted and latest columns.

That's why I recommend simply using `npm install -g node-red@latest --unsafe-perm --production` in an npm script so that you don't need to worry about it. All you need to know is whether it needs updating or not. Though you should obviously decide for yourself when you want to jump to a new major version.

---

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [7 December 2021 16:00 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/22 "2021-12-07T16:00:13Z")

</div>

Yes, there is a folder called `node_modules`, with 394 folders within that folder. is that not OK ?

---

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [7 December 2021 16:04 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/23 "2021-12-07T16:04:35Z")

</div>

Yes, Sure, during my first exposure to node-red, i might have chosen wrong steps, but since it was (and still is) working fine for me, may be i did not realize this issue (if it is one)

---

<div class="post-metadata">

**Author:** ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)\
**Post date:** [7 December 2021 16:11 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/24 "2021-12-07T16:11:51Z")

</div>

its no problem ..  
but to be on the safe side (and you havent been installing any other nodejs applications in that folder)  
instead of telling you to delete them .. better just rename  
`node_modules` to `node_modules_old`  
and  
`package-lock.json` to `package-lock.json.old`

ps. only the ones in `C:\Users\Manjunath.S`

---

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [7 December 2021 16:14 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/25 "2021-12-07T16:14:53Z")

</div>

Thanks, appreciate your help. will do.

---

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [18 December 2021 00:40 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/26 "2021-12-18T00:40:23Z")

</div>

Hi Nick,

I just upgraded one windows machine to latest version 2.1.4 and by the way activated the monaco editor.

And noticed that I can't type into the editor. The browser console shows this:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/3/633c06d1ddfe008885f0c5badd413f1b83cd3063.jpeg)  
and counting up each keyboard press.

I haven't used monaco on this machine before to I only added the `codeEditor` parameter to `editorTheme`

```auto
    // Customising the editor
    editorTheme: {
        projects: {
            // To enable the Projects feature, set this value to true
            enabled: true
        },
	    codeEditor: {
			lib: "monaco"
		}
    },

```

Any Idea?

---

<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:** [18 December 2021 00:43 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/27 "2021-12-18T00:43:35Z")

</div>

> [@Christian-Me](#):
>
> Any Idea

This is a known issue. A naughty node you have installed is polluting the prototype of something I long forgot.

2 ticks I'll update this when I find the link (or simply search part of the error you see to find the solution)

Edit:

Here you go - follow [this](https://discourse.nodered.org/t/node-red-2-0-released/48647/43).

---

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [18 December 2021 01:04 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/28 "2021-12-18T01:04:07Z")

</div>

Great thank you for the link. I use at least one of the suspects.

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [20 December 2021 16:11 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/29 "2021-12-20T16:11:05Z")

</div>

@knolleary,  
I have a question regarding keeping, in some way, the list of flows that are displayed vs. hidden perhaps in the configuration? I tried closing and opening the editor on this upgrade and there seems to be no persistence.

---

<div class="post-metadata">

**Author:** ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)\
**Post date:** [20 December 2021 16:33 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/30 "2021-12-20T16:33:35Z")

</div>

I noticed that too ..  
if you hide the Flows from the **Information tab** though (using the eye icon) it will be persistant

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

(the changes this way are saved for that browser in LocalStorage)

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [20 December 2021 16:34 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/31 "2021-12-20T16:34:10Z")

</div>

It's a deliberate design decision not to hide anything when project is opened

---

<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:** [20 December 2021 16:41 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/32 "2021-12-20T16:41:30Z")

</div>

As per the release blog post that introduced the feature:

> For this first release of the feature, the hidden state of a tab is stored in user preferences within the editor - it is not a property of the flow itself. This means you can’t share a set of flows with another user and have some of the tabs pre-hidden. It is an open point of discussion as to whether we want to allow that behaviour.

That means a particular browser should remember what is hidden. If that isn't what you see, please raise an issue with full details of what you do/don't see happen.

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [20 December 2021 16:42 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/33 "2021-12-20T16:42:04Z")

</div>

Ok,  
Please explain this "when project is opened". Is that a condition to "Cannot Save Hide" vs. some condition where you "can save Hide"?

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [20 December 2021 16:52 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/34 "2021-12-20T16:52:15Z")

</div>

I'm running  
and I have Windows 10  
Firefox Browser 95.0  
Node-RED 2.13 Keeps Hidden Tab information

Linux Mint 20.2  
Firefox Browser 95.0  
Node-RED 2.14 Does Not Keep Hidden Tab information

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [20 December 2021 17:06 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/35 "2021-12-20T17:06:42Z")

</div>

The state of shown/hidden is stored in the browser localStorage - which is managed by the browser. Different browsers may have different retention policies (eg based on total data stored for example) - but I would expect the same browser version to be fairly consistent across platforms. If that storage gets flushed for some reason (maybe an upgrade for example) then any local data may be lost.

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [20 December 2021 17:35 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/36 "2021-12-20T17:35:31Z")

</div>

OK, so is there any traction for a way to preserve this list of tabs for a user? So we can either have a memory to work from or force a user through configuration management for them? I realize this is out of the normal for programmers which are singular users. For Industrial applications if no security is applied, but only a list of normally available tabs by "default" is useful for areas of interest which should and then should not be accessed. I realize since this means is not an exclusion, but a suggestion.

I had previously submitted "Filtering" the nodes, therefore by naming convention you can access flows of kind in the display vs. weeding through them in either display for function. Applying a saved Filter in the dropdown etc. for preferences...

---

<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:** [20 December 2021 18:45 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/37 "2021-12-20T18:45:17Z")

</div>

Can you describe exactly how to reproduce the problem please?

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [20 December 2021 19:01 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/38 "2021-12-20T19:01:47Z")

</div>

@Colin ,  
This issue seems to be only on my Linux laptop. I just upgraded to 2.14 on Win10 and its still working to remember my flow states.

On my Linux laptop, I had a few flows open on my system after upgrading to 2.14. I tried closing the browser and opening it. It did not "remember" my flows "Hidden/Show". I closed Node-RED and thus the browser as well. I opened it and then it also did not "remember" the states.

On my Windows 10, I closed the browser and it opens it the way it was.

---

<div class="post-metadata">

**Author:** ![Marooned](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marooned/32/2858_2.png) [@Marooned](https://discourse.nodered.org/u/Marooned)\
**Post date:** [30 December 2021 01:05 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/39 "2021-12-30T01:05:46Z")

</div>

> [@knolleary](#):
>
> With this release we've changed the icon to an eye that matches the icon used in the info sidebar to indicate hidden tabs.

One more missing spot  
 ![obraz](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/f/8fd7af7e6c0b7667a3d075cb02e22da0dcdebc89.png)

---

<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:** [30 December 2021 08:52 UTC](https://discourse.nodered.org/t/node-red-2-1-4-released/54622/40 "2021-12-30T08:52:03Z")

</div>

Thanks @Marooned - well spotted. Already fixed in git.

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

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