# Uninstall Node-Red

**URL:** <https://discourse.nodered.org/t/uninstall-node-red/946>\
**Category:** General\
**Created:** [20 June 2018 07:06 UTC](https://discourse.nodered.org/t/uninstall-node-red/946 "2018-06-20T07:06:57Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![youthtech](https://avatars.discourse-cdn.com/v4/letter/y/85e7bf/32.png) [@youthtech](https://discourse.nodered.org/u/youthtech)\
**Post date:** [20 June 2018 07:06 UTC](https://discourse.nodered.org/t/uninstall-node-red/946/1 "2018-06-20T07:06:57Z")

</div>

Hi, I uninstall all the node red modules, I already uninstall node js and deleting node modules in my pc. when I reinstall it back, i did not get a new node red, the old one still in used and i could not remove the node modules by the manager pallet, what should i do to encounter this problem?

---

<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:** [20 June 2018 07:49 UTC](https://discourse.nodered.org/t/uninstall-node-red/946/2 "2018-06-20T07:49:06Z")

</div>

When Node-RED starts it logs the userDirectory it is using to store your flows and extra nodes. When you uninstall Node-RED it doesn’t delete the userDirectory, so that will still contain your flows etc.

If you really want to wipe everything, delete the user directory and restart.

---

<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:** [20 June 2018 08:24 UTC](https://discourse.nodered.org/t/uninstall-node-red/946/3 "2018-06-20T08:24:59Z")

</div>

Do you mean the version of node red is not the latest? If so then what operating system you using and what hardware? If this is Raspbian or Ubuntu or other Debian based system then use the install script from [https://nodered.org/docs/hardware/raspberrypi](https://nodered.org/docs/hardware/raspberrypi).

---

<div class="post-metadata">

**Author:** ![youthtech](https://avatars.discourse-cdn.com/v4/letter/y/85e7bf/32.png) [@youthtech](https://discourse.nodered.org/u/youthtech)\
**Post date:** [20 June 2018 09:45 UTC](https://discourse.nodered.org/t/uninstall-node-red/946/4 "2018-06-20T09:45:13Z")

</div>

alright, this works. thanks.

---

<div class="post-metadata">

**Author:** ![youthtech](https://avatars.discourse-cdn.com/v4/letter/y/85e7bf/32.png) [@youthtech](https://discourse.nodered.org/u/youthtech)\
**Post date:** [20 June 2018 09:49 UTC](https://discourse.nodered.org/t/uninstall-node-red/946/5 "2018-06-20T09:49:26Z")

</div>

![error%20node%20red%20arduino](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d628acf05ecd85ae906be2278668ecea7f2afcc0.PNG)

I am using windows 7. LTS version just like in the website. Actually, this problem as attached in the picture still occur, I thought reinstalling might helps. This error occurs at the node red arduino, error line 6 missing serial port. Does this have any solution?

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [20 June 2018 10:07 UTC](https://discourse.nodered.org/t/uninstall-node-red/946/6 "2018-06-20T10:07:22Z")

</div>

Thats because Serialport failed to install, there should have been an error in the install process.

Have you read [https://nodered.org/docs/platforms/windows](https://nodered.org/docs/platforms/windows)

Try following the section  
“Installing Node.js Windows Build Tools” and then try reinstalling

---

<div class="post-metadata">

**Author:** ![youthtech](https://avatars.discourse-cdn.com/v4/letter/y/85e7bf/32.png) [@youthtech](https://discourse.nodered.org/u/youthtech)\
**Post date:** [21 June 2018 00:33 UTC](https://discourse.nodered.org/t/uninstall-node-red/946/8 "2018-06-21T00:33:27Z")

</div>

already try it, but does not work. how to solve them?

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [21 June 2018 06:14 UTC](https://discourse.nodered.org/t/uninstall-node-red/946/9 "2018-06-21T06:14:49Z")

</div>

if it does not work  
Then it must give an error  
In order to help you, you need to paste the error. Please try installing the arduino node again and copy the error here

Also please list the version of nodejs , npm and node-red you are using

---

<div class="post-metadata">

**Author:** ![youthtech](https://avatars.discourse-cdn.com/v4/letter/y/85e7bf/32.png) [@youthtech](https://discourse.nodered.org/u/youthtech)\
**Post date:** [25 June 2018 00:13 UTC](https://discourse.nodered.org/t/uninstall-node-red/946/10 "2018-06-25T00:13:16Z")

</div>

Microsoft Windows [Version 6.1.7601]  
Copyright © 2009 Microsoft Corporation. All rights reserved.

C:\Users\intern.ime\>node-red  
25 Jun 08:11:04 - [info]

# Welcome to Node-RED

25 Jun 08:11:04 - [info] Node-RED version: v0.18.7  
25 Jun 08:11:04 - [info] Node.js version: v8.11.3  
25 Jun 08:11:04 - [info] Windows\_NT 6.1.7601 x64 LE  
25 Jun 08:11:06 - [info] Loading palette nodes  
25 Jun 08:11:10 - [info] Dashboard version 2.9.4 started at /ui  
25 Jun 08:11:15 - [warn] ------------------------------------------------------  
25 Jun 08:11:15 - [warn] [node-red/rpi-gpio] Info : Ignoring Raspberry Pi specif  
ic node  
25 Jun 08:11:15 - [warn] [node-red/tail] Not currently supported on Windows.  
25 Jun 08:11:15 - [warn] [node-red-node-arduino/arduino] Error: Cannot find modu  
le ‘serialport’ (line:6)  
25 Jun 08:11:15 - [warn] ------------------------------------------------------  
25 Jun 08:11:15 - [info] Settings file : \Users\intern.ime.node-red\settings.j  
s  
25 Jun 08:11:15 - [info] User directory : \Users\intern.ime.node-red  
25 Jun 08:11:15 - [warn] Projects disabled : editorTheme.projects.enabled=false  
25 Jun 08:11:15 - [info] Flows file : \Users\intern.ime.node-red\flows\_Trai  
nee-PC.json  
25 Jun 08:11:15 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)  
25 Jun 08:11:15 - [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.

25 Jun 08:11:15 - [info] Starting flows  
25 Jun 08:11:15 - [info] Started flows

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [25 June 2018 06:20 UTC](https://discourse.nodered.org/t/uninstall-node-red/946/11 "2018-06-25T06:20:51Z")

</div>

That’s not the error you got when installing the serial port.

Using a terminal cd to your nodered directory and try to install the serial port using the command from the README. If it comes up with an error copy that error here.

---

<div class="post-metadata">

**Author:** ![youthtech](https://avatars.discourse-cdn.com/v4/letter/y/85e7bf/32.png) [@youthtech](https://discourse.nodered.org/u/youthtech)\
**Post date:** [25 June 2018 08:20 UTC](https://discourse.nodered.org/t/uninstall-node-red/946/12 "2018-06-25T08:20:02Z")

</div>

25 Jun 16:14:27 - [info] Installing module: node-red-node-arduino, version: 0.0.  
17  
25 Jun 16:15:08 - [info] Installed module: node-red-node-arduino  
25 Jun 16:15:09 - [info] Added node types:  
25 Jun 16:15:09 - [info] - node-red-node-arduino:arduino in : Error: Cannot fin  
d module ‘serialport’ (line:6)  
25 Jun 16:15:09 - [info] - node-red-node-arduino:arduino out : Error: Cannot fi  
nd module ‘serialport’ (line:6)  
25 Jun 16:15:09 - [info] - node-red-node-arduino:arduino-board : Error: Cannot  
find module ‘serialport’ (line:6)

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [25 June 2018 09:18 UTC](https://discourse.nodered.org/t/uninstall-node-red/946/13 "2018-06-25T09:18:33Z")

</div>

Strange when I install it ( OK I am on a mac) I get the following

```
 npm i --unsafe-perm node-red-node-arduino

> serialport@6.0.5 install /Users/msetrem/.node-red/node_modules/serialport
> prebuild-install || node-gyp rebuild

+ node-red-node-arduino@0.0.17
added 171 packages and updated 1 package in 24.083s

```

Are you sure thats the output you get from trying to install the node via the command line?

---

<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:** [25 June 2018 09:40 UTC](https://discourse.nodered.org/t/uninstall-node-red/946/14 "2018-06-25T09:40:19Z")

</div>

@youthtech when posting the results of a command it is always a good idea to paste the whole sequence starting with the command you ran, so that we can check for typos etc in the command and also see which directory you have installed from, which can sometimes be important.

---

<div class="post-metadata">

**Author:** ![youthtech](https://avatars.discourse-cdn.com/v4/letter/y/85e7bf/32.png) [@youthtech](https://discourse.nodered.org/u/youthtech)\
**Post date:** [27 June 2018 08:32 UTC](https://discourse.nodered.org/t/uninstall-node-red/946/15 "2018-06-27T08:32:31Z")

</div>

yup. maybe something is not right with laptop. I install in my PC is working fine.

---

<div class="post-metadata">

**Author:** ![youthtech](https://avatars.discourse-cdn.com/v4/letter/y/85e7bf/32.png) [@youthtech](https://discourse.nodered.org/u/youthtech)\
**Post date:** [27 June 2018 08:33 UTC](https://discourse.nodered.org/t/uninstall-node-red/946/16 "2018-06-27T08:33:03Z")

</div>

Alright. Sorry, I’ll post in full next time.
