# Node red doesn't run

**URL:** <https://discourse.nodered.org/t/node-red-doesnt-run/23241>\
**Category:** General\
**Created:** [17 March 2020 18:18 UTC](https://discourse.nodered.org/t/node-red-doesnt-run/23241 "2020-03-17T18:18:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aabbas](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@aabbas](https://discourse.nodered.org/u/aabbas)\
**Post date:** [17 March 2020 18:18 UTC](https://discourse.nodered.org/t/node-red-doesnt-run/23241/1 "2020-03-17T18:18:04Z")

</div>

Hi  
Node red launch when I write sudo node-red-start but doesn't launch with node-red-start. I get this message. have an idea please.  
Thank you

nodered.service: Service RestartSec=100ms expired, scheduling restart.  
nodered.service: Scheduled restart job, restart counter is at 1.  
Stopped Node-RED graphical event wiring tool.  
Started Node-RED graphical event wiring tool.  
nodered.service: Changing to the requested working directory failed: No such file or directory  
nodered.service: Failed at step CHDIR spawning /usr/bin/env: No such file or directory  
nodered.service: Main process exited, code=exited, status=200/CHDIR  
nodered.service: Failed with result 'exit-code'.  
nodered.service: Service RestartSec=100ms expired, scheduling restart.  
nodered.service: Scheduled restart job, restart counter is at 2.  
Stopped Node-RED graphical event wiring tool.  
Started Node-RED graphical event wiring tool.  
nodered.service: Changing to the requested working directory failed: No such file or directory  
nodered.service: Failed at step CHDIR spawning /usr/bin/env: No such file or directory  
nodered.service: Main process exited, code=exited, status=200/CHDIR  
nodered.service: Failed with result 'exit-code'.  
nodered.service: Service RestartSec=100ms expired, scheduling restart.  
nodered.service: Scheduled restart job, restart counter is at 3.  
Stopped Node-RED graphical event wiring tool.  
Started Node-RED graphical event wiring tool.  
nodered.service: Changing to the requested working directory failed: No such file or directory  
nodered.service: Failed at step CHDIR spawning /usr/bin/env: No such file or directory  
nodered.service: Main process exited, code=exited, status=200/CHDIR  
nodered.service: Failed with result 'exit-code'.  
nodered.service: Service RestartSec=100ms expired, scheduling restart.  
nodered.service: Scheduled restart job, restart counter is at 4.  
Stopped Node-RED graphical event wiring tool.  
Started Node-RED graphical event wiring tool.  
nodered.service: Changing to the requested working directory failed: No such file or directory  
nodered.service: Failed at step CHDIR spawning /usr/bin/env: No such file or directory  
nodered.service: Main process exited, code=exited, status=200/CHDIR  
nodered.service: Failed with result 'exit-code'.  
nodered.service: Service RestartSec=100ms expired, scheduling restart.  
nodered.service: Scheduled restart job, restart counter is at 5.  
Stopped Node-RED graphical event wiring tool.  
nodered.service: Start request repeated too quickly.  
nodered.service: Failed with result 'exit-code'.  
Failed to start Node-RED graphical event wiring tool.

---

<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:** [17 March 2020 20:59 UTC](https://discourse.nodered.org/t/node-red-doesnt-run/23241/2 "2020-03-17T20:59:41Z")

</div>

Was this working and then stopped or is it a new install?  
If new then how did you install node-red? If it stopped working then what did you change?  
Copy/paste here the contents of `/lib/systemd/system/nodered.service`

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [17 March 2020 21:16 UTC](https://discourse.nodered.org/t/node-red-doesnt-run/23241/3 "2020-03-17T21:16:38Z")

</div>

> [@aabbas](#):
>
> sudo node-red-start

You have incorrectly installed it. You should not need `sudo` in order to run it.

Also, when posting command line or log output please enclose it in triple back-ticks to make it a lot more readable.

At this point, you will need to undo whatever you did to install it and then reinstall following the instructions in the documentation.

It would also help if you told us what platform and OS you are running on (e.g. Pi with Rasbian or whatever).

If you are installing on a Debian based OS (including Rasbian, Ubuntu, Debian, etc), please use Dave's Raspberry Pi script which you will also find via the documentaiton.

---

<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 May 2020 21:16 UTC](https://discourse.nodered.org/t/node-red-doesnt-run/23241/4 "2020-05-16T21:16:39Z")

</div>

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