# Can't open node-red

**URL:** <https://discourse.nodered.org/t/cant-open-node-red/60014>\
**Category:** General\
**Created:** [18 March 2022 04:12 UTC](https://discourse.nodered.org/t/cant-open-node-red/60014 "2022-03-18T04:12:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shidqinaf](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shidqinaf/32/53367_2.png) [@shidqinaf](https://discourse.nodered.org/u/shidqinaf)\
**Post date:** [18 March 2022 04:12 UTC](https://discourse.nodered.org/t/cant-open-node-red/60014/1 "2022-03-18T04:12:47Z")

</div>

Hello,  
I want to open node red locally, but every time I start it closes itself. Anyone can help me to fix this?

 ![Screenshot 2022-03-18 111119](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/5/15d11480b3ccbdf4f719d7861653cb0e53a03067.jpeg)

---

<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:** [18 March 2022 08:17 UTC](https://discourse.nodered.org/t/cant-open-node-red/60014/2 "2022-03-18T08:17:42Z")

</div>

Start node-red in safe mode

```auto
node-red --safe

```

---

<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:** [18 March 2022 09:55 UTC](https://discourse.nodered.org/t/cant-open-node-red/60014/3 "2022-03-18T09:55:50Z")

</div>

In particular you can see from the errors that the problem lies in node-red-contrib-image-tools. So once you start node with --safe you should be able to correct whatever is mis-configured

I can see that you are running node-red as root, which is generally a bad idea unless you have no choice. What hardware and OS are you running on? If you need further help then please post the complete startup log, not just the end as you have done above. Also please copy/paste the text rather than screenshot. Use the `</>` button at the top of the forum entry window when doing that.

---

<div class="post-metadata">

**Author:** ![Nasro](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nasro/32/43232_2.png) [@Nasro](https://discourse.nodered.org/u/Nasro)\
**Post date:** [11 April 2022 15:29 UTC](https://discourse.nodered.org/t/cant-open-node-red/60014/4 "2022-04-11T15:29:25Z")

</div>

Hi I have simular error what is the problem ?

```auto
C:\Users\nacereddine\AppData\Roaming\npm>node-red
node:internal/modules/cjs/loader:943
  throw err;
  ^

Error: Cannot find module 'C:\Users\nacereddine\AppData\Roaming\npm\node_modules
\node-red\red.js'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:940:15
)
    at Function.Module._load (node:internal/modules/cjs/loader:773:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_ma
in:76:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

```

---

<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:** [10 June 2022 15:29 UTC](https://discourse.nodered.org/t/cant-open-node-red/60014/5 "2022-06-10T15:29:56Z")

</div>

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