# An easier way to uninstall modules

**URL:** <https://discourse.nodered.org/t/an-easier-way-to-uninstall-modules/92798>\
**Category:** General\
**Created:** [30 October 2024 15:10 UTC](https://discourse.nodered.org/t/an-easier-way-to-uninstall-modules/92798 "2024-10-30T15:10:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GiovanniG](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Post date:** [30 October 2024 15:10 UTC](https://discourse.nodered.org/t/an-easier-way-to-uninstall-modules/92798/1 "2024-10-30T15:10:10Z")

</div>

it happens sometime we can't stop/delete modules on flow which are "hidden", for example for setup a server inside the node's settings, as it is in use and ivisible we can't remove it from palette, how then can we remove it? Only stopping NR and manually remove with npm remove?

---

<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:** [30 October 2024 19:31 UTC](https://discourse.nodered.org/t/an-easier-way-to-uninstall-modules/92798/2 "2024-10-30T19:31:38Z")

</div>

> [@GiovanniG](#):
>
> Only stopping NR and manually remove with npm remove?

If a node is in use then you cannot remove it within node red. You can remove it using npm, it is not necessary to stop node-red to remove it. It _is_ necessary to restart node-red in order that it unloads it, but then node red will refuse to start because the node is missing.

---

<div class="post-metadata">

**Author:** ![GiovanniG](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Post date:** [30 October 2024 22:00 UTC](https://discourse.nodered.org/t/an-easier-way-to-uninstall-modules/92798/3 "2024-10-30T22:00:58Z")

</div>

I'm talking exactly the case where all the visible nodes are removed, but somehow the invisible nodes can't be stopped, how to deal with that?  
It looks a bad habbit of author to have created such situation, but in my opinin NR should help us solve this situation softly, for examle making thes nodes somehow "visible" to remove tham from flow, then it should be possible to remove them from palette.  
Or start NR without loading that node..

That module generated me many errors after update NR, I couldn't remove so I dediced to delete the folder, now I can't remove it (as before) or update it  
thanks for helping

---

<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:** [30 October 2024 22:33 UTC](https://discourse.nodered.org/t/an-easier-way-to-uninstall-modules/92798/4 "2024-10-30T22:33:04Z")

</div>

Go to Configuration Nodes in the menu and click Unused. You can select and delete them there.

---

<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:** [13 November 2024 22:34 UTC](https://discourse.nodered.org/t/an-easier-way-to-uninstall-modules/92798/5 "2024-11-13T22:34:02Z")

</div>

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