# Lost connection to server, reconnecting in

**URL:** <https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659>\
**Category:** Dashboard\
**Created:** [11 April 2020 18:12 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659 "2020-04-11T18:12:26Z")\
**Posts on this page:** 20\
**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:** [12 April 2020 13:26 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/21 "2020-04-12T13:26:48Z")

</div>

Try re-installing that node. Go to your .node-red directory and run

```auto
npm remove node-red-contrib-telegrambot`
npm install telegrambot

```

If it fails then post the output here.

---

<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:** [12 April 2020 13:29 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/22 "2020-04-12T13:29:35Z")

</div>

Hold on though, that node is not even in use, so remove it, go to your .node-red directory and run  
`npm remove node-red-contrib-telegrambot`

---

<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:** [12 April 2020 13:34 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/23 "2020-04-12T13:34:51Z")

</div>

Hi i've seen this issue with all node show at once before [here](https://discourse.nodered.org/t/ie11-all-nodes-from-all-flows-shown-at-once-each-tab-looks-the-same/23313)

The solution was to update node-red.

---

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [12 April 2020 13:46 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/24 "2020-04-12T13:46:22Z")

</div>

```auto
pi@raspberrypi:~ $ npm remove node-red-contrib-telegrambot
npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.

audited 364 packages in 8.349s
found 35 vulnerabilities (22 moderate, 13 high)
  run `npm audit fix` to fix them, or `npm audit` for details
pi@raspberrypi:~ $

```

---

<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:** [12 April 2020 13:50 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/25 "2020-04-12T13:50:22Z")

</div>

As I said,

> [@Colin](#):
>
> go to your .node-red directory

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [12 April 2020 14:16 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/26 "2020-04-12T14:16:27Z")

</div>

`cd .node-red`

`npm uninstall node-red-contrib-telegrambot`

`npm uninstall node-red-contrib-modbus`

...and as @Steve-Mcl has said - update node-RED using the installation script -

`bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)`

> [@Colin](#):
>
> npm remove node-red-contrib-telegrambot

@Colin isn't it `npm uninstall` instead of `npm remove` or do both work?

---

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [12 April 2020 15:18 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/27 "2020-04-12T15:18:17Z")

</div>

Still no joy, I followed your instructions Paul

Sorry for the delay - I was 'instructed'😁 that I had to go for our once a day walk 🚶‍♂️

```auto
pi@raspberrypi:~/.node-red $ node-red-start

Start Node-RED

Once Node-RED has started, point a browser at http://192.168.2.40:1880
On Pi Node-RED works better with the Firefox or Chrome browser

Use node-red-stop to stop Node-RED
Use node-red-start to start Node-RED again
Use node-red-log to view the recent log output
Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot

To find more nodes and example flows - go to http://flows.nodered.org

Starting as a systemd service.
12 Apr 16:13:18 - [info] Stopped flows
Stopped Node-RED graphical event wiring tool.
Starting Node-RED graphical event wiring tool...
Started Node-RED graphical event wiring tool.
12 Apr 16:13:25 - [info]
Welcome to Node-RED
===================
12 Apr 16:13:25 - [info] Node-RED version: v1.0.5
12 Apr 16:13:25 - [info] Node.js version: v10.16.0
12 Apr 16:13:25 - [info] Linux 4.9.35-v7+ arm LE
12 Apr 16:13:27 - [info] Loading palette nodes
12 Apr 16:13:32 - [info] Dashboard up and running
12 Apr 16:13:37 - [info] Worldmap version 2.0.18
12 Apr 16:13:37 - [info] Dashboard version 2.15.5 started at /ui
12 Apr 16:13:40 - [warn] ------------------------------------------------------
12 Apr 16:13:40 - [warn] [node-red-contrib-telegrambot/telegrambot] Error: Cannot find module 'array.prototype.findindex'
12 Apr 16:13:40 - [warn] [node-red-contrib-ibm-watson-iot/wiotp] Error: Cannot find module 'format'
12 Apr 16:13:40 - [warn] [node-red-contrib-modbus/Modbus-Client] Error: Cannot find module 'source-map-support' (line:1)
12 Apr 16:13:40 - [warn] [node-red-contrib-modbus/Modbus-Response] Error: Cannot find module 'source-map-support' (line:1)
12 Apr 16:13:40 - [warn] [node-red-contrib-modbus/Modbus-Read] Error: Cannot find module 'source-map-support' (line:1)
12 Apr 16:13:40 - [warn] [node-red-contrib-modbus/Modbus-Getter] Error: Cannot find module 'source-map-support' (line:1)
12 Apr 16:13:40 - [warn] [node-red-contrib-modbus/Modbus-Flex-Getter] Error: Cannot find module 'source-map-support' (line:1)
12 Apr 16:13:40 - [warn] [node-red-contrib-modbus/Modbus-Write] Error: Cannot find module 'source-map-support' (line:1)
12 Apr 16:13:40 - [warn] [node-red-contrib-modbus/Modbus-Flex-Write] Error: Cannot find module 'source-map-support' (line:1)
12 Apr 16:13:40 - [warn] [node-red-contrib-modbus/Modbus-Server] Error: Cannot find module 'source-map-support' (line:1)
12 Apr 16:13:40 - [warn] [node-red-contrib-modbus/Modbus-Flex-Server] Error: Cannot find module 'source-map-support' (line:1)
12 Apr 16:13:40 - [warn] [node-red-contrib-modbus/Modbus-Queue-Info] Error: Cannot find module 'source-map-support' (line:1)
12 Apr 16:13:40 - [warn] [node-red-contrib-modbus/Modbus-Flex-Connector] Error: Cannot find module 'source-map-support' (line:1)
12 Apr 16:13:40 - [warn] [node-red-contrib-modbus/Modbus-IO-Config] Error: Cannot find module 'source-map-support' (line:1)
12 Apr 16:13:40 - [warn] [node-red-contrib-modbus/Modbus-Response-Filter] Error: Cannot find module 'source-map-support' (line:1)
12 Apr 16:13:40 - [warn] ------------------------------------------------------
12 Apr 16:13:40 - [info] Settings file : /home/pi/.node-red/settings.js
12 Apr 16:13:40 - [info] Context store : 'default' [module=memory]
12 Apr 16:13:40 - [info] User directory : /home/pi/.node-red
12 Apr 16:13:40 - [warn] Projects disabled : editorTheme.projects.enabled=false
12 Apr 16:13:40 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
12 Apr 16:13:40 - [info] Server now running at http://127.0.0.1:1880/
12 Apr 16:13:40 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
12 Apr 16:13:41 - [info] Starting flows
12 Apr 16:13:42 - [info] [worldmap:map] started at /worldmap
12 Apr 16:13:43 - [info] Started flows
12 Apr 16:13:44 - [info] [mqtt-broker:bf503048.2a203] Connected to broker: mqtt://192.168.2.40:1883
12 Apr 16:13:44 - [info] [mqtt-broker:dcf64bcc.458bb8] Connected to broker: mqtt://192.168.2.60:1883
12 Apr 16:13:44 - [info] [mqtt-broker:CloudMQTT] Connected to broker: mqtts://m23.cloudmqtt.com:26499
12 Apr 16:13:46 - [info] [e-mail:myemail@hotmail.com] Message sent: 250 2.0.0 Ok: queued as CC85DFF803
12 Apr 16:13:46 - [info] [e-mail:myemail@hotmail.com] Message sent: 250 2.0.0 Ok: queued as 15ACC1BF204

```

---

<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:** [12 April 2020 16:01 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/28 "2020-04-12T16:01:58Z")

</div>

Show us the log from the npm uninstall of telegrambot and modbus.  
It doesn't matter if it is gone, just run it again.

---

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [12 April 2020 16:08 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/29 "2020-04-12T16:08:32Z")

</div>

```auto
pi@raspberrypi:~ $ cd .node-red
pi@raspberrypi:~/.node-red $ npm uninstall node-red-contrib-telegrambot
audited 650 packages in 22.229s
found 7 vulnerabilities (4 low, 3 high)
  run `npm audit fix` to fix them, or `npm audit` for details
pi@raspberrypi:~/.node-red $ npm uninstall node-red-contrib-modbus
audited 650 packages in 22.163s
found 7 vulnerabilities (4 low, 3 high)
  run `npm audit fix` to fix them, or `npm audit` for details
pi@raspberrypi:~/.node-red $

```

---

<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:** [12 April 2020 16:16 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/30 "2020-04-12T16:16:32Z")

</div>

Try

```auto
sudo npm uninstall -g node-red-contrib-telegrambot
sudo npm uninstall -g node-red-contrib-modbus

```

---

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [12 April 2020 16:25 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/31 "2020-04-12T16:25:41Z")

</div>

```auto
pi@raspberrypi:~ $ cd .node-red
pi@raspberrypi:~/.node-red $ sudo npm uninstall -g node-red-contrib-telegrambot

up to date in 0.472s

   ╭────────────────────────────────────────────────────────────────╮
   │ │
   │ New minor version of npm available! 6.9.0 → 6.14.1 │
   │ Changelog: https://github.com/npm/cli/releases/tag/v6.14.1 │
   │ Run npm install -g npm to update! │
   │ │
   ╰────────────────────────────────────────────────────────────────╯

pi@raspberrypi:~/.node-red $ sudo npm uninstall -g node-red-contrib-modbus
up to date in 0.43s

   ╭────────────────────────────────────────────────────────────────╮
   │ │
   │ New minor version of npm available! 6.9.0 → 6.14.4 │
   │ Changelog: https://github.com/npm/cli/releases/tag/v6.14.4 │
   │ Run npm install -g npm to update! │
   │ │
   ╰────────────────────────────────────────────────────────────────╯

pi@raspberrypi:~/.node-red $

```

---

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [12 April 2020 16:27 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/32 "2020-04-12T16:27:35Z")

</div>

Is there a possibility I could be two lots of node-red ? - just a thought...

---

<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:** [12 April 2020 16:51 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/33 "2020-04-12T16:51:50Z")

</div>

Very odd. You can see from the log that you are executing the one in .node-red. if you look in the folder `.node-red/node\_modules and see whether node-red-contrib-modbus exists. If so delete it.  
Have you run the node red update script as suggested earlier in case you somehow have an incompatible version of npm installed?

---

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [12 April 2020 16:58 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/34 "2020-04-12T16:58:39Z")

</div>

It had and I deleted it , and after a restart. I'll run the update script now

```auto

pi@raspberrypi:~/.node-red $ node-red-start

Start Node-RED

Once Node-RED has started, point a browser at http://192.168.2.40:1880
On Pi Node-RED works better with the Firefox or Chrome browser

Use node-red-stop to stop Node-RED
Use node-red-start to start Node-RED again
Use node-red-log to view the recent log output
Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot

To find more nodes and example flows - go to http://flows.nodered.org

Starting as a systemd service.
Started Node-RED graphical event wiring tool.
12 Apr 17:54:54 - [info]
Welcome to Node-RED
===================
12 Apr 17:54:54 - [info] Node-RED version: v1.0.5
12 Apr 17:54:54 - [info] Node.js version: v10.16.0
12 Apr 17:54:54 - [info] Linux 4.9.35-v7+ arm LE
12 Apr 17:54:56 - [info] Loading palette nodes
12 Apr 17:55:02 - [info] Dashboard up and running
12 Apr 17:55:06 - [info] Worldmap version 2.0.18
12 Apr 17:55:07 - [info] Dashboard version 2.15.5 started at /ui
12 Apr 17:55:09 - [warn] ------------------------------------------------------
12 Apr 17:55:09 - [warn] [node-red-contrib-telegrambot/telegrambot] Error: Cannot find module 'array.prototype.findindex'
12 Apr 17:55:09 - [warn] [node-red-contrib-ibm-watson-iot/wiotp] Error: Cannot find module 'format'
12 Apr 17:55:09 - [warn] ------------------------------------------------------
12 Apr 17:55:09 - [warn] Missing node modules:
12 Apr 17:55:09 - [warn] - node-red-contrib-modbus (4.1.1): modbus-client, modbus-response, modbus-read, modbus-getter, modbus-flex- getter, modbus-write, modbus-flex-write, modbus-server, modbus-flex-server, modbus-queue-info, modbus-flex-connector, modbus-io-confi g, modbus-response-filter
12 Apr 17:55:09 - [info] Removing modules from config
12 Apr 17:55:09 - [info] Settings file : /home/pi/.node-red/settings.js
12 Apr 17:55:09 - [info] Context store : 'default' [module=memory]
12 Apr 17:55:09 - [info] User directory : /home/pi/.node-red
12 Apr 17:55:09 - [warn] Projects disabled : editorTheme.projects.enabled=false
12 Apr 17:55:09 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
12 Apr 17:55:09 - [info] Server now running at http://127.0.0.1:1880/
12 Apr 17:55:09 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
12 Apr 17:55:10 - [info] Starting flows
12 Apr 17:55:11 - [info] [worldmap:map] started at /worldmap
12 Apr 17:55:12 - [info] Started flows
12 Apr 17:55:13 - [info] [mqtt-broker:bf503048.2a203] Connected to broker: mqtt://192.168.2.40:1883
12 Apr 17:55:13 - [info] [mqtt-broker:dcf64bcc.458bb8] Connected to broker: mqtt://192.168.2.60:1883
12 Apr 17:55:13 - [info] [mqtt-broker:CloudMQTT] Connected to broker: mqtts://m23.cloudmqtt.com:26499
12 Apr 17:55:15 - [info] [e-mail:myemail@hotmail.com] Message sent: 250 2.0.0 Ok: queued as C0C2360004
12 Apr 17:55:15 - [info] [e-mail:myemail@hotmail.com] Message sent: 250 2.0.0 Ok: queued as 36375C0008

```

---

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [12 April 2020 17:16 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/35 "2020-04-12T17:16:06Z")

</div>

Thanks Colin, That got rid of the Telegram,Modbus and Watson-iot errors deleting them from .node-red/node-modules folder. Still have the lost connection error

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [12 April 2020 18:08 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/36 "2020-04-12T18:08:18Z")

</div>

Can we eliminate any problems with your flows, but BEFORE DOING SO... @Colin OR @Steve-Mcl do you agree with this suggestion?

What this will do is automatically create a new, blank flows file.

You have sorted the contrib-nodes problem, reinstalled node-RED, so this will eliminate any problems that you may have with your flows.

So...

`node-red-stop`

`cd .node-red`

`mv flows_raspberrypi.json backup_of_flows_file`  
(That will rename your flows file so node-RED will not be able to access it)

`rm .flows_raspberrypi.json.backup`  
(Delete the flows file backup just to make sure node-RED doesn't access it)

`node-red-start`

If it connects ok, then it points to a problem in your flows, if not, then I'm out of ideas 🤔

---

<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:** [12 April 2020 19:16 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/37 "2020-04-12T19:16:43Z")

</div>

If npm remove didn't remove the nodes but didn't complain then I think there must be something seriously wrong with the install, that is why I think maybe uninstalling npm and nodejs and re-installing might be a good way to go. If you decide to go that route then

```auto
sudo apt remove npm
sudo apt remove nodejs

```

and run the install script. No harm in trying the blank flow file test first though.

---

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [13 April 2020 09:06 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/38 "2020-04-13T09:06:51Z")

</div>

I think I fixed it 🤓 just by reloading the node\_modules folder from a backup I have - I'm think I did this before to no avail. I did delete the problematic nodes from before Telegram,Modbus and Watson-iot before I copied them over.

I did try Paul, your suggestion of renaming and deleting the flows but I still had the same problem. Colin, I didn't try deleting npm and nodejs I tried copying the node first.

I think a good sleep helped refocus my mind rather than just randomly trying things being tried and fed up.

The moral of the story is BACKUP then backup again before you change anything !

---

<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:** [13 April 2020 10:06 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/39 "2020-04-13T10:06:43Z")

</div>

Replacing node\_modules will probably only be a temporary fix. If you now have a node\_modules which is out of step with package.json then at some point npm will 'fix' that for you and you may be back at square 1.

---

<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:** [13 April 2020 10:38 UTC](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659/40 "2020-04-13T10:38:34Z")

</div>

The install script doesn't "go backwards" so if you have 13 already installed it will leave it. If you really need to go backwards then you need to manually uninstall node and npm and then also remove the sources file (usually /etc/apt/sources.list.d/nodesource.list) and then re-run the install script

The nuclear way to do this on a Pi is.

```auto
sudo rm -rf /usr/bin/node* /usr/bin/npm /usr/lib/node* /etc/apt/sources.list.d/nodesource.list
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

```

[Previous page](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659.md?page=1)

[Next page](https://discourse.nodered.org/t/lost-connection-to-server-reconnecting-in/24659.md?page=3)
