# Flows stopped due to missing node types (BLE)

**URL:** <https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575>\
**Category:** General\
**Created:** [5 November 2018 11:55 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575 "2018-11-05T11:55:22Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmesberg](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jmesberg](https://discourse.nodered.org/u/jmesberg)\
**Post date:** [5 November 2018 11:55 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/1 "2018-11-05T11:55:22Z")

</div>

I tried to install a node called node-red-contrib-generic-ble and failed to notice that it had a bluetooth dependency that I had not resolved. The installation failed, but then also caused all of my flows to stop with the error, "Flows stopped due to missing node types". I've tried to disable and delete the node but I get "type in use" (its actually not used in any flows now).

Suggestions?

---

<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:** [5 November 2018 16:22 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/2 "2018-11-05T16:22:19Z")

</div>

Post the node red log that you get from a node red restart. Paste it here starting from the Welcome to node red message. If you are on a Pi then you can show the log by running `node-red-log` then restarting node red in another terminal.

---

<div class="post-metadata">

**Author:** ![jmesberg](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jmesberg](https://discourse.nodered.org/u/jmesberg)\
**Post date:** [5 November 2018 17:10 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/3 "2018-11-05T17:10:18Z")

</div>

Thank you Colin. Here is the log:

(and just to be clear, just solving this dependency is non-trivial -- at this point I'd rather just get rid of this node and get my flows running again)

```
Welcome to Node-RED
===================

5 Nov 08:57:17 - [info] Node-RED version: v0.19.5
5 Nov 08:57:17 - [info] Node.js version: v8.12.0
5 Nov 08:57:17 - [info] Linux 4.15.0-38-generic x64 LE
5 Nov 08:57:17 - [info] Loading palette nodes
5 Nov 08:57:18 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
5 Nov 08:57:20 - [warn] ------------------------------------------------------
5 Nov 08:57:20 - [warn] [node-red-contrib-generic-ble/generic-ble] Error: Cannot find module 'bluetooth-hci-socket'
5 Nov 08:57:20 - [warn] ------------------------------------------------------
5 Nov 08:57:20 - [info] Settings file : /etc/node-red/config.js
5 Nov 08:57:20 - [info] Context store : 'default' [module=memory]
5 Nov 08:57:20 - [info] User directory : /config/node-red/
5 Nov 08:57:20 - [warn] Projects disabled : editorTheme.projects.enabled=false
5 Nov 08:57:20 - [info] Flows file : /config/node-red/flows.json
5 Nov 08:57:20 - [info] Server now running at https://127.0.0.1:1880/
5 Nov 08:57:20 - [info] Waiting for missing types to be registered:
5 Nov 08:57:20 - [info] - Generic BLE
```

---

<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:** [5 November 2018 17:25 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/4 "2018-11-05T17:25:49Z")

</div>

> [@jmesberg](#):
>
> (and just to be clear, just solving this dependency is non-trivial -- at this point I'd rather just get rid of this node and get my flows running again)

I deduce from that that you have already tried installing the missing bits. There is probably a config node or something in the flow still. You could edit the flow file with a text editor (it is just a json file so with care can be editted) and search for ble or similar strings to find it, then manually delete it from the file. Make a backup of the file first of course. Alternatively it might be simpler just to go back your most recent backup of the flow file and go from there.

---

<div class="post-metadata">

**Author:** ![jmesberg](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jmesberg](https://discourse.nodered.org/u/jmesberg)\
**Post date:** [5 November 2018 17:33 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/5 "2018-11-05T17:33:23Z")

</div>

thx, appreciate your suggestions. I'll give manually editing the json file a shot.

---

<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:** [5 November 2018 17:58 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/6 "2018-11-05T17:58:49Z")

</div>

No need to hand edit. If there's a config node, it'll show up in the config node sidebar as 'unknown' type.

---

<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:** [5 November 2018 18:15 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/7 "2018-11-05T18:15:50Z")

</div>

Does the editor work when it is waiting for missing nodes?

---

<div class="post-metadata">

**Author:** ![jmesberg](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jmesberg](https://discourse.nodered.org/u/jmesberg)\
**Post date:** [5 November 2018 18:45 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/8 "2018-11-05T18:45:41Z")

</div>

Yes, as I recall it does. I will check for sure when I get home later.

---

<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:** [5 November 2018 21:11 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/9 "2018-11-05T21:11:10Z")

</div>

If the editor is working then @knolleary's suggestion is the one to follow (as usual). If you still can't find the problem nodes then the search feature may help.

---

<div class="post-metadata">

**Author:** ![jmesberg](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jmesberg](https://discourse.nodered.org/u/jmesberg)\
**Post date:** [5 November 2018 22:39 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/10 "2018-11-05T22:39:04Z")

</div>

got home, did exactly as @knolleary suggested and all is good. Thanks to both of you.

---

<div class="post-metadata">

**Author:** ![jfehl](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Post date:** [22 January 2019 22:03 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/11 "2019-01-22T22:03:57Z")

</div>

Hello jmesberg,  
Did you ever get this Bluetooth LE to work for you. I am trying it out and having similar problems. If you got it to configure ok and deploy, could you possibly post you flow? I am experimenting with one of the bluefruit nrf52's.

Thanks

---

<div class="post-metadata">

**Author:** ![jfehl](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Post date:** [22 January 2019 22:22 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/12 "2019-01-22T22:22:46Z")

</div>

I get this error as well, but clearly it seems as though these nodes are installed.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/e/ee00ac5e176d86f3ae6bd0444d62a03a2af66769.png)

---

<div class="post-metadata">

**Author:** ![jmesberg](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jmesberg](https://discourse.nodered.org/u/jmesberg)\
**Post date:** [23 January 2019 13:19 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/13 "2019-01-23T13:19:22Z")

</div>

I never did get the Bluetooth LE working, but I think its due to some hardware issues on my NUC (or lack of ability on my part to deal with configuring Bluetooth properly on the NUC).

---

<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:** [23 January 2019 13:35 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/14 "2019-01-23T13:35:34Z")

</div>

@jfehl Could you post the following?

> [@Colin](#):
>
> Post the node red log that you get from a node red restart. Paste it here starting from the Welcome to node red message. If you are on a Pi then you can show the log by running `node-red-log` then restarting node red in another terminal.

---

<div class="post-metadata">

**Author:** ![Onixarts](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/onixarts/32/6052_2.png) [@Onixarts](https://discourse.nodered.org/u/Onixarts)\
**Post date:** [13 February 2019 19:13 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/15 "2019-02-13T19:13:08Z")

</div>

I do also have NUC (intel) with Windows 10 installed and I've got the same issues with all the bluetooth nodes from the market 😑 . Nodes just disapear after the first deploy, getting Unknown.

---

<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:** [13 February 2019 20:09 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/16 "2019-02-13T20:09:11Z")

</div>

Then perhaps you could post what @colin asked for

---

<div class="post-metadata">

**Author:** ![Onixarts](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/onixarts/32/6052_2.png) [@Onixarts](https://discourse.nodered.org/u/Onixarts)\
**Post date:** [13 February 2019 23:09 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/17 "2019-02-13T23:09:11Z")

</div>

There is one warning...

```auto
14 Feb 00:05:11 - [warn] [node-red-contrib-generic-ble/generic-ble] Error: Cannot find module 'bluetooth-hci-socket'

 14 Feb 00:05:11 - [info] Waiting for missing types to be registered:
 14 Feb 00:05:11 - [info] - Generic BLE
 14 Feb 00:05:11 - [info] - Generic BLE in

```

I tried install the missing bluetooth-hci-socket module, but it fails on finding python. I'll try it tomorrow.

---

<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:** [14 February 2019 09:11 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/18 "2019-02-14T09:11:56Z")

</div>

> [@Onixarts](#):
>
> node-red-contrib-generic-ble

Post the whole log from the welcome message please.

---

<div class="post-metadata">

**Author:** ![jfehl](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Post date:** [3 May 2019 18:04 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-ble/4575/19 "2019-05-03T18:04:39Z")

</div>

Sorry, I've been totally off Node Red projects for a while. Hope to get back to it when time permits. I will post the log when I get back to it.
