# When you do update or install via npm, does everything reload from scratch?

**URL:** <https://discourse.nodered.org/t/when-you-do-update-or-install-via-npm-does-everything-reload-from-scratch/31154>\
**Category:** General\
**Created:** [5 August 2020 00:39 UTC](https://discourse.nodered.org/t/when-you-do-update-or-install-via-npm-does-everything-reload-from-scratch/31154 "2020-08-05T00:39:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nodi.Rubrum](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nodi.rubrum/32/107482_2.png) [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Post date:** [5 August 2020 00:39 UTC](https://discourse.nodered.org/t/when-you-do-update-or-install-via-npm-does-everything-reload-from-scratch/31154/1 "2020-08-05T00:39:37Z")

</div>

I did an npm install, then edited the html, fixed a typo, etc., then renamed the node names... not the registered type references, and did another npm install. This should have reloaded everything right? Stopped and started NR. But to my surprise, when I checked the palette, this is what I see...  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/d/7deb4feba0d6cd8679c1afc63561d99533d887b7.png)  
What the heck? The old names and the new names are both shown? Should I have done an explicit uninstall via npm?

---

<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:** [5 August 2020 07:41 UTC](https://discourse.nodered.org/t/when-you-do-update-or-install-via-npm-does-everything-reload-from-scratch/31154/2 "2020-08-05T07:41:31Z")

</div>

When you say you changed the node names what exactly do you mean by that?  
When you say you did another npm install, again do you mean you literally ran `npm install` with no parameters?

---

<div class="post-metadata">

**Author:** ![Nodi.Rubrum](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nodi.rubrum/32/107482_2.png) [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Post date:** [5 August 2020 12:42 UTC](https://discourse.nodered.org/t/when-you-do-update-or-install-via-npm-does-everything-reload-from-scratch/31154/3 "2020-08-05T12:42:06Z")

</div>

Yeah, right after I posted the question, I realized what I had done... I was trying to make the 'name' of the nodes pretty, add a space to be more readable. But I did the changes incompletely, and bingo, got the duplicate node names that appeared in the UI, i.e. the palette view.

---

<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:** [4 October 2020 12:42 UTC](https://discourse.nodered.org/t/when-you-do-update-or-install-via-npm-does-everything-reload-from-scratch/31154/4 "2020-10-04T12:42:17Z")

</div>

Closed on 4 October 2020 12:42 UTC

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