# Weird: use of a button causes "Connection lost"

**URL:** <https://discourse.nodered.org/t/weird-use-of-a-button-causes-connection-lost/79930>\
**Category:** Dashboard\
**Created:** [19 July 2023 11:12 UTC](https://discourse.nodered.org/t/weird-use-of-a-button-causes-connection-lost/79930 "2023-07-19T11:12:52Z")\
**Posts on this page:** 7\
**Page:** 2

<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 July 2023 19:55 UTC](https://discourse.nodered.org/t/weird-use-of-a-button-causes-connection-lost/79930/21 "2023-07-20T19:55:14Z")

</div>

> [@manjha](#):
>
> ```auto
> rs/master/deb/update-nodejs-and-nodered){
> "name": "node-red-project",
> 
> ```

Is that line on the front in the file, or did you mess up the copy/paste. If you click the pencil icon next to the post you can correct it.

Did you uninstall the file function node before posting that, as suggested by @zenofmud? What does the startup log look like now?

As previously suggested it would probably be a good idea to update node red before giving up.

---

<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 July 2023 05:57 UTC](https://discourse.nodered.org/t/weird-use-of-a-button-causes-connection-lost/79930/22 "2023-07-21T05:57:47Z")

</div>

Latest dashboard requires at least nodejs 14. You are using v12. You will need to upgrade

---

<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:** [21 July 2023 08:03 UTC](https://discourse.nodered.org/t/weird-use-of-a-button-causes-connection-lost/79930/23 "2023-07-21T08:03:24Z")

</div>

> [@dceejay](#):
>
> Latest dashboard requires at least nodejs 14

Are you sure that is correct? When this question was first posted I checked [Releases · node-red/node-red-dashboard · GitHub](https://github.com/node-red/node-red-dashboard/releases) the last reference to nodejs is for version 3.0.4 which says "Set minimum requirement to be Node12 (in line with core)".  
Also, package.json has

```auto
    "engines": {
        "node": ">=12"
    }

```

---

<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 July 2023 08:12 UTC](https://discourse.nodered.org/t/weird-use-of-a-button-causes-connection-lost/79930/24 "2023-07-21T08:12:38Z")

</div>

true... but it may be that one of the libraries has updated enough to break it. I guess they could try pinning back to a previous version of dashboard... but I think upgrading would be better longer term.

---

<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:** [21 July 2023 08:22 UTC](https://discourse.nodered.org/t/weird-use-of-a-button-causes-connection-lost/79930/25 "2023-07-21T08:22:53Z")

</div>

> [@dceejay](#):
>
> I think upgrading would be better longer term.

Certainly.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [21 July 2023 08:53 UTC](https://discourse.nodered.org/t/weird-use-of-a-button-causes-connection-lost/79930/26 "2023-07-21T08:53:12Z")

</div>

The original problem occurred on NR v2.1.4. zSince then the user installed NR v 3.02 on another Pi and the problems gone away.

---

<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:** [20 August 2023 08:53 UTC](https://discourse.nodered.org/t/weird-use-of-a-button-causes-connection-lost/79930/27 "2023-08-20T08:53:53Z")

</div>

Closed on 20 August 2023 08:53 UTC

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

[Previous page](https://discourse.nodered.org/t/weird-use-of-a-button-causes-connection-lost/79930.md?page=1)
