# Change already installed module

**URL:** <https://discourse.nodered.org/t/change-already-installed-module/10738>\
**Category:** General\
**Created:** [2 May 2019 07:27 UTC](https://discourse.nodered.org/t/change-already-installed-module/10738 "2019-05-02T07:27:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ma-gu-16](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@ma-gu-16](https://discourse.nodered.org/u/ma-gu-16)\
**Post date:** [2 May 2019 07:27 UTC](https://discourse.nodered.org/t/change-already-installed-module/10738/1 "2019-05-02T07:27:09Z")

</div>

Hi,

i try to change or rewrite a already installed module.

install path under /var/node\_modules/node-red-contrib-xxx/lib/xx.js

i try to fix some stuff, but it doesnt take effekt after i saved the file.

is there any node-red cache, or something else ?

how can i made this done.

thx

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [2 May 2019 07:34 UTC](https://discourse.nodered.org/t/change-already-installed-module/10738/2 "2019-05-02T07:34:12Z")

</div>

> [@ma-gu-16](#):
>
> i try to fix some stuff, but it doesnt take effekt after i saved the file.

You also need to restart Node-RED for it to load the changes

---

<div class="post-metadata">

**Author:** ![ma-gu-16](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@ma-gu-16](https://discourse.nodered.org/u/ma-gu-16)\
**Post date:** [2 May 2019 08:25 UTC](https://discourse.nodered.org/t/change-already-installed-module/10738/3 "2019-05-02T08:25:10Z")

</div>

Hi, yea i tried this serverall times... no effect.

i stopped, waited and started again.

and i restarted.

code changes has no effect in the dashboard..

the file is changed, if i connect via scp and check the file...

thank you

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [2 May 2019 09:10 UTC](https://discourse.nodered.org/t/change-already-installed-module/10738/4 "2019-05-02T09:10:20Z")

</div>

what were the exact commands you used to stop/start node red?  
how did you install node-red?

when in doubt, you could reboot the machine node-red is running on.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [2 May 2019 09:11 UTC](https://discourse.nodered.org/t/change-already-installed-module/10738/5 "2019-05-02T09:11:24Z")

</div>

An installed module should be in `~/.node-red/node_modules` ?

---

<div class="post-metadata">

**Author:** ![ma-gu-16](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@ma-gu-16](https://discourse.nodered.org/u/ma-gu-16)\
**Post date:** [2 May 2019 14:17 UTC](https://discourse.nodered.org/t/change-already-installed-module/10738/6 "2019-05-02T14:17:12Z")

</div>

Hi thanks for response,

restart of entire rasberry did it.

thanks.

---

<div class="post-metadata">

**Author:** ![Achronite](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/achronite/32/31868_2.png) [@Achronite](https://discourse.nodered.org/u/Achronite)\
**Post date:** [2 May 2019 19:34 UTC](https://discourse.nodered.org/t/change-already-installed-module/10738/7 "2019-05-02T19:34:19Z")

</div>

Try `node-red-stop; node-red-start` next time
