# Node-red with firebase

**URL:** <https://discourse.nodered.org/t/node-red-with-firebase/49815>\
**Category:** General\
**Created:** [17 August 2021 03:30 UTC](https://discourse.nodered.org/t/node-red-with-firebase/49815 "2021-08-17T03:30:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![almostz](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@almostz](https://discourse.nodered.org/u/almostz)\
**Post date:** [17 August 2021 03:30 UTC](https://discourse.nodered.org/t/node-red-with-firebase/49815/1 "2021-08-17T03:30:31Z")

</div>

why I cannot connect to firebase via node-red v2.0.5 in Debian google cloud service but I can connect to node-red v1.2.1 via IOT2040 siemens please help me.

 ![1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/1/b186a2b591d6918b43a928f5f54c63909c09efcd.jpeg)  
 ![2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/0/2052ab1d8ea437921f424e85fd44d7755a267472.jpeg)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [17 August 2021 06:18 UTC](https://discourse.nodered.org/t/node-red-with-firebase/49815/2 "2021-08-17T06:18:08Z")

</div>

Segmentation faults are almost always due to an invalid operation by a node that has native code.

Have you updated node js on a previously working node-red installation? If so, you would need to do an `npm rebuild`

More info: [https://httptoolkit.tech/blog/how-to-debug-node-segfaults/](https://httptoolkit.tech/blog/how-to-debug-node-segfaults/)

---

<div class="post-metadata">

**Author:** ![almostz](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@almostz](https://discourse.nodered.org/u/almostz)\
**Post date:** [17 August 2021 06:27 UTC](https://discourse.nodered.org/t/node-red-with-firebase/49815/3 "2021-08-17T06:27:10Z")

</div>

now i downgrade node js to v 12.22.5 still not working

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [17 August 2021 06:53 UTC](https://discourse.nodered.org/t/node-red-with-firebase/49815/4 "2021-08-17T06:53:12Z")

</div>

> [@almostz](#):
>
> i downgrade node js to v 12.22.5

why?

Did you do npm rebuild?

Which firebase node are you using? e.g. node-red-contrib.xxxxx?

List of [firebase nodes](https://flows.nodered.org/search?term=firebase)

---

<div class="post-metadata">

**Author:** ![almostz](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@almostz](https://discourse.nodered.org/u/almostz)\
**Post date:** [17 August 2021 06:56 UTC](https://discourse.nodered.org/t/node-red-with-firebase/49815/5 "2021-08-17T06:56:41Z")

</div>

my node-red-contrib-firebase v1.1.1 and i install to cd /usr/lib/node\_modules/ cannot get the function but install via pallet is get

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [17 August 2021 07:02 UTC](https://discourse.nodered.org/t/node-red-with-firebase/49815/6 "2021-08-17T07:02:16Z")

</div>

> [@almostz](#):
>
> node-red-contrib-firebase v1.1.1

That node is 3y, 8m old and has this in the [readme](https://github.com/deldrid1/node-red-contrib-firebase#danger-will-robinson)...

> See [Firebase uncaught exception crashing my node red on v1.1.1 · Issue #28 · deldrid1/node-red-contrib-firebase · GitHub](https://github.com/deldrid1/node-red-contrib-firebase/issues/28) - unfortunately, this repo is no longer maintained and is known to not work with the latest versions of node-red / Firebase. Perhaps you can take up the cause - if you are up to the challenge and want to submit a complete PR or a new repo that wants to take this npm package name, please submit a PR or File a Pull Request and I will be happy to review.

I would look to use an [alternative contrib node](https://flows.nodered.org/search?term=firebase&type=node) - one that is newer

---

<div class="post-metadata">

**Author:** ![almostz](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@almostz](https://discourse.nodered.org/u/almostz)\
**Post date:** [17 August 2021 07:05 UTC](https://discourse.nodered.org/t/node-red-with-firebase/49815/7 "2021-08-17T07:05:55Z")

</div>

ohh download in .zip and copy to my directory and install via directory right? let me try.

---

<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:** [16 October 2021 07:06 UTC](https://discourse.nodered.org/t/node-red-with-firebase/49815/8 "2021-10-16T07:06:25Z")

</div>

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