# Unable to upgrade/remove/ install

**URL:** <https://discourse.nodered.org/t/unable-to-upgrade-remove-install/16729>\
**Category:** General\
**Created:** [15 October 2019 09:11 UTC](https://discourse.nodered.org/t/unable-to-upgrade-remove-install/16729 "2019-10-15T09:11:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoseGodinho](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Post date:** [15 October 2019 09:11 UTC](https://discourse.nodered.org/t/unable-to-upgrade-remove-install/16729/1 "2019-10-15T09:11:40Z")

</div>

Hello

I have just installed node red , as per the bash in the documentation.

And i have this strange log when try to instal a node, and also when to upgrade another

* * *

2019-10-14T14:28:38.107Z Install : node-red-contrib-alexa-notifyme 1.0.1

2019-10-14T14:28:38.247Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-alexa-notifyme@1.0.1  
2019-10-14T14:29:21.860Z [err] npm  
2019-10-14T14:29:21.861Z [err] ERR! path /home/pi/.node-red/node\_modules/node-red-contrib-uibuilder  
2019-10-14T14:29:21.861Z [err] npm ERR! code EISGIT  
2019-10-14T14:29:21.865Z [err] npm  
2019-10-14T14:29:21.865Z [err] ERR! git /home/pi/.node-red/node\_modules/node-red-contrib-uibuilder: Appears to be a git repo or submodule.  
2019-10-14T14:29:21.865Z [err] npm ERR!  
2019-10-14T14:29:21.865Z [err] git /home/pi/.node-red/node\_modules/node-red-contrib-uibuilder  
2019-10-14T14:29:21.866Z [err] npm  
2019-10-14T14:29:21.866Z [err] ERR!  
2019-10-14T14:29:21.866Z [err] git  
2019-10-14T14:29:21.866Z [err] Refusing to remove it. Update manually,  
2019-10-14T14:29:21.866Z [err] npm  
2019-10-14T14:29:21.866Z [err] ERR! git  
2019-10-14T14:29:21.866Z [err] or move it out of the way first.  
2019-10-14T14:29:22.059Z [err]  
2019-10-14T14:29:22.059Z [err] npm ERR! A complete log of this run can be found in:  
2019-10-14T14:29:22.059Z [err] npm ERR!  
2019-10-14T14:29:22.059Z [err] /home/pi/.npm/\_logs/2019-10-14T14\_29\_21\_896Z-debug.log  
2019-10-14T14:29:22.092Z rc=1

* * *

2019-10-14T14:30:49.583Z Install : node-red-contrib-uibuilder 2.0.5

2019-10-14T14:30:49.684Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-uibuilder@2.0.5  
2019-10-14T14:31:31.621Z [err] npm  
2019-10-14T14:31:31.622Z [err] ERR! path /home/pi/.node-red/node\_modules/node-red-contrib-uibuilder  
2019-10-14T14:31:31.622Z [err] npm  
2019-10-14T14:31:31.622Z [err] ERR! code EISGIT  
2019-10-14T14:31:31.626Z [err] npm  
2019-10-14T14:31:31.627Z [err] ERR! git /home/pi/.node-red/node\_modules/node-red-contrib-uibuilder: Appears to be a git repo or submodule.  
2019-10-14T14:31:31.627Z [err] npm ERR!  
2019-10-14T14:31:31.627Z [err] git /home/pi/.node-red/node\_modules/node-red-contrib-uibuilder  
2019-10-14T14:31:31.627Z [err] npm  
2019-10-14T14:31:31.627Z [err] ERR! git  
2019-10-14T14:31:31.627Z [err] Refusing to remove it. Update manually,  
2019-10-14T14:31:31.627Z [err] npm  
2019-10-14T14:31:31.628Z [err] ERR! git  
2019-10-14T14:31:31.628Z [err] or move it out of the way first.  
2019-10-14T14:31:32.050Z [err]  
2019-10-14T14:31:32.051Z [err] npm ERR! A complete log of this run can be found in:  
2019-10-14T14:31:32.051Z [err] npm ERR!  
2019-10-14T14:31:32.051Z [err] /home/pi/.npm/\_logs/2019-10-14T14\_31\_31\_645Z-debug.log  
2019-10-14T14:31:32.083Z 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:** [15 October 2019 09:48 UTC](https://discourse.nodered.org/t/unable-to-upgrade-remove-install/16729/2 "2019-10-15T09:48:38Z")

</div>

I think there was in issue with uibuilder some time ago that resulted in a .git folder in the install, which npm does not like. I suggest that you remove the folder .node-red/node\_modules/node-red-contrib-uibuilder and try again. If you use uibuilder you will need to re-install it.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [15 October 2019 15:39 UTC](https://discourse.nodered.org/t/unable-to-upgrade-remove-install/16729/3 "2019-10-15T15:39:51Z")

</div>

Note that uninstalling uibuilder from the command line or indeed, deleting the `<userDir>/node_modules/uibuilder` folder then reinstalling will have no impact on your flows.

You could also just delete the `<userDir>/node_modules/uibuilder/.git` folder which should fix the issue.
