# How to disable node

**URL:** <https://discourse.nodered.org/t/how-to-disable-node/18615>\
**Category:** General\
**Created:** [29 November 2019 15:56 UTC](https://discourse.nodered.org/t/how-to-disable-node/18615 "2019-11-29T15:56:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![iungo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iungo/32/8099_2.png) [@iungo](https://discourse.nodered.org/u/iungo)\
**Post date:** [29 November 2019 15:56 UTC](https://discourse.nodered.org/t/how-to-disable-node/18615/1 "2019-11-29T15:56:51Z")

</div>

I did something wrong in the Node-red editor so my whole program stuck.

Is it possible to disable some nodes before starting Node-red?

I think the problem is in the Delay node or Chart node.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [29 November 2019 15:59 UTC](https://discourse.nodered.org/t/how-to-disable-node/18615/2 "2019-11-29T15:59:27Z")

</div>

You can start Node-RED in "safe" mode, where it doesn't run your flows, but lets you editor them, but specifying the `--safe` argument when you start it.

How you do that will depend on how you normally run Node-RED.

---

<div class="post-metadata">

**Author:** ![iungo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iungo/32/8099_2.png) [@iungo](https://discourse.nodered.org/u/iungo)\
**Post date:** [29 November 2019 16:04 UTC](https://discourse.nodered.org/t/how-to-disable-node/18615/3 "2019-11-29T16:04:55Z")

</div>

As I understand I need to start it via the next command: node-red-start --safe ?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [29 November 2019 16:07 UTC](https://discourse.nodered.org/t/how-to-disable-node/18615/4 "2019-11-29T16:07:17Z")

</div>

That won't work because the `node-red-start` command is actually starting the service which runs node-red... so the `--safe` argument doesn't get through to the underlying node-red application.

Instead you can do:

1. first stop the service by running `node-red-stop`

2. run Node-RED manually with: `node-red --safe`

It should start and you should be able to access the editor. Make some changes then hit deploy - at that point Node-RED will leave safe-mode and start running your deployed flows.

---

<div class="post-metadata">

**Author:** ![iungo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iungo/32/8099_2.png) [@iungo](https://discourse.nodered.org/u/iungo)\
**Post date:** [29 November 2019 16:09 UTC](https://discourse.nodered.org/t/how-to-disable-node/18615/5 "2019-11-29T16:09:40Z")

</div>

Thank you so much! I resolved the problem!

It was 10ms delayed loop thru the function node.
