# Error: node not deployed - Cant delete the Error

**URL:** <https://discourse.nodered.org/t/error-node-not-deployed-cant-delete-the-error/20361>\
**Category:** General\
**Created:** [15 January 2020 11:47 UTC](https://discourse.nodered.org/t/error-node-not-deployed-cant-delete-the-error/20361 "2020-01-15T11:47:08Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ScheepersJohan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scheepersjohan/32/39556_2.png) [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Post date:** [15 January 2020 11:47 UTC](https://discourse.nodered.org/t/error-node-not-deployed-cant-delete-the-error/20361/1 "2020-01-15T11:47:08Z")

</div>

I have a very simple flow.

[{"id":"39737b3.0628584","type":"debug","z":"66472984.929868","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":850,"y":120,"wires":}]

I have copied a flow somewhere with "mraa-gpio-dout" in it, I did not have the node installed.

I deployed the flow without installing the node.

Subsequently I have installed the node but

Keeps telling me -  
Flows stopped due to missing node types.  
mraa-gpio-dout

I have deleted the flow as well and tried to start and send messages, but it keeps telling me "Flows stopped due to missing node types. mraa-gpio-dout" and "Error: node not deployed"

---

<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:** [15 January 2020 12:27 UTC](https://discourse.nodered.org/t/error-node-not-deployed-cant-delete-the-error/20361/2 "2020-01-15T12:27:00Z")

</div>

Try (on commandline):

```auto
node-red-stop
node-red --safe

```

It will start node-red in safe mode, remove the nodes that give the problems, deploy.

---

<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 January 2020 12:30 UTC](https://discourse.nodered.org/t/error-node-not-deployed-cant-delete-the-error/20361/3 "2020-01-15T12:30:11Z")

</div>

If that does not help tell us how you have installed node-red and what hardware and operating system it is running.  
Also post here the startup log that you see when starting node-red in a terminal. It should include the Welcome to node-red message.

---

<div class="post-metadata">

**Author:** ![ScheepersJohan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scheepersjohan/32/39556_2.png) [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Post date:** [17 January 2020 20:13 UTC](https://discourse.nodered.org/t/error-node-not-deployed-cant-delete-the-error/20361/4 "2020-01-17T20:13:32Z")

</div>

Thanks,

Start up in safe mode log.

""pi@raspberrypi:~ $ node-red-stop

Stop Node-RED

Use node-red-start to start Node-RED again

pi@raspberrypi:~ $ node-red --safe  
17 Jan 21:49:02 - [info]

# Welcome to Node-RED

17 Jan 21:49:02 - [info] Node-RED version: v0.20.7  
17 Jan 21:49:02 - [info] Node.js version: v8.11.1  
17 Jan 21:49:02 - [info] Linux 4.19.66-v7+ arm LE  
17 Jan 21:49:05 - [info] Loading palette nodes  
Initializing chat-platform lib, you should see this only once  
Running at: /home/pi/.node-red/node\_modules/chat-platform Version: 1.0.9

node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.  
In the future, you will have to enable it yourself.  
See [https://github.com/yagop/node-telegram-bot-api/issues/319](https://github.com/yagop/node-telegram-bot-api/issues/319). module.js:652:30  
17 Jan 21:49:18 - [info] RedBot version: 0.18.3 (node-red-contrib-chatbot)  
17 Jan 21:49:33 - [info] Dashboard version 2.15.4 started at /ui  
17 Jan 21:49:35 - [warn] ------------------------------------------------------  
17 Jan 21:49:35 - [warn] [node-red-node-intel-gpio/mraa-gpio-ain] Error: Cannot find module 'mraa' (line:3)  
17 Jan 21:49:35 - [warn] [node-red-node-intel-gpio/mraa-gpio-din] Error: Cannot find module 'mraa' (line:3)  
17 Jan 21:49:35 - [warn] [node-red-node-intel-gpio/mraa-gpio-dout] Error: Cannot find module 'mraa' (line:3)  
17 Jan 21:49:35 - [warn] [node-red-node-intel-gpio/mraa-gpio-pwm] Error: Cannot find module 'mraa' (line:3)  
17 Jan 21:49:35 - [warn] ------------------------------------------------------  
17 Jan 21:49:35 - [info] Settings file : /home/pi/.node-red/settings.js  
17 Jan 21:49:35 - [info] Context store : 'default' [module=memory]  
17 Jan 21:49:35 - [info] User directory : /home/pi/.node-red  
17 Jan 21:49:35 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable  
17 Jan 21:49:35 - [info] Flows file : /home/pi/.node-red/flows\_raspberrypi.json  
17 Jan 21:49:35 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)  
17 Jan 21:49:35 - [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.

17 Jan 21:49:35 - [info] Waiting for missing types to be registered:  
17 Jan 21:49:35 - [info] - mraa-gpio-dout  
^C17 Jan 21:53:55 - [info] Stopping flows  
17 Jan 21:53:55 - [info] Stopped flows  
pi@raspberrypi:~ $""

When I started it in safe mode it showed the unconfirmed nodes

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/c/0c1d04b03e618550280b66c41e374317b319bbd5.png)

I remove them - Deployed the flow  
node-red-stop - Stoped the flow  
node-red-start - Started node red

Re-arranged my flow again

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/3/431d3f453230d48d7de1b70f07e6919760c4f8c8.png)

And Now we are working 100%

Thanks

---

<div class="post-metadata">

**Author:** ![ScheepersJohan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scheepersjohan/32/39556_2.png) [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Post date:** [20 January 2020 21:02 UTC](https://discourse.nodered.org/t/error-node-not-deployed-cant-delete-the-error/20361/5 "2020-01-20T21:02:58Z")

</div>

Hi,

This mraa-gpio-dout are back and causing trouble for me.

I have once again tried to node-red-stop and then node-red --safe then remove mraa-gpio-dout.

Any other advice?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/9/59bebdb274eb8b5a85bbbc0365ddffb7c0b4160d.png)

To find more nodes and example flows - go to [http://flows.nodered.org](http://flows.nodered.org)

Starting as a systemd service.  
20 Jan 22:53:53 - [info] - node-red-node-pi-gpio:rpi-keyboard  
20 Jan 23:02:22 - [info] Stopping flows  
20 Jan 23:02:22 - [info] Stopped flows  
20 Jan 23:02:22 - [info] Waiting for missing types to be registered:  
20 Jan 23:02:22 - [info] - mraa-gpio-dout

---

<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:** [20 January 2020 21:38 UTC](https://discourse.nodered.org/t/error-node-not-deployed-cant-delete-the-error/20361/6 "2020-01-20T21:38:18Z")

</div>

```auto
node-red --safe 

```

Then remove the nodes from your flows first.

---

<div class="post-metadata">

**Author:** ![ScheepersJohan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scheepersjohan/32/39556_2.png) [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Post date:** [21 January 2020 04:42 UTC](https://discourse.nodered.org/t/error-node-not-deployed-cant-delete-the-error/20361/7 "2020-01-21T04:42:05Z")

</div>

I don't have the nodes "mraa-gpio-dout" in any flow

---

<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:** [21 January 2020 07:56 UTC](https://discourse.nodered.org/t/error-node-not-deployed-cant-delete-the-error/20361/8 "2020-01-21T07:56:23Z")

</div>

If you have not already done so, use the Search feature in node red to search for mraa.  
If that doesn't find anything then in a terminal in the .node-red folder run  
`npm remove node-red-node-intel-gpio`  
And post the result here. Then restart node red and see what happens.

---

<div class="post-metadata">

**Author:** ![ScheepersJohan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scheepersjohan/32/39556_2.png) [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Post date:** [21 January 2020 20:07 UTC](https://discourse.nodered.org/t/error-node-not-deployed-cant-delete-the-error/20361/9 "2020-01-21T20:07:46Z")

</div>

> [@Colin](#):
>
> mraa

Thank you Colin, your help is appropriated

---

<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:** [21 January 2020 22:32 UTC](https://discourse.nodered.org/t/error-node-not-deployed-cant-delete-the-error/20361/10 "2020-01-21T22:32:37Z")

</div>

Is it fixed then? If so what did it?

---

<div class="post-metadata">

**Author:** ![ScheepersJohan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scheepersjohan/32/39556_2.png) [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Post date:** [22 January 2020 20:27 UTC](https://discourse.nodered.org/t/error-node-not-deployed-cant-delete-the-error/20361/11 "2020-01-22T20:27:21Z")

</div>

I could not find it in the flow or node causing the trouble, also there were flow shown under "config" ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/5/15121a4085d906734523d366c99ba10e2fdf08d6.png)  
and not at the top of the flows ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/2/e23d8ff0ed10314fd1bc7385cd108e4df1c8441e.png) (I have subsequently delete them, you will only see the two now, I should have take screen shots to demonstrate prior of me deleting them)

I used Ctrl+f and searched for the nodes and flows that were not shown on the mail pallet and deleted them.

As you can see only the two flow I use now there and the rest deleted.

Think node-red got it self in a bit of a knot, as I have copied and pasted a lot of flow, experimenting on how thing work.
