# Uninstall a node - installed and conflicting

**URL:** https://discourse.nodered.org/t/uninstall-a-node-installed-and-conflicting/44514
**Category:** General
**Created:** [22 April 2021 01:14 UTC](https://discourse.nodered.org/t/uninstall-a-node-installed-and-conflicting/44514 "2021-04-22T01:14:46Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![habakuk25](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/habakuk25/32/80963_2.png) [@habakuk25](https://discourse.nodered.org/u/habakuk25)
#### Post date: [22 April 2021 01:14 UTC](https://discourse.nodered.org/t/uninstall-a-node-installed-and-conflicting/44514/1 "2021-04-22T01:14:46Z")

</div>

Hello @knolleary!

I do want to uninstall node-red-contrib-generic-ble-arcom.  
I do have the node "node-red-contrib-generic-ble-arcom" listed under palette but greyed out and ready to be activated.  
I probably in´stalled or deinstalled it unpropperly out of the palette or with (root) npm uninetionally so I might have srewed something severely up here.

This node now shows still conflicting with node-red-contrib-generic-ble, so Ithat I am unable to install this node!

Therefor i do have to completely uninstall this node: node-red-contrib-generic-ble-arcom.

I cannot:

- activate it
- I cannot uninstall it from the palette  
in .node-red directory:
- it is not listet in the package.json ( there is even a Package-lock.json: but, however, it is not mentioned in this file!?)
- it is not in node\_modules directory
- I cannot:  
npm uninstall node-red-contrib-generic-ble-arcom  
npm uninstall -g node-red-contrib-generic-ble-arcom

it might have been installed under root with root:npm which was accidentally parallelly installed to my user: npm.  
root:npm is removed now.

please help - I cannot get rid of this package anymore.

---

<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: [22 April 2021 07:23 UTC](https://discourse.nodered.org/t/uninstall-a-node-installed-and-conflicting/44514/2 "2021-04-22T07:23:10Z")

</div>

Welcome to the forum @habakuk25

What OS/hardware are you using please?

What do these commands show when run from your .node-red folder (the folder is important).  
`npm list node-red-contrib-generic-ble-arcom`  
`npm list -g node-red-contrib-generic-ble-arcom`

Also In a terminal stop node-red and start it again and post the full output here. When posting the log (or flows and code) it is important to paste it here correctly, please see this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

<div class="post-metadata">

### Author: ![habakuk25](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/habakuk25/32/80963_2.png) [@habakuk25](https://discourse.nodered.org/u/habakuk25)
#### Post date: [22 April 2021 15:17 UTC](https://discourse.nodered.org/t/uninstall-a-node-installed-and-conflicting/44514/3 "2021-04-22T15:17:56Z")

</div>

Hello!

Unfortunately I could not post the reply.

"I am only supposed to post 2 links max. on this post"?? There are no links, however:

**@What OS/hardware are you using please?**

Ubuntu 18.04 @ 3.16.85+ kernel  
Odroid C2 (arm64)

**`npm list node-red-contrib-generic-ble-arcom` shows:**

---

<div class="post-metadata">

### Author: ![habakuk25](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/habakuk25/32/80963_2.png) [@habakuk25](https://discourse.nodered.org/u/habakuk25)
#### Post date: [22 April 2021 15:22 UTC](https://discourse.nodered.org/t/uninstall-a-node-installed-and-conflicting/44514/4 "2021-04-22T15:22:34Z")

</div>

sry I could not post my reply - there was complaint that I had more than 2 links included??

I sent it via email.

please reply thx!

---

<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: [22 April 2021 15:37 UTC](https://discourse.nodered.org/t/uninstall-a-node-installed-and-conflicting/44514/6 "2021-04-22T15:37:03Z")

</div>

> [@habakuk25](#):
>
> I sent it via email.

To whom? What email address?

You should be able to paste it in without problems.

---

<div class="post-metadata">

### Author: ![habakuk25](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/habakuk25/32/80963_2.png) [@habakuk25](https://discourse.nodered.org/u/habakuk25)
#### Post date: [22 April 2021 21:11 UTC](https://discourse.nodered.org/t/uninstall-a-node-installed-and-conflicting/44514/7 "2021-04-22T21:11:05Z")

</div>

to this one: just replied

[nodered+d985a1b8abfe37bf498acd1b720484fd@discoursemail.com](mailto:nodered+d985a1b8abfe37bf498acd1b720484fd@discoursemail.com)

went through though....

---

<div class="post-metadata">

### Author: ![habakuk25](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/habakuk25/32/80963_2.png) [@habakuk25](https://discourse.nodered.org/u/habakuk25)
#### Post date: [22 April 2021 21:13 UTC](https://discourse.nodered.org/t/uninstall-a-node-installed-and-conflicting/44514/8 "2021-04-22T21:13:41Z")

</div>

Hello!

Unfortunately I could not post the reply

now it worked. this is really weird error:  
"you are only allowed to post 2 links (???) in this post??

"I am only supposed to post 2 links max. on this post"?? There are no links, however:

**@What OS/hardware are you using please?**

Ubuntu 18.04 @ 3.16.85+ kernel

Odroid C2 (arm64)

**`npm list node-red-contrib-generic-ble-arcom` shows:**

* * *

node-red-project@0.0.1 /home/odroid/.node-red

'-- (empty)

* * *

**`npm list -g node-red-contrib-generic-ble-arcom` shows:**

* * *

/home/odroid/.nvm/versions/node(v12.11.1/lib

'-- (empty)

* * *

restart node red:

**node red stop:**

~/.node-red$ node-red stop

22 Apr 16:58:52 - [info]

Welcome to Node-RED

===================

22 Apr 16:58:52 - [info] Node-RED version: v1.0.1

22 Apr 16:58:52 - [info] Node.js version: v12.11.1

22 Apr 16:58:52 - [info] Linux 3.16.85+ arm64 LE

22 Apr 16:58:53 - [info] Loading palette nodes

22 Apr 16:58:56 - [info] Dashboard version 2.28.2 started at /ui

22 Apr 16:58:57 - [info] Settings file : /home/odroid/.node-red/settings.js

22 Apr 16:58:57 - [info] Context store : 'default' [module=memory]

22 Apr 16:58:57 - [info] User directory : /home/odroid/.node-red

22 Apr 16:58:57 - [warn] Projects disabled : editorTheme.projects.enabled=false

22 Apr 16:58:57 - [info] Flows file : /home/odroid/.node-red/stop

22 Apr 16:58:57 - [info] Creating new flow file

22 Apr 16:58:57 - [warn]

* * *

Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials

file will not be recoverable, you will have to delete it and re-enter

your credentials.

You should set your own key using the 'credentialSecret' option in

your settings file. Node-RED will then re-encrypt your credentials

file using your chosen key the next time you deploy a change.

* * *

22 Apr 16:58:57 - [info] Starting flows

22 Apr 16:58:57 - [info] Started flows

22 Apr 16:58:57 - [error] Unable to listen on [http://127.0.0.1:1880/](http://127.0.0.1:1880/)

22 Apr 16:58:57 - [error] Error: port in use

* * *

* * *

**node-red start:**

odroid@odroid:~/.node-red$ node-red start

22 Apr 17:01:01 - [info]

Welcome to Node-RED

===================

22 Apr 17:01:01 - [info] Node-RED version: v1.0.1

22 Apr 17:01:01 - [info] Node.js version: v12.11.1

22 Apr 17:01:01 - [info] Linux 3.16.85+ arm64 LE

22 Apr 17:01:02 - [info] Loading palette nodes

22 Apr 17:01:06 - [info] Dashboard version 2.28.2 started at /ui

22 Apr 17:01:06 - [info] Settings file : /home/odroid/.node-red/settings.js

22 Apr 17:01:06 - [info] Context store : 'default' [module=memory]

22 Apr 17:01:06 - [info] User directory : /home/odroid/.node-red

22 Apr 17:01:06 - [warn] Projects disabled : editorTheme.projects.enabled=false

22 Apr 17:01:06 - [info] Flows file : /home/odroid/.node-red/start

22 Apr 17:01:06 - [info] Creating new flow file

22 Apr 17:01:06 - [warn]

* * *

Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials

file will not be recoverable, you will have to delete it and re-enter

your credentials.

You should set your own key using the 'credentialSecret' option in

your settings file. Node-RED will then re-encrypt your credentials

file using your chosen key the next time you deploy a change.

* * *

22 Apr 17:01:06 - [info] Starting flows

22 Apr 17:01:06 - [info] Started flows

22 Apr 17:01:06 - [error] Unable to listen on [http://127.0.0.1:1880/](http://127.0.0.1:1880/)

22 Apr 17:01:06 - [error] Error: port in use

your help is appreciated.

thanks in advance.

---

<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: [22 April 2021 21:40 UTC](https://discourse.nodered.org/t/uninstall-a-node-installed-and-conflicting/44514/9 "2021-04-22T21:40:59Z")

</div>

Those are not the commands to stop and start node-red. The reason you get the port in use error is because you had not stopped node-red.

On a Pi it would be  
`node-red-stop`  
`node-red-start`  
But I don't know if those are the commands for yours system. It depends how you installed node-red. I can see that you have an obsolete version of node red and also of nodejs. You need to update them. nodejs 12.x is ok, but the latest of that version is 12.22.1

---

<div class="post-metadata">

### Author: ![habakuk25](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/habakuk25/32/80963_2.png) [@habakuk25](https://discourse.nodered.org/u/habakuk25)
#### Post date: [22 April 2021 21:45 UTC](https://discourse.nodered.org/t/uninstall-a-node-installed-and-conflicting/44514/10 "2021-04-22T21:45:30Z")

</div>

![Unbenannt](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/0/20fd58c7c75536bddec102c6892bb707486c0fe2.png)

activate is not working.

---

<div class="post-metadata">

### Author: ![habakuk25](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/habakuk25/32/80963_2.png) [@habakuk25](https://discourse.nodered.org/u/habakuk25)
#### Post date: [22 April 2021 21:49 UTC](https://discourse.nodered.org/t/uninstall-a-node-installed-and-conflicting/44514/11 "2021-04-22T21:49:42Z")

</div>

Hello!

this is how I installed nodered:

* * *

[https://linuxconfig.org/how-to-install-node-js-on-ubuntu-18-04-bionic-beaver-linux](https://linuxconfig.org/how-to-install-node-js-on-ubuntu-18-04-bionic-beaver-linux)

sudo apt install nodejs  
sudo apt install libssl1.0-dev  
sudo apt install nodejs-dev  
sudo apt install node-gyp  
sudo apt install npm

* * *

my start command is: node-red

so what is my stop command?  
how to update?

---

<div class="post-metadata">

### Author: ![habakuk25](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/habakuk25/32/80963_2.png) [@habakuk25](https://discourse.nodered.org/u/habakuk25)
#### Post date: [22 April 2021 22:41 UTC](https://discourse.nodered.org/t/uninstall-a-node-installed-and-conflicting/44514/12 "2021-04-22T22:41:23Z")

</div>

hello Colin!

I updated with:  
sudo npm install -g --unsafe-perm node-red@next

all the way up to : 1.3.0-beta.1: Beta Release

and the node is gone!!

---

<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: [23 April 2021 00:38 UTC](https://discourse.nodered.org/t/uninstall-a-node-installed-and-conflicting/44514/13 "2021-04-23T00:38:50Z")

</div>

Please take a moment to think things through and then re-read the node-red documentation.

A standard install of node-red is `npm -g install node-red`. The `@next` is only used temporarily when installing a beta version.

Also, you should limit yourself to installing nodes via the palette manager rather than trying to install manually.

You have chosen a complex area to try to get working. Bluetooth is rarely straight-forward and comes with lots of complexity and problems. The node you have chosen is particularly complex by the looks of it. At the least, you will need to have installed and got working the command line `gattool` and sorted out any bluetooth permissions issues that I think we may have covered in another thread.
