# Trouble compiling node-red program in IOT2040

**URL:** <https://discourse.nodered.org/t/trouble-compiling-node-red-program-in-iot2040/79628>\
**Category:** Industrial\
**Created:** [7 July 2023 08:21 UTC](https://discourse.nodered.org/t/trouble-compiling-node-red-program-in-iot2040/79628 "2023-07-07T08:21:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HMansouri](https://avatars.discourse-cdn.com/v4/letter/h/e480ec/32.png) [@HMansouri](https://discourse.nodered.org/u/HMansouri)\
**Post date:** [7 July 2023 08:21 UTC](https://discourse.nodered.org/t/trouble-compiling-node-red-program-in-iot2040/79628/1 "2023-07-07T08:21:03Z")

</div>

hi,  
I had a project for the digitization of data so, I install node-red in IOT2040.  
I deployed my program in the flow, then I can't open the node-red dashboard  
More details on the capture

 ![Capture67](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/f/8f55a0ee6f93c1d4ac1a9ec110416f4b827e190a.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [7 July 2023 09:30 UTC](https://discourse.nodered.org/t/trouble-compiling-node-red-program-in-iot2040/79628/2 "2023-07-07T09:30:23Z")

</div>

When you say you cannot get at the dashboard do you mean that you cannot get into the editor to see the flows?

The high CPU suggests that node-red is stuck in a loop. Maybe in a Function node or something like an MQTT loop or other loop in your flows. If you stop node red then start it again using the command  
`node-red --safe`  
then it will start the editor without starting the flows. Then you should be able to disable sections of your flow and Deploy (which will start the flows) so you can work out where the problem is.

Don't forget to stop node-red before you start it again.

---

<div class="post-metadata">

**Author:** ![HMansouri](https://avatars.discourse-cdn.com/v4/letter/h/e480ec/32.png) [@HMansouri](https://discourse.nodered.org/u/HMansouri)\
**Post date:** [10 July 2023 07:46 UTC](https://discourse.nodered.org/t/trouble-compiling-node-red-program-in-iot2040/79628/3 "2023-07-10T07:46:26Z")

</div>

Hi  
Thank you for responce  
How can I use node-red safe in iot2040

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [10 July 2023 08:22 UTC](https://discourse.nodered.org/t/trouble-compiling-node-red-program-in-iot2040/79628/4 "2023-07-10T08:22:18Z")

</div>

No idea, sorry.

---

<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:** [10 July 2023 12:27 UTC](https://discourse.nodered.org/t/trouble-compiling-node-red-program-in-iot2040/79628/5 "2023-07-10T12:27:30Z")

</div>

Search/ask on the Siemens forum.

Alternatively, replace the device with a Raspberry PI (or similar SBC) and run latest and greatest without the hassle.

---

<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:** [8 September 2023 12:27 UTC](https://discourse.nodered.org/t/trouble-compiling-node-red-program-in-iot2040/79628/6 "2023-09-08T12:27:37Z")

</div>

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