# Palette Manager Cache

**URL:** <https://discourse.nodered.org/t/palette-manager-cache/97678>\
**Category:** General\
**Created:** [18 June 2025 05:26 UTC](https://discourse.nodered.org/t/palette-manager-cache/97678 "2025-06-18T05:26:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aridzki](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aridzki/32/101254_2.png) [@Aridzki](https://discourse.nodered.org/u/Aridzki)\
**Post date:** [18 June 2025 05:26 UTC](https://discourse.nodered.org/t/palette-manager-cache/97678/1 "2025-06-18T05:26:02Z")

</div>

Hi all,

I found out that I can't remove some modules 1 of 3 modules is my custom node. I have tried to uninstall and install the node red again, but it doesn't work. I checked the node modules folder, it is still empty.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/6/b6afb24502419e357875b879f2198c00cc89e96f.png)

---

<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:** [18 June 2025 10:23 UTC](https://discourse.nodered.org/t/palette-manager-cache/97678/2 "2025-06-18T10:23:57Z")

</div>

If a modules node is in use, you cannot remove them from the palette. Use CTRL+F in the node-red workspace and search for instances of "pdf" and "cnc" etc. Dont forget to check in the RH sidebar labelled "config" for config nodes left behind from previously deleted nodes.

If a module was installed globally (e.g. using `npm install -g some-module`) you cannot remove them from the palette and need to run `npm remove -g some-module`)

> [@Aridzki](#):
>
> I have tried to uninstall and install the node red again, but it doesn't work

That is because installing node-red only installs the main runtime. When you run node-red it creates a user directory (usually `~/.node-red` or `c:\Users\<user>\.node-red`) where modules are installed.

So when you re-installed node-red and started it, it would find your old project in the user directory mentioned above.

If you want to know where that user directory is, it is printed in the startup output log of node-red.

---

<div class="post-metadata">

**Author:** ![Aridzki](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aridzki/32/101254_2.png) [@Aridzki](https://discourse.nodered.org/u/Aridzki)\
**Post date:** [18 June 2025 23:45 UTC](https://discourse.nodered.org/t/palette-manager-cache/97678/3 "2025-06-18T23:45:21Z")

</div>

Actually, when I uninstalled the node red, I have deleted the ~/.node-red folder. My picture above is the pallet manager when the node-red first run, it just use empty flow. I think when the module is used, the status in palette manager becomes "in used".

I think the issue comes because I tried to uninstall or remove the module from cmd. Do you know where is the source of palette manager? I have checked the node-modules folder inside node red workspace and node red npm, nor of them have those modules.

---

<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:** [19 June 2025 04:34 UTC](https://discourse.nodered.org/t/palette-manager-cache/97678/4 "2025-06-19T04:34:09Z")

</div>

What does the following show:

### 1

```auto
npm ls -g node-red-contrib-pdfmake

```

### 2

```auto
cd ~/.node-red 
npm ls node-red-contrib-pdfmake

```

### 3

Also, please paste your node-red startup log output.

---

<div class="post-metadata">

**Author:** ![Aridzki](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aridzki/32/101254_2.png) [@Aridzki](https://discourse.nodered.org/u/Aridzki)\
**Post date:** [26 June 2025 07:23 UTC](https://discourse.nodered.org/t/palette-manager-cache/97678/5 "2025-06-26T07:23:13Z")

</div>

Sorry for the late reply. This is the result. It is very strange

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/1/a184f8f052814f9c2fcbf24dd9820b86e79239a4.png)

---

<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:** [26 June 2025 07:31 UTC](https://discourse.nodered.org/t/palette-manager-cache/97678/6 "2025-06-26T07:31:19Z")

</div>

You are using projects mode - the location of node-red files are a little different.

can you cd into `c:\User\<username>\.node-red\projects\empty` and npm ls the nodes again

```auto
cd c:\User\<username>\.node-red\projects\empty
npm ls node-red-contrib-pdfmake
npm ls @platmac/pdfbuilder

```

also, did you `CTRL+F` inside the node-red editor and search for `pdf`? Did it find anything?

* * *

PS: please dont post pictures of text (its hard to read, unsearchable, and difficult to copy text from for replying) - use a code block and paste text instead (you can sanitise the text of course)

---

<div class="post-metadata">

**Author:** ![Aridzki](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aridzki/32/101254_2.png) [@Aridzki](https://discourse.nodered.org/u/Aridzki)\
**Post date:** [30 June 2025 01:53 UTC](https://discourse.nodered.org/t/palette-manager-cache/97678/7 "2025-06-30T01:53:53Z")

</div>

I have tried that, but the result is empty.

> C:\Users\<username\>.node-red\projects\Empty\>npm ls node-red-contrib-pdfmake  
> Empty@0.0.1 C:\Users\<username\>.node-red\projects\Empty  
> `-- (empty)
> 
> C:\Users\<username\>.node-red\projects\Empty\>npm ls @platmac/pdfbuilder  
> Empty@0.0.1 C:\Users\<username\>.node-red\projects\Empty  
> `-- (empty)

Yes, I have searched for "pdf"

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/a/3aeeea41e3ecccc6fa178817d99d42424f518787.png)

---

<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:** [28 September 2025 01:54 UTC](https://discourse.nodered.org/t/palette-manager-cache/97678/8 "2025-09-28T01:54:33Z")

</div>

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