# Not able to install or deinstall nodes

**URL:** https://discourse.nodered.org/t/not-able-to-install-or-deinstall-nodes/17858
**Category:** General
**Created:** [12 November 2019 19:50 UTC](https://discourse.nodered.org/t/not-able-to-install-or-deinstall-nodes/17858 "2019-11-12T19:50:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![IngoB](https://avatars.discourse-cdn.com/v4/letter/i/dbc845/32.png) [@IngoB](https://discourse.nodered.org/u/IngoB)
#### Post date: [12 November 2019 19:50 UTC](https://discourse.nodered.org/t/not-able-to-install-or-deinstall-nodes/17858/1 "2019-11-12T19:50:24Z")

</div>

Hi,

I have some truble with installation of nodes or deinstallation. On every try I will get the same message and tried to repair npm package issue. Do you have any idea to fix this issue?

Thanks and regards  
Ingo

2019-11-12T19:47:07.568Z installieren : magichome-led-node 1.0.2

2019-11-12T19:47:08.655Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production magichome-led-node@1.0.2  
2019-11-12T19:47:14.381Z [err] npm  
2019-11-12T19:47:14.381Z [err] ERR! code EISGIT  
2019-11-12T19:47:14.381Z [err] npm  
2019-11-12T19:47:14.381Z [err]  
2019-11-12T19:47:14.381Z [err] ERR!  
2019-11-12T19:47:14.381Z [err] path  
2019-11-12T19:47:14.381Z [err] /opt/iobroker/iobroker-data/node-red/node\_modules/function-plot  
2019-11-12T19:47:14.384Z [err] npm  
2019-11-12T19:47:14.384Z [err] ERR! git  
2019-11-12T19:47:14.384Z [err] /opt/iobroker/iobroker-data/node-red/node\_modules/function-plot: Appears to be a git repo or submodule.  
2019-11-12T19:47:14.384Z [err] npm  
2019-11-12T19:47:14.384Z [err] ERR!  
2019-11-12T19:47:14.384Z [err]  
2019-11-12T19:47:14.384Z [err] git /opt/iobroker/iobroker-data/node-red/node\_modules/function-plot  
2019-11-12T19:47:14.384Z [err] npm  
2019-11-12T19:47:14.384Z [err] ERR!  
2019-11-12T19:47:14.385Z [err]  
2019-11-12T19:47:14.385Z [err] git  
2019-11-12T19:47:14.385Z [err] Refusing to remove it. Update manually,  
2019-11-12T19:47:14.385Z [err] npm  
2019-11-12T19:47:14.385Z [err] ERR!  
2019-11-12T19:47:14.385Z [err]  
2019-11-12T19:47:14.385Z [err] git or move it out of the way first.  
2019-11-12T19:47:14.440Z [err]  
2019-11-12T19:47:14.440Z [err] npm ERR! A complete log of this run can be found in:  
2019-11-12T19:47:14.440Z [err] npm ERR!  
2019-11-12T19:47:14.440Z [err] /home/iobroker/.npm/\_logs/2019-11-12T19\_47\_14\_392Z-debug.log  
2019-11-12T19:47:14.451Z rc=1

---

<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: [12 November 2019 20:32 UTC](https://discourse.nodered.org/t/not-able-to-install-or-deinstall-nodes/17858/2 "2019-11-12T20:32:53Z")

</div>

> [@IngoB](#):
>
> /opt/iobroker/iobroker-data/node-red/node\_modules/function-plot: Appears to be a git repo or submodule.

Npm does not like .git folders in node modules. You could delete that folder. You will need to re-install that node if you need it.

---

<div class="post-metadata">

### Author: ![IngoB](https://avatars.discourse-cdn.com/v4/letter/i/dbc845/32.png) [@IngoB](https://discourse.nodered.org/u/IngoB)
#### Post date: [12 November 2019 20:51 UTC](https://discourse.nodered.org/t/not-able-to-install-or-deinstall-nodes/17858/3 "2019-11-12T20:51:28Z")

</div>

Thanks Colin, your workaround works 🙂
