# FAILURE, anyone helps?

**URL:** <https://discourse.nodered.org/t/failure-anyone-helps/8265>\
**Category:** General\
**Created:** [22 February 2019 09:33 UTC](https://discourse.nodered.org/t/failure-anyone-helps/8265 "2019-02-22T09:33:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjrivasescola](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@jjrivasescola](https://discourse.nodered.org/u/jjrivasescola)\
**Post date:** [22 February 2019 09:33 UTC](https://discourse.nodered.org/t/failure-anyone-helps/8265/1 "2019-02-22T09:33:13Z")

</div>

Dear all,

I have the following problem with node-red running on my raspberry Pi. I show you the text that appear on node-red terminal when I start.

_Starting as a systemd service._  
_Started Node-RED graphical event wiring tool._  
_internal/modules/cjs/loader.js:711_  
_nodered.service: Main process exited, code=exited, status=1/FAILURE_  
_nodered.service: Unit entered failed state._  
_nodered.service: Failed with result 'exit-code'._  
_nodered.service: Service hold-off time over, scheduling restart._  
_Stopped Node-RED graphical event wiring tool._  
_Started Node-RED graphical event wiring tool._  
_internal/modules/cjs/loader.js:711_  
_nodered.service: Main process exited, code=exited, status=1/FAILURE_  
_nodered.service: Unit entered failed state._  
_nodered.service: Failed with result 'exit-code'._  
_nodered.service: Service hold-off time over, scheduling restart._  
_Stopped Node-RED graphical event wiring tool._  
_Started Node-RED graphical event wiring tool._  
_internal/modules/cjs/loader.js:711_  
_nodered.service: Main process exited, code=exited, status=1/FAILURE_  
_nodered.service: Unit entered failed state._  
_nodered.service: Failed with result 'exit-code'._  
_nodered.service: Service hold-off time over, scheduling restart._  
_Stopped Node-RED graphical event wiring tool._  
_Started Node-RED graphical event wiring tool._  
_internal/modules/cjs/loader.js:711_  
_nodered.service: Main process exited, code=exited, status=1/FAILURE_  
_nodered.service: Unit entered failed state._  
_nodered.service: Failed with result 'exit-code'._  
_nodered.service: Service hold-off time over, scheduling restart._  
_Stopped Node-RED graphical event wiring tool._  
_Started Node-RED graphical event wiring tool._  
_internal/modules/cjs/loader.js:711_  
_nodered.service: Main process exited, code=exited, status=1/FAILURE_  
_nodered.service: Unit entered failed state._  
_nodered.service: Failed with result 'exit-code'._  
_nodered.service: Service hold-off time over, scheduling restart._  
_Stopped Node-RED graphical event wiring tool._  
_nodered.service: Start request repeated too quickly._  
_Failed to start Node-RED graphical event wiring tool._  
_nodered.service: Unit entered failed state._  
_nodered.service: Failed with result 'exit-code'._

Also while I try to conect to [http://192.168.43.31:1880](http://192.168.43.31:1880) on my computer appear the following error:

 ![55](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/e/e75c8df65f8b995b4ebbfbc3766852991bebabef.png)

Does anyone know how to solve it without losing the flows?

**Thanks in advance,**  
**Juanjo**

---

<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:** [22 February 2019 09:47 UTC](https://discourse.nodered.org/t/failure-anyone-helps/8265/2 "2019-02-22T09:47:12Z")

</div>

In a terminal run

```bash
node-red-stop
node-red-start

```

If the output does not help then post it here, starting from the Welcome to node-red message.

---

<div class="post-metadata">

**Author:** ![jjrivasescola](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@jjrivasescola](https://discourse.nodered.org/u/jjrivasescola)\
**Post date:** [25 February 2019 08:53 UTC](https://discourse.nodered.org/t/failure-anyone-helps/8265/3 "2019-02-25T08:53:29Z")

</div>

**HERE IT IS THE COMPLETE OUTPUT:**

_Start Node-RED_

_Once Node-RED has started, point a browser at [http://192.168.43.31:1880](http://192.168.43.31:1880/)_  
_On Pi Node-RED works better with the Firefox or Chrome browser_  
\_ \_  
_Use node-red-stop to stop Node-RED_  
_Use node-red-start to start Node-RED again_  
_Use node-red-log to view the recent log output_  
_Use sudo systemctl enable nodered.service to autostart Node-RED at every boot_  
_Use sudo systemctl disable nodered.service to disable autostart on boot_  
_To find more nodes and example flows - go to [http://flows.nodered.org](http://flows.nodered.org/)_  
\_ \_  
_Starting as a systemd service._  
_Started Node-RED graphical event wiring tool._  
_internal/modules/cjs/loader.js:711_  
_nodered.service: Main process exited, code=exited, status=1/FAILURE_  
_nodered.service: Unit entered failed state._  
_nodered.service: Failed with result 'exit-code'._  
_nodered.service: Service hold-off time over, scheduling restart._  
_Stopped Node-RED graphical event wiring tool._  
_Started Node-RED graphical event wiring tool._  
_internal/modules/cjs/loader.js:711_  
\_ throw err;\_  
_nodered.service: Main process exited, code=exited, status=1/FAILURE_  
_nodered.service: Unit entered failed state._  
_nodered.service: Failed with result 'exit-code'._  
_nodered.service: Service hold-off time over, scheduling restart._  
_Stopped Node-RED graphical event wiring tool._  
_Started Node-RED graphical event wiring tool._  
_internal/modules/cjs/loader.js:711_  
_nodered.service: Main process exited, code=exited, status=1/FAILURE_  
_nodered.service: Unit entered failed state._  
_nodered.service: Failed with result 'exit-code'._  
_nodered.service: Service hold-off time over, scheduling restart._  
_Stopped Node-RED graphical event wiring tool._  
_Started Node-RED graphical event wiring tool._  
_internal/modules/cjs/loader.js:711_  
_nodered.service: Main process exited, code=exited, status=1/FAILURE_  
_nodered.service: Unit entered failed state._  
_nodered.service: Failed with result 'exit-code'._  
_nodered.service: Service hold-off time over, scheduling restart._  
_Stopped Node-RED graphical event wiring tool._  
_Started Node-RED graphical event wiring tool._  
_internal/modules/cjs/loader.js:711_  
_nodered.service: Main process exited, code=exited, status=1/FAILURE_  
_nodered.service: Unit entered failed state._  
_nodered.service: Failed with result 'exit-code'._  
_nodered.service: Service hold-off time over, scheduling restart._  
_Stopped Node-RED graphical event wiring tool._  
_nodered.service: Start request repeated too quickly._  
_Failed to start Node-RED graphical event wiring tool._  
_nodered.service: Unit entered failed state._  
_nodered.service: Failed with result 'exit-code'._

---

<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:** [25 February 2019 09:27 UTC](https://discourse.nodered.org/t/failure-anyone-helps/8265/4 "2019-02-25T09:27:16Z")

</div>

Are you sure that is the output from the command `node-red-start` with dashes between each word?

How did you install node-red?  
What do the following commands show?

```bash
node -v
npm -v

```

---

<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:** [25 February 2019 09:46 UTC](https://discourse.nodered.org/t/failure-anyone-helps/8265/5 "2019-02-25T09:46:54Z")

</div>

rather than `node-red-stop && node-red-start` please report what

```auto
node-red-stop
node-red

```

reports (as node-red-start tries to restart the service - whereas node-red just runs the app in the foreground and will give us the real error.

---

<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:** [25 February 2019 09:48 UTC](https://discourse.nodered.org/t/failure-anyone-helps/8265/6 "2019-02-25T09:48:57Z")

</div>

> [@dceejay](#):
>
> node-red-stop  
> node-red

Do you have to be in the `.node-red` folder to do that?

**[Edit]** Answering my own question I see the answer is normally no, it defaults to using `.node-red` in the current users home directory.
