# Disabling palette module from inside the application

**URL:** https://discourse.nodered.org/t/disabling-palette-module-from-inside-the-application/38967
**Category:** General
**Created:** [11 January 2021 17:13 UTC](https://discourse.nodered.org/t/disabling-palette-module-from-inside-the-application/38967 "2021-01-11T17:13:32Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Guillermo](https://avatars.discourse-cdn.com/v4/letter/g/eb8c5e/32.png) [@Guillermo](https://discourse.nodered.org/u/Guillermo)
#### Post date: [11 January 2021 17:13 UTC](https://discourse.nodered.org/t/disabling-palette-module-from-inside-the-application/38967/1 "2021-01-11T17:13:32Z")

</div>

Hi all,

I am currently doing an application in which it is compulsory to have a certain module disabled, as if I had touched this button from the palette:

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

My problem is that whilst I need to have this module installed because I call it from NodeJS, If node-red enables it, it really affects the stability of my application.

Is there a way to disable it (for instance from a configuration file, then rebooting node-red) from inside the application?

Thank you in advance

---

<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: [11 January 2021 20:26 UTC](https://discourse.nodered.org/t/disabling-palette-module-from-inside-the-application/38967/2 "2021-01-11T20:26:16Z")

</div>

> [@Guillermo](#):
>
> My problem is that whilst I need to have this module installed because I call it from NodeJS

What does this mean? Are you running a separate node js application that `require`s this node? (or something this node installs?)

---

<div class="post-metadata">

### Author: ![Guillermo](https://avatars.discourse-cdn.com/v4/letter/g/eb8c5e/32.png) [@Guillermo](https://discourse.nodered.org/u/Guillermo)
#### Post date: [12 January 2021 08:35 UTC](https://discourse.nodered.org/t/disabling-palette-module-from-inside-the-application/38967/3 "2021-01-12T08:35:04Z")

</div>

Yes, I require the c++ binaries of the module.

---

<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 January 2021 08:59 UTC](https://discourse.nodered.org/t/disabling-palette-module-from-inside-the-application/38967/4 "2021-01-12T08:59:55Z")

</div>

I'm sorry but that makes zero sense?

`node-red-contrib-mqttssl` is over 6 years old and all it does is import a very very old version of "mqtt"

See for your self [here](https://github.com/Raynerv/node-red-contrib-mqttssl/blob/79d7600b132b9143ac34ad25dd8ffd5bdad5a528/package.json#L6)

Perhaps if you explain clearer what you are trying to achieve we can show you a way without adding `node-red-contrib-mqttssl` to your node-red installation.

---

<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 March 2021 08:59 UTC](https://discourse.nodered.org/t/disabling-palette-module-from-inside-the-application/38967/5 "2021-03-13T08:59:59Z")

</div>

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