# Node-red error, I can't open node red anymore

**URL:** https://discourse.nodered.org/t/node-red-error-i-cant-open-node-red-anymore/42543
**Category:** General
**Created:** [12 March 2021 15:40 UTC](https://discourse.nodered.org/t/node-red-error-i-cant-open-node-red-anymore/42543 "2021-03-12T15:40:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![fikerplunk](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@fikerplunk](https://discourse.nodered.org/u/fikerplunk)
#### Post date: [12 March 2021 15:40 UTC](https://discourse.nodered.org/t/node-red-error-i-cant-open-node-red-anymore/42543/1 "2021-03-12T15:40:36Z")

</div>

Hello, I was testing the "firestore-cloud" node and my local node-red crashed with the following message in the log:

12 Mar 12:35:01 - [info] Starting flows  
12 Mar 12:35:03 - [info] Started flows  
12 Mar 12:35:03 - [red] Uncaught Exception:  
12 Mar 12:35:03 - UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "Cannot set document ref in a collection group query".

I can't open node-red anymore, do you know what I should do?

Thanks

---

<div class="post-metadata">

### Author: ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)
#### Post date: [12 March 2021 15:45 UTC](https://discourse.nodered.org/t/node-red-error-i-cant-open-node-red-anymore/42543/2 "2021-03-12T15:45:10Z")

</div>

Have you tried starting node-red in safe mode? You can run it by starting node-red as `node-red --safe`. That will only start the editor, but not start the flow itself. You can use it to fix any flows that crash the install, then deploy to restart the flows without the crash that occurred being repeated.

---

<div class="post-metadata">

### Author: ![fikerplunk](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@fikerplunk](https://discourse.nodered.org/u/fikerplunk)
#### Post date: [12 March 2021 15:57 UTC](https://discourse.nodered.org/t/node-red-error-i-cant-open-node-red-anymore/42543/3 "2021-03-12T15:57:39Z")

</div>

It worked, afelix. Thank you!

---

<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: [11 May 2021 15:57 UTC](https://discourse.nodered.org/t/node-red-error-i-cant-open-node-red-anymore/42543/4 "2021-05-11T15:57:47Z")

</div>

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