# Error with starting node red

**URL:** <https://discourse.nodered.org/t/error-with-starting-node-red/20388>\
**Category:** General\
**Created:** [15 January 2020 16:13 UTC](https://discourse.nodered.org/t/error-with-starting-node-red/20388 "2020-01-15T16:13:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andres](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andres/32/112_2.png) [@Andres](https://discourse.nodered.org/u/Andres)\
**Post date:** [15 January 2020 16:13 UTC](https://discourse.nodered.org/t/error-with-starting-node-red/20388/1 "2020-01-15T16:13:13Z")

</div>

Hi everyone, when i'm starting node red with the following params:

- os: centos 7
- NR version: 0.20.6
- node version: 6.17.1
- npm version: 3.10.10
- with pm2 (2.5) for auto start

i have the following [error](https://pastebin.com/q21itDkz) and NR does not work, what am i doing wrong?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [15 January 2020 16:35 UTC](https://discourse.nodered.org/t/error-with-starting-node-red/20388/2 "2020-01-15T16:35:26Z")

</div>

I think you need at least node8 - (though that is now beyond end of life - so I would advise at least node10 or 12.)

---

<div class="post-metadata">

**Author:** ![Andres](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andres/32/112_2.png) [@Andres](https://discourse.nodered.org/u/Andres)\
**Post date:** [15 January 2020 16:41 UTC](https://discourse.nodered.org/t/error-with-starting-node-red/20388/3 "2020-01-15T16:41:44Z")

</div>

ok, i will update asap and come back with an update, thanks!

---

<div class="post-metadata">

**Author:** ![Andres](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andres/32/112_2.png) [@Andres](https://discourse.nodered.org/u/Andres)\
**Post date:** [15 January 2020 19:49 UTC](https://discourse.nodered.org/t/error-with-starting-node-red/20388/4 "2020-01-15T19:49:15Z")

</div>

So, i updated everything, now im running node12 but now it throws this:

(node:11574) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 open listeners added to [Database]. Use emitter.setMaxListeners() to increase limit

and i still have problems connecting to it.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [15 January 2020 19:54 UTC](https://discourse.nodered.org/t/error-with-starting-node-red/20388/5 "2020-01-15T19:54:57Z")

</div>

That is probably just a warning. Which extra node(s) have you added that may have lots of connections open ? It looks like some database but which node is it ? Do you actually have more than 10 nodes in use ? The node may not be handling multiple connections sensibly.

---

<div class="post-metadata">

**Author:** ![Andres](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andres/32/112_2.png) [@Andres](https://discourse.nodered.org/u/Andres)\
**Post date:** [15 January 2020 20:00 UTC](https://discourse.nodered.org/t/error-with-starting-node-red/20388/6 "2020-01-15T20:00:11Z")

</div>

i have it with more than 10 nodes working for some time, and now that i have reinstalled everything (os included) it just wont work, perhaps i missed something in on the initial configs, perhaps the fact that i messed with the versions of the nodejs crashed it?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [15 January 2020 20:24 UTC](https://discourse.nodered.org/t/error-with-starting-node-red/20388/7 "2020-01-15T20:24:40Z")

</div>

Well that error is just a warning so won't crash it - or rather you haven't yet showed us an error message from a crash.  
After updating node.js you may need to go into your user directory (usually ~/.node-red) and run `npm rebuild` to rebuild any nodes that have native code in... then stop and restart Node-RED.

---

<div class="post-metadata">

**Author:** ![Andres](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andres/32/112_2.png) [@Andres](https://discourse.nodered.org/u/Andres)\
**Post date:** [16 January 2020 11:18 UTC](https://discourse.nodered.org/t/error-with-starting-node-red/20388/8 "2020-01-16T11:18:51Z")

</div>

i did the `npm rebuild` on the "~/.node-red" but now i can access from some pc's (i think there is progress here, before i couldn't access from any), for example if i try to connect from the phone i can't, but i can from the pc (not the same that is running NR), same for the ws.  
Now i'm running v1.0.3 of NR and used the guide provided from [the site](https://nodered.org/docs/faq/starting-node-red-on-boot) for CentOS install
