# NodeRED stuck because of missing types

**URL:** <https://discourse.nodered.org/t/nodered-stuck-because-of-missing-types/66235>\
**Category:** General\
**Created:** [9 August 2022 14:50 UTC](https://discourse.nodered.org/t/nodered-stuck-because-of-missing-types/66235 "2022-08-09T14:50:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![OsamaAlAhmadieh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/osamaalahmadieh/32/65183_2.png) [@OsamaAlAhmadieh](https://discourse.nodered.org/u/OsamaAlAhmadieh)\
**Post date:** [9 August 2022 14:50 UTC](https://discourse.nodered.org/t/nodered-stuck-because-of-missing-types/66235/1 "2022-08-09T14:50:07Z")

</div>

Hello,  
I am trying to launch nodeRED but I can't. I always get these messages in my logs

```auto
9 Aug 16:41:41 - [info] Waiting for missing types to be registered:
9 Aug 16:41:41 - [info] - undefined

```

there are no flows running at all, I am not sure what nodeRED is waiting for. I have written the following code in python to get all running flows:

```auto
url2 = 'http://localhost:1880/flows/'
r = requests.get(url2)
print(r.status_code)
print(r.json())

```

and I got the following output:

```auto
200
['id', 'type', 'z', 'name', 'props', 'repeat', 'crontab', 'once', 'onceDelay', 'topic', 'payload', 'payloadType', 'x', 'y', 'wires', 'id', 'type', 'z', 'name', 'active', 'tosidebar', 'console', 'tostatus', 'complete', 'targetType', 'statusVal', 'statusType', 'x', 'y', 'wires', 'id', 'type', 'z', 'name', 'func', 'outputs', 'noerr', 'initialize', 'finalize', 'libs', 'x', 'y', 'wires']

```

which I assume means that there are no flows, since usually we would get a JSON object with flowid flow label and other properties.

I have tried uninstalling and reinstalling nodeRED but I still got this message. I have also deleted all my self-defined nodes and modules and still not getting it to run.

when I open nodered in my browser, I get the following message:

> Error adding flows  
> Cannot read properties of undefined (reading 'substring')

I am out of ways to solve this, any help would be very much appreciated.

Thank you!

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [9 August 2022 15:37 UTC](https://discourse.nodered.org/t/nodered-stuck-because-of-missing-types/66235/2 "2022-08-09T15:37:37Z")

</div>

You might have a left over configuration from a node you removed. Go to the right sidebar and click on the `Configuration nodes` tab:  
 ![Screen Shot 2022-08-09 at 11.36.10 AM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/f/bff999f9cd7dc5c3b774a1986278b56967a26058.png)

Then click the `unused` button and delete any that are unused and try a deploy.

---

<div class="post-metadata">

**Author:** ![OsamaAlAhmadieh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/osamaalahmadieh/32/65183_2.png) [@OsamaAlAhmadieh](https://discourse.nodered.org/u/OsamaAlAhmadieh)\
**Post date:** [9 August 2022 15:41 UTC](https://discourse.nodered.org/t/nodered-stuck-because-of-missing-types/66235/3 "2022-08-09T15:41:20Z")

</div>

I have just solved my issue, by removing the package.json files that were in my .node\_red folder, they had some dependencies that were causing problems.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 August 2022 15:41 UTC](https://discourse.nodered.org/t/nodered-stuck-because-of-missing-types/66235/4 "2022-08-23T15:41:47Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
