# "Error: Cannot find module 'node-red-dashboard"

**URL:** https://discourse.nodered.org/t/error-cannot-find-module-node-red-dashboard/29782
**Category:** Dashboard
**Created:** [9 July 2020 12:45 UTC](https://discourse.nodered.org/t/error-cannot-find-module-node-red-dashboard/29782 "2020-07-09T12:45:07Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![IvyMike](https://avatars.discourse-cdn.com/v4/letter/i/a5b964/32.png) [@IvyMike](https://discourse.nodered.org/u/IvyMike)
#### Post date: [9 July 2020 12:45 UTC](https://discourse.nodered.org/t/error-cannot-find-module-node-red-dashboard/29782/1 "2020-07-09T12:45:07Z")

</div>

Hello im trying to upload an image, and it tells me this "Error: Cannot find module 'node-red-dashboard'"  
i have created a Category and upload the image that i want, can somebody help me out

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [9 July 2020 14:08 UTC](https://discourse.nodered.org/t/error-cannot-find-module-node-red-dashboard/29782/2 "2020-07-09T14:08:43Z")

</div>

Your post leaves a lot unexplained

- where are you trying to upload an image from/to
- what do you mean you created a category?
- have you installed 'node-red-dashboard'?

---

<div class="post-metadata">

### Author: ![IvyMike](https://avatars.discourse-cdn.com/v4/letter/i/a5b964/32.png) [@IvyMike](https://discourse.nodered.org/u/IvyMike)
#### Post date: [9 July 2020 14:28 UTC](https://discourse.nodered.org/t/error-cannot-find-module-node-red-dashboard/29782/3 "2020-07-09T14:28:09Z")

</div>

- The image is being uploaded from my computer

- The node "media" request to create a category for the uncoming image.  

\*Yes i have already a Dashboard

 ![chrome_QkL9pdwO7g](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/b/ab25e6ed43838af758856b0c3da7f6d795f78989.png)

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [9 July 2020 15:38 UTC](https://discourse.nodered.org/t/error-cannot-find-module-node-red-dashboard/29782/4 "2020-07-09T15:38:19Z")

</div>

What node are you using to do the upload? node-red-contrib-?????

Can you provide your flow ([read this first](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506))

---

<div class="post-metadata">

### Author: ![Jop](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@Jop](https://discourse.nodered.org/u/Jop)
#### Post date: [18 July 2020 21:07 UTC](https://discourse.nodered.org/t/error-cannot-find-module-node-red-dashboard/29782/5 "2020-07-18T21:07:27Z")

</div>

I have the same issue with a video node that is not shown.  
I think the contrib is node-red-contrib-ui-media. Acts as a media player used to show pictures, video an audio. [https://flows.nodered.org/node/node-red-contrib-ui-media](https://flows.nodered.org/node/node-red-contrib-ui-media) (by gfcittolin on github).

The node load the video, and even you can preview it, **but nothing is shown on dashboard**. It seems that physical space is preserved but video does not appear.

The same on a Mac or Windows runs ok.  
Tested with:  
node-red 1.1.2  
node-red-contrib-ui-media v1.2.0  
Android 8.1.0

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [18 July 2020 21:34 UTC](https://discourse.nodered.org/t/error-cannot-find-module-node-red-dashboard/29782/6 "2020-07-18T21:34:50Z")

</div>

have you tried it with any other browser?

---

<div class="post-metadata">

### Author: ![Jop](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@Jop](https://discourse.nodered.org/u/Jop)
#### Post date: [19 July 2020 13:22 UTC](https://discourse.nodered.org/t/error-cannot-find-module-node-red-dashboard/29782/7 "2020-07-19T13:22:09Z")

</div>

I solved it. Not sure which of the things I did:

First one:  
Change credential option to false in settings.js as I read something about it.  
Second one:  
-Stop node-red  
-Start node-red.  
-Restart device

Hope this helps

---

<div class="post-metadata">

### Author: ![lizzardguki](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lizzardguki/32/103637_2.png) [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)
#### Post date: [4 August 2020 18:31 UTC](https://discourse.nodered.org/t/error-cannot-find-module-node-red-dashboard/29782/8 "2020-08-04T18:31:24Z")

</div>

I just have the same issue but with node-red-node-ui-table, i get the following console error when deploying:

```auto
Error: Cannot find module 'node-red-dashboard'
    at Object.requireModule [as require] (/usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/util.js:48:19)
    at new TableNode (/home/nemanja/.node-red/node_modules/node-red-node-ui-table/node.js:77:30)
    at Object.createNode (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/util.js:493:31)
    at Flow.start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/Flow.js:193:48)
    at start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/index.js:345:33)
    at /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/index.js:212:21
    at processTicksAndRejections (internal/process/task_queues.js:93:5) {
  code: 'MODULE_NOT_FOUND'
}

```

And it seems like a quick node-red restart fixed the job 😇

---

<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: [3 September 2020 18:31 UTC](https://discourse.nodered.org/t/error-cannot-find-module-node-red-dashboard/29782/9 "2020-09-03T18:31:28Z")

</div>

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