# 🎉 Node-RED 1.2.2 released

**URL:** <https://discourse.nodered.org/t/node-red-1-2-2-released/34528>\
**Category:** News\
**Created:** [19 October 2020 23:13 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528 "2020-10-19T23:13:02Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![mspacca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mspacca/32/30688_2.png) [@mspacca](https://discourse.nodered.org/u/mspacca)\
**Post date:** [21 October 2020 11:58 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528/21 "2020-10-21T11:58:43Z")

</div>

With free new installation, if i install `node-red-contrib-s7` for first it work, and all other modules installed before have this issue.  
In this case i have installed first `node-red-dashboard` and all other modules make this issue.

I will use v12.19.0 for now...

Thanks

---

<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:** [21 October 2020 12:02 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528/22 "2020-10-21T12:02:55Z")

</div>

If you still have the 15 version... can you share the package.json it creates in that dir ?  
and ideally the package-lock.json

---

<div class="post-metadata">

**Author:** ![mspacca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mspacca/32/30688_2.png) [@mspacca](https://discourse.nodered.org/u/mspacca)\
**Post date:** [21 October 2020 12:13 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528/23 "2020-10-21T12:13:46Z")

</div>

package.json

```auto
{
    "name": "node-red-project",
    "description": "A Node-RED Project",
    "version": "0.0.1",
    "private": true,
    "dependencies": {
        "node-red-contrib-influxdb": "~0.4.1",
        "node-red-contrib-s7": "~2.2.1",
        "node-red-dashboard": "\"~\"2.23.4"
    }
}

```

First package installed `node-red-dashboard` with v15, all other with v12.  
then  
reinstalled v15 then, from this moment I can't install any packages with v15

---

<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:** [21 October 2020 12:16 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528/24 "2020-10-21T12:16:58Z")

</div>

> [@mspacca](#):
>
> `oard": "\"~\"2.23.4"`

yeah - edit that package.json to have just "~2.23.4" instead of those extra slashes and quotes

---

<div class="post-metadata">

**Author:** ![mspacca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mspacca/32/30688_2.png) [@mspacca](https://discourse.nodered.org/u/mspacca)\
**Post date:** [22 October 2020 06:28 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528/25 "2020-10-22T06:28:42Z")

</div>

package.json

```auto
{
    "name": "node-red-project",
    "description": "A Node-RED Project",
    "version": "0.0.1",
    "private": true,
    "dependencies": {
        "node-red-contrib-influxdb": "~0.4.1",
        "node-red-contrib-s7": "~2.2.1",
        "node-red-contrib-s7comm": "\"~\"1.1.6",
        "node-red-dashboard": "~2.23.4"
    }
}

```

to try i use v15 now.

it work for the first package installed `node-red-contrib-s7comm` installed correctly, but in `package.json` it will add always `"\"~\` before version. i have tried to install another package and will not work.

Ok, found problem... Thanks, i will continue use v12 for now ... or I will fix the file every time before installing a package.

Thanks a lot

---

<div class="post-metadata">

**Author:** ![Botched1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/botched1/32/21190_2.png) [@Botched1](https://discourse.nodered.org/u/Botched1)\
**Post date:** [24 October 2020 19:21 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528/26 "2020-10-24T19:21:31Z")

</div>

Side note, I did notice that upgrading to 1.2.2 broke the restart persistence on the node-red-contrib-stoptimer-varidelay node (at least for me). Rolling back to 1.1.3 fixed it. I run my instances in docker containers, in case it matters.

I submitted an issue to the author, but thought I would mention it here as it certainly seems 1.2.x related since the only thing I did to make it work again was roll back to 1.1.3.

EDIT: Put the container back to 1.2.2 and confirmed that the node does not continue after restart, as mentioned. Rolled back to 1.1.3 and it is working as expected again after a NR restart. Definitely seems NR 1.2.x related...

---

<div class="post-metadata">

**Author:** ![liiontamer](https://avatars.discourse-cdn.com/v4/letter/l/9fc29f/32.png) [@liiontamer](https://discourse.nodered.org/u/liiontamer)\
**Post date:** [27 October 2020 02:53 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528/27 "2020-10-27T02:53:45Z")

</div>

I've faced this issue multiple times;

Restarting node red and all of my flows have disappeared.

It's quite tragic after you've put in a couple of hours of work.

Hope there's a fix for it

---

<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:** [27 October 2020 07:30 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528/28 "2020-10-27T07:30:40Z")

</div>

@liiontamer without more information its going to be hard to help.

How are you running Node-RED? How do you upgrade? What does the startup log say about the location of your flows file?

---

<div class="post-metadata">

**Author:** ![liiontamer](https://avatars.discourse-cdn.com/v4/letter/l/9fc29f/32.png) [@liiontamer](https://discourse.nodered.org/u/liiontamer)\
**Post date:** [27 October 2020 14:45 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528/29 "2020-10-27T14:45:44Z")

</div>

Hi Nick,

Thanks for your response.

Running it on my laptop - accessing via localhost. This isn't related to an upgrade however just in general, sometimes if I restart the instance; I login to find my flows missing. It's happened 3 or 4 times in the past 2 months since I've started using Node-RED again. Startup log doesn't mention anything right now but everything's working at the moment.

I want to use Node-RED in commercial environments but not sure if my clients may restart their systems and find that the flows are gone

---

<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:** [27 October 2020 15:14 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528/30 "2020-10-27T15:14:55Z")

</div>

That certainly should not happen unless something has changed on your system. Does it recover by itself or do you have to restore the flows from your backup?

As Nick asked, start node-red in a terminal and post the log here as that may give us a clue. When pasting the text in then use the `</>` button at the top of the forum text entry window and paste the log in.

---

<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:** [27 October 2020 15:50 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528/31 "2020-10-27T15:50:44Z")

</div>

Actually, since this isn't about an upgrade or about the new release of node-red it would be better to start a new thread for your issue. Please post the additional information there. Thanks.

---

<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:** [27 October 2020 16:12 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528/32 "2020-10-27T16:12:50Z")

</div>

By default it uses the hostname as part of the flow file name. If that changes then it will pick up a different flow.

You can fix the flow file name in your settings.js file so it won't be affected.

---

<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:** [27 October 2020 20:50 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528/33 "2020-10-27T20:50:21Z")

</div>

> [@AsHex\_66](#):
>
> Don't know if this you full time job or not, but you all appear to be up 24-7.

I think that Nick is the only full-time Node-RED (core) developer. Some folk here use it professionally though. The rest of us vary in our day-jobs and, like Batman, inhabit the forum at night 🤣

---

<div class="post-metadata">

**Author:** ![liiontamer](https://avatars.discourse-cdn.com/v4/letter/l/9fc29f/32.png) [@liiontamer](https://discourse.nodered.org/u/liiontamer)\
**Post date:** [27 October 2020 23:11 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528/34 "2020-10-27T23:11:53Z")

</div>

Thanks for your support.

I've just created a new topic "[Node-RED Flows Disappearing](https://discourse.nodered.org/t/node-red-flows-disappearing/34919/2)"

I've also posted the startup log over there

Thanks in advance

---

<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:** [26 December 2020 23:11 UTC](https://discourse.nodered.org/t/node-red-1-2-2-released/34528/35 "2020-12-26T23:11:55Z")

</div>

Closed on 26 December 2020 23:11 UTC

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

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