# Custom nodes deleted on palette install

**URL:** <https://discourse.nodered.org/t/custom-nodes-deleted-on-palette-install/12114>\
**Category:** General\
**Created:** [12 June 2019 12:42 UTC](https://discourse.nodered.org/t/custom-nodes-deleted-on-palette-install/12114 "2019-06-12T12:42:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Andydesjardins](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andydesjardins/32/8556_2.png) [@Andydesjardins](https://discourse.nodered.org/u/Andydesjardins)\
**Post date:** [14 June 2019 17:54 UTC](https://discourse.nodered.org/t/custom-nodes-deleted-on-palette-install/12114/4 "2019-06-14T17:54:37Z")

</div>

Ok I found the way to do it. If someone need the answer:

Don't put custom node directly in the node-red/node\_modules directory. Instead, I placed them in a folder next to node-red folder. In command line, go in the node-red folder, npm install

It creates a junction from the node-red/node\_modules folder to the custom node foder. It also add a path to the custom node folder in the node-red/package.json AND node-red/package-lock.json.

---

_[View the full topic](https://discourse.nodered.org/t/custom-nodes-deleted-on-palette-install/12114)._
