# Problem installing node-red-dashboard

**URL:** <https://discourse.nodered.org/t/problem-installing-node-red-dashboard/26192>\
**Category:** Dashboard\
**Created:** [6 May 2020 20:41 UTC](https://discourse.nodered.org/t/problem-installing-node-red-dashboard/26192 "2020-05-06T20:41:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![maru](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/maru/32/99601_2.png) [@maru](https://discourse.nodered.org/u/maru)\
**Post date:** [6 May 2020 20:41 UTC](https://discourse.nodered.org/t/problem-installing-node-red-dashboard/26192/1 "2020-05-06T20:41:10Z")

</div>

Hi,

I had a very nice working node-red,tick stack, mosquitto installation on my Rpi4. I was getting better and better in building flows..proud to show them to friends 😉 After a stupid installation of my webcam my whole setup, every file was gone to the owner www data ??.

Anyway I could mount my sdcard from my Synology NAS and save essential files from node-red and after a fresh OS and node-red installation I'm back again with all my flows....but missing my dashboard nodes. I can't install them from the palette nor from the commandline?  
Below is my logfile can anyone help me to solve this problem?

```auto
2020-05-06T19:59:37.367Z Install : node-red-dashboard 2.21.0

2020-05-06T19:59:37.838Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-dashboard@2.21.0
2020-05-06T19:59:57.688Z [err] npm
2020-05-06T19:59:57.688Z [err] WARN node-red-contrib-ui-led@0.3.1 requires a peer of node-red-dashboard@2.14.x but none is installed. You must install peer dependencies yourself.
2020-05-06T19:59:57.688Z [err] npm WARN node-red-project@0.0.1 No repository field.
2020-05-06T19:59:57.688Z [err] npm WARN node-red-project@0.0.1 No license field.
2020-05-06T19:59:57.689Z [err] 
2020-05-06T19:59:57.691Z [out] removed 959 packages in 18.719s
2020-05-06T19:59:58.272Z [out] 
2020-05-06T19:59:58.272Z [out] 1 package is looking for funding
2020-05-06T19:59:58.272Z [out] run `npm fund` for details
2020-05-06T19:59:58.272Z [out] 
2020-05-06T19:59:58.328Z rc=0

```

node-RED version:

```auto
6 May 21:38:40 - [info] Node-RED version: v1.0.6
6 May 21:38:40 - [info] Node.js version: v12.16.3
6 May 21:38:40 - [info] Linux 4.19.97-v7l+ arm LE
6 May 21:38:41 - [info] Loading palette nodes
6 May 21:38:43 - [info] Worldmap version 2.3.8
6 May 21:38:43 - [info] Node-RED Dashboard not found - ui_worldmap not installed.
6 May 21:38:43 - [info] Settings file : /home/pi/.node-red/settings.js
6 May 21:38:43 - [info] HTTP Static : /home/pi/node-red-static
6 May 21:38:43 - [info] Context store : 'default' [module=memory]
6 May 21:38:43 - [info] User directory : /home/pi/.node-red
6 May 21:38:43 - [warn] Projects disabled : editorTheme.projects.enabled=false
6 May 21:38:43 - [info] Flows file : /home/pi/.node-red/flows_Rpi4.json
6 May 21:38:43 - [error] Unable to listen on http://127.0.0.1:1880/
6 May 21:38:43 - [error] Error: port in use

```

Kind regards,  
maru

---

<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:** [6 May 2020 21:22 UTC](https://discourse.nodered.org/t/problem-installing-node-red-dashboard/26192/2 "2020-05-06T21:22:00Z")

</div>

> [@maru](#):
>
> removed 959 packages in 18.719s

That suggests that possibly you had nodes installed that are not in your package.json  
The Port in Use error is because you have not stopped an already running instance of node red before starting a new one.  
If you go to your .node-red directory and run  
`ls -al`  
what does it show?  
Also try the install using the command line and see what happens this time, also from the .node-red directory  
`npm install node-red-dashboard`

---

<div class="post-metadata">

**Author:** ![maru](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/maru/32/99601_2.png) [@maru](https://discourse.nodered.org/u/maru)\
**Post date:** [7 May 2020 08:04 UTC](https://discourse.nodered.org/t/problem-installing-node-red-dashboard/26192/3 "2020-05-07T08:04:19Z")

</div>

Thanks Colin,

Problem solved.  
I think Port in Use was the problem cause after installing the node-red-dashboard nodes, one must restart node-RED and if there was an instance of node-RED running I will not see the new dashboard nodes.

I did a commandline install and reboot, and my nodes are back again 😉

---

<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:** [7 May 2020 08:06 UTC](https://discourse.nodered.org/t/problem-installing-node-red-dashboard/26192/4 "2020-05-07T08:06:55Z")

</div>

> [@maru](#):
>
> I did a commandline install and reboot

You can do `node-red-stop` then `node-red-start` instead of reboot.

---

<div class="post-metadata">

**Author:** ![maru](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/maru/32/99601_2.png) [@maru](https://discourse.nodered.org/u/maru)\
**Post date:** [7 May 2020 08:10 UTC](https://discourse.nodered.org/t/problem-installing-node-red-dashboard/26192/5 "2020-05-07T08:10:44Z")

</div>

Thanks Steve I knew....I thought: sudo reboot now are less characters to type 😉

---

<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:** [6 June 2020 08:10 UTC](https://discourse.nodered.org/t/problem-installing-node-red-dashboard/26192/6 "2020-06-06T08:10:45Z")

</div>

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