# Palette - update, install or remove

**URL:** <https://discourse.nodered.org/t/palette-update-install-or-remove/51146>\
**Category:** General\
**Created:** [17 September 2021 11:01 UTC](https://discourse.nodered.org/t/palette-update-install-or-remove/51146 "2021-09-17T11:01:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sblogoshs](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sblogoshs/32/48149_2.png) [@sblogoshs](https://discourse.nodered.org/u/sblogoshs)\
**Post date:** [17 September 2021 11:01 UTC](https://discourse.nodered.org/t/palette-update-install-or-remove/51146/1 "2021-09-17T11:01:45Z")

</div>

Hi 🙂

With everything I try to do, whether update, install or delete, I get this error (pic). I don't remember when this started, but it's been like this for a long time now.  
☹

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/0/00f6c2753dfb13bf84acebc433ac83348f5ae0dc.jpeg)

---

<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:** [17 September 2021 13:22 UTC](https://discourse.nodered.org/t/palette-update-install-or-remove/51146/2 "2021-09-17T13:22:51Z")

</div>

Welcome to the forum @sblogoshs

It seems that your node\_modules folder has got in a mess. That is where npm modules and nodes are installed to. I suggest you move it out of the way and rebuild it.

```auto
cd ~/.node-red
mv node_modules node_modules.save

```

then tell npm to rebuild it. That may take a little while on a Pi.  
`npm install`

---

<div class="post-metadata">

**Author:** ![sblogoshs](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sblogoshs/32/48149_2.png) [@sblogoshs](https://discourse.nodered.org/u/sblogoshs)\
**Post date:** [17 September 2021 14:19 UTC](https://discourse.nodered.org/t/palette-update-install-or-remove/51146/3 "2021-09-17T14:19:08Z")

</div>

Hello Colin.

This took a while but not as long as I had tried to solve the problem myself, now it is running smoothly again.

Thank you

Greetings Stefan 😃

---

<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:** [17 September 2021 14:28 UTC](https://discourse.nodered.org/t/palette-update-install-or-remove/51146/4 "2021-09-17T14:28:37Z")

</div>

Glad to be of help. You can delete the old one (node\_modules.save).

---

<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:** [1 October 2021 14:29 UTC](https://discourse.nodered.org/t/palette-update-install-or-remove/51146/5 "2021-10-01T14:29:17Z")

</div>

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