# Removing node-red-contrib-netatmo-dashboard in palette failed

**URL:** <https://discourse.nodered.org/t/removing-node-red-contrib-netatmo-dashboard-in-palette-failed/83488>\
**Category:** General\
**Created:** [7 December 2023 09:20 UTC](https://discourse.nodered.org/t/removing-node-red-contrib-netatmo-dashboard-in-palette-failed/83488 "2023-12-07T09:20:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [7 December 2023 09:20 UTC](https://discourse.nodered.org/t/removing-node-red-contrib-netatmo-dashboard-in-palette-failed/83488/1 "2023-12-07T09:20:42Z")

</div>

I tried to remove node-red-contrib-netatmo-dashboard in the palette but it failed.  
Is there a way to remove this module directly in the .node-red folder?

---

<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 2023 10:53 UTC](https://discourse.nodered.org/t/removing-node-red-contrib-netatmo-dashboard-in-palette-failed/83488/2 "2023-12-07T10:53:59Z")

</div>

Helps if you share the error message.

You can remove manually from a command line on the server:

```auto
cd ~/.node-red
npm remove node-red-contrib-netatmo-dashboard

```

Then restart 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:** [7 December 2023 12:12 UTC](https://discourse.nodered.org/t/removing-node-red-contrib-netatmo-dashboard-in-palette-failed/83488/3 "2023-12-07T12:12:18Z")

</div>

If it said it is still in use, but you think you have removed all the nodes, go to Configuration Nodes in the menu and make sure there is not an unused netatmo config node there. If there is you can select and Delete it.

---

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [7 December 2023 12:34 UTC](https://discourse.nodered.org/t/removing-node-red-contrib-netatmo-dashboard-in-palette-failed/83488/4 "2023-12-07T12:34:44Z")

</div>

This is what I get when removing in Node-red.  
Node-Red.Dashboard is still in the Palette.  
No configuration node left over

```auto

-----------------------------------------------------------

2023-12-07T09:04:07.432Z Entfernen : node-red-contrib-netatmo-dashboard

2023-12-07T09:04:09.337Z npm remove --no-audit --no-update-notifier --no-fund --save node-red-contrib-netatmo-dashboard

2023-12-07T09:04:13.128Z [err] npm

2023-12-07T09:04:13.130Z [err]

2023-12-07T09:04:13.130Z [err] ERR!

2023-12-07T09:04:13.130Z [err]

2023-12-07T09:04:13.131Z [err] code

2023-12-07T09:04:13.131Z [err] ENOTEMPTY

2023-12-07T09:04:13.132Z [err] npm

2023-12-07T09:04:13.133Z [err]

2023-12-07T09:04:13.133Z [err] ERR!

2023-12-07T09:04:13.133Z [err]

2023-12-07T09:04:13.134Z [err] syscall

2023-12-07T09:04:13.134Z [err] rename

2023-12-07T09:04:13.134Z [err] npm

2023-12-07T09:04:13.135Z [err]

2023-12-07T09:04:13.135Z [err] ERR!

2023-12-07T09:04:13.136Z [err]

2023-12-07T09:04:13.136Z [err] path

2023-12-07T09:04:13.136Z [err] /home/pi/.node-red/node_modules/node-red-contrib-netatmo-dashboard

2023-12-07T09:04:13.137Z [err] npm

2023-12-07T09:04:13.137Z [err]

2023-12-07T09:04:13.137Z [err] ERR!

2023-12-07T09:04:13.137Z [err]

2023-12-07T09:04:13.138Z [err] dest

2023-12-07T09:04:13.138Z [err] /home/pi/.node-red/node_modules/.node-red-contrib-netatmo-dashboard-9wXw9VzC

2023-12-07T09:04:13.139Z [err] npm

2023-12-07T09:04:13.139Z [err]

2023-12-07T09:04:13.139Z [err] ERR!

2023-12-07T09:04:13.140Z [err]

2023-12-07T09:04:13.140Z [err] errno

2023-12-07T09:04:13.140Z [err] -39

2023-12-07T09:04:13.144Z [err] npm ERR!

2023-12-07T09:04:13.145Z [err] ENOTEMPTY: directory not empty, rename '/home/pi/.node-red/node_modules/node-red-contrib-netatmo-dashboard' -> '/home/pi/.node-red/node_modules/.node-red-contrib-netatmo-dashboard-9wXw9VzC'

2023-12-07T09:04:13.150Z [err]

2023-12-07T09:04:13.150Z [err] npm

2023-12-07T09:04:13.151Z [err] ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2023-12-07T09_04_10_867Z-debug-0.log

2023-12-07T09:04:13.169Z rc=217

-----------------------------------------------------------

2023-12-07T12:29:55.533Z Entfernen : node-red-contrib-netatmo-dashboard

removing it on the RPI as you mentioned above some message

```

---

<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:** [7 December 2023 13:32 UTC](https://discourse.nodered.org/t/removing-node-red-contrib-netatmo-dashboard-in-palette-failed/83488/5 "2023-12-07T13:32:55Z")

</div>

> [@juntiedt](#):
>
> `2023-12-07T09:04:13.145Z [err] ENOTEMPTY: directory not empty, rename '/home/pi/.node-red/node_modules/node-red-contrib-netatmo-dashboard' -> '/home/pi/.node-red/node_modules/.node-red-contrib-netatmo-dashboard-9wXw9VzC'`

This is a know problem with some versions of npm that occasionally it leaves temporary folders lying about that then cause this problem. Look in the folder `/home/pi/.node-red/node_modules/` and delete any folders there with a string of random letters on the end, similar to that one. Then you should be good to go.

---

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [7 December 2023 13:49 UTC](https://discourse.nodered.org/t/removing-node-red-contrib-netatmo-dashboard-in-palette-failed/83488/6 "2023-12-07T13:49:36Z")

</div>

Hi Colin,

thanks for your advice.  
It worked! 🙂

Hannes

---

<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:** [21 December 2023 13:50 UTC](https://discourse.nodered.org/t/removing-node-red-contrib-netatmo-dashboard-in-palette-failed/83488/7 "2023-12-21T13:50:06Z")

</div>

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