# Node-red starting error

**URL:** <https://discourse.nodered.org/t/node-red-starting-error/65474>\
**Category:** General\
**Created:** [22 July 2022 09:52 UTC](https://discourse.nodered.org/t/node-red-starting-error/65474 "2022-07-22T09:52:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jodos2](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@Jodos2](https://discourse.nodered.org/u/Jodos2)\
**Post date:** [22 July 2022 09:52 UTC](https://discourse.nodered.org/t/node-red-starting-error/65474/1 "2022-07-22T09:52:08Z")

</div>

Hello all,  
I'm using a siemens IOT2040 which has Yocto 3.1, CIP 4.4 kernel, Node RED 1.2.1 and security-fixed Node.js 8.17... example\_image\_v3.1.1.  
I'm trying to run node-red which is suppossed to come preinstalled already, but when writing **node /usr/lib/node\_modules/node-red/red &** to start it, it just thows error (see picture).

IS there a reason this happens?maybe I need to install anything else?

Thanks

![nodered](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/c/0c4cb91f367009f795a55e10ef6c753e92edaaba.png)

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [22 July 2022 10:23 UTC](https://discourse.nodered.org/t/node-red-starting-error/65474/2 "2022-07-22T10:23:19Z")

</div>

Sorry this isn't going to help, but I see you are running it as `root`....

I don't think that is a good idea.

---

<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:** [22 July 2022 10:31 UTC](https://discourse.nodered.org/t/node-red-starting-error/65474/3 "2022-07-22T10:31:23Z")

</div>

That is the way they (Siemens) have set up the iot device - not something the user should change.

---

<div class="post-metadata">

**Author:** ![Jodos2](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@Jodos2](https://discourse.nodered.org/u/Jodos2)\
**Post date:** [22 July 2022 11:48 UTC](https://discourse.nodered.org/t/node-red-starting-error/65474/4 "2022-07-22T11:48:32Z")

</div>

OK, even with that, I can start node red from browser, so no problem...moderator can close this entry.

Thanks.

---

<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:** [5 August 2022 11:48 UTC](https://discourse.nodered.org/t/node-red-starting-error/65474/5 "2022-08-05T11:48:49Z")

</div>

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