# Hola buenas ,soy nuevo en node red alguien sabe , porque me sale este tipo de error en mi dashboard cuando le doy deploy, la imagen svg de mi scada no me sale en mi dashboard ,por favor alquien me ayuda ,

**URL:** https://discourse.nodered.org/t/hola-buenas-soy-nuevo-en-node-red-alguien-sabe-porque-me-sale-este-tipo-de-error-en-mi-dashboard-cuando-le-doy-deploy-la-imagen-svg-de-mi-scada-no-me-sale-en-mi-dashboard-por-favor-alquien-me-ayuda/70346
**Category:** Dashboard
**Created:** [9 November 2022 19:04 UTC](https://discourse.nodered.org/t/hola-buenas-soy-nuevo-en-node-red-alguien-sabe-porque-me-sale-este-tipo-de-error-en-mi-dashboard-cuando-le-doy-deploy-la-imagen-svg-de-mi-scada-no-me-sale-en-mi-dashboard-por-favor-alquien-me-ayuda/70346 "2022-11-09T19:04:53Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![jhoningMTN](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jhoningmtn/32/69988_2.png) [@jhoningMTN](https://discourse.nodered.org/u/jhoningMTN)
#### Post date: [9 November 2022 19:04 UTC](https://discourse.nodered.org/t/hola-buenas-soy-nuevo-en-node-red-alguien-sabe-porque-me-sale-este-tipo-de-error-en-mi-dashboard-cuando-le-doy-deploy-la-imagen-svg-de-mi-scada-no-me-sale-en-mi-dashboard-por-favor-alquien-me-ayuda/70346/1 "2022-11-09T19:04:53Z")

</div>

Hello good, I'm new to node red, does anyone know, why I get this type of error in my dashboard when I give it deploy, the svg image of my scada does not appear in my dashboard, please someone help me,

 ![Captura de pantalla 2022-11-10 024704](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/7/07aebcec150f9394cb53dc3ebbc6aec90386c1c5.png)  
 ![Captura de pantalla 2022-11-10 024441](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/1/a112c6e5fb5c132c8192b751ac5ef8b76108b654.png)  
 ![Captura de pantalla 2022-11-10 025510](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/4/148831b00e03babbd7e87ca1a8ebacae6341244e.png)  
[flows .json](https://discourse.nodered.org/uploads/short-url/fwpyOHGyiNetj38BinKaonHJMcd.json) (74.5 KB)

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [9 November 2022 19:53 UTC](https://discourse.nodered.org/t/hola-buenas-soy-nuevo-en-node-red-alguien-sabe-porque-me-sale-este-tipo-de-error-en-mi-dashboard-cuando-le-doy-deploy-la-imagen-svg-de-mi-scada-no-me-sale-en-mi-dashboard-por-favor-alquien-me-ayuda/70346/2 "2022-11-09T19:53:00Z")

</div>

I'm not sure if it is only me, but I am not seeing the pictures.

All I see is `Uploading: Capture de pantalla 2022-11-10.....png(1)`  
and so on.

---

<div class="post-metadata">

### Author: ![jhoningMTN](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jhoningmtn/32/69988_2.png) [@jhoningMTN](https://discourse.nodered.org/u/jhoningMTN)
#### Post date: [9 November 2022 22:00 UTC](https://discourse.nodered.org/t/hola-buenas-soy-nuevo-en-node-red-alguien-sabe-porque-me-sale-este-tipo-de-error-en-mi-dashboard-cuando-le-doy-deploy-la-imagen-svg-de-mi-scada-no-me-sale-en-mi-dashboard-por-favor-alquien-me-ayuda/70346/3 "2022-11-09T22:00:02Z")

</div>

ahi estan las fotos amigo , ese error tengo con node red en dashboard

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [10 November 2022 03:21 UTC](https://discourse.nodered.org/t/hola-buenas-soy-nuevo-en-node-red-alguien-sabe-porque-me-sale-este-tipo-de-error-en-mi-dashboard-cuando-le-doy-deploy-la-imagen-svg-de-mi-scada-no-me-sale-en-mi-dashboard-por-favor-alquien-me-ayuda/70346/4 "2022-11-10T03:21:54Z")

</div>

Oh, something has changed since I posted my reply.

Originally the pictures weren't there. Now they are.  
Good they are there now.

The last picture. Not very helpful, sorry.

You need to `copy/paste` that here so it can be _really_ seen.

## How to do that:

Select all the text. (I hope you know how to do that)  
To paste it here **correctly** , look at the top of the area where you are entering the text.  
There are _buttons_: a talk bubble, a **BOLD** indicator, an _ITALIC_ indicator, a chain/link indicator, a QUOTE indicator then there is the CODE indicator: `</>`  
Press it.  
Press `<enter>`  
Paste the text/code/error  
Press `<enter>`  
Press that button again.

You should see something like this:

```auto
This is what you just pasted
line 2 of the text
line 3
and so on

```

All being good, you can then post the reply.

Ok, you did post the flow.  
Problem: `ui_svg_graphics` node....  
I can't find it in the `library` online.

Could you give the full path/name to that node?  
(Though if it is svg, it will most likely be above my skill set)

---

<div class="post-metadata">

### Author: ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)
#### Post date: [10 November 2022 07:41 UTC](https://discourse.nodered.org/t/hola-buenas-soy-nuevo-en-node-red-alguien-sabe-porque-me-sale-este-tipo-de-error-en-mi-dashboard-cuando-le-doy-deploy-la-imagen-svg-de-mi-scada-no-me-sale-en-mi-dashboard-por-favor-alquien-me-ayuda/70346/5 "2022-11-10T07:41:15Z")

</div>

@Trying_to_learn  
I think the node he is using is this one...

> **[node-red-contrib-ui-svg](https://flows.nodered.org/node/node-red-contrib-ui-svg)**
>
> A Node-RED widget node to show interactive SVG (vector graphics) in the dashboard

@jhoningMTN  
Have you tried any of the examples that come with the SVG node to see if they work in your setup?  
 ![svg-exgs](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/8/18021741e6d86cdf1ceda7de8aa4b199444b6002.png)

---

<div class="post-metadata">

### Author: ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)
#### Post date: [10 November 2022 12:02 UTC](https://discourse.nodered.org/t/hola-buenas-soy-nuevo-en-node-red-alguien-sabe-porque-me-sale-este-tipo-de-error-en-mi-dashboard-cuando-le-doy-deploy-la-imagen-svg-de-mi-scada-no-me-sale-en-mi-dashboard-por-favor-alquien-me-ayuda/70346/6 "2022-11-10T12:02:54Z")

</div>

@jhoningMTN,

From your screenshot it appears to me that your error is caused [here](https://github.com/bartbutenaers/node-red-contrib-ui-svg/blob/master/svg_graphics.js#L273) in my code:

```auto
if(ui === undefined) {
   ui = RED.require("node-red-dashboard")(RED);
}

```

So it cannot find your dashboard. I remember something about this in the past. Could it be that you have installed my svg node, and you have installed the dashboard afterwards? If so it might be that restarting your node-red instance might help, or clearing your browser cache.

If anybody else remembers what could cause this, please share it here.  
My lunch break is over...

---

<div class="post-metadata">

### Author: ![jhoningMTN](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jhoningmtn/32/69988_2.png) [@jhoningMTN](https://discourse.nodered.org/u/jhoningMTN)
#### Post date: [10 November 2022 14:18 UTC](https://discourse.nodered.org/t/hola-buenas-soy-nuevo-en-node-red-alguien-sabe-porque-me-sale-este-tipo-de-error-en-mi-dashboard-cuando-le-doy-deploy-la-imagen-svg-de-mi-scada-no-me-sale-en-mi-dashboard-por-favor-alquien-me-ayuda/70346/7 "2022-11-10T14:18:11Z")

</div>

![Captura de pantalla 2022-11-10 221423](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/c/0c48144ef449cf89d1edd57b9b243001a2203add.png)

> [@dynamicdave](#):
>
> @Trying_to_learn  
> I think the node he is using is this one...  
> [https://flows.nodered.org/node/node-red-contrib-ui-svg](https://flows.nodered.org/node/node-red-contrib-ui-svg)
> 
> @jhoningMTN  
> Have you tried any of the examples that come with the SVG node to see if they work in your setup?  
> ![svg-exgs](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/8/18021741e6d86cdf1ceda7de8aa4b199444b6002.png)

probe con un ejemplo y es el mismo error amigo

---

<div class="post-metadata">

### Author: ![jhoningMTN](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jhoningmtn/32/69988_2.png) [@jhoningMTN](https://discourse.nodered.org/u/jhoningMTN)
#### Post date: [10 November 2022 14:42 UTC](https://discourse.nodered.org/t/hola-buenas-soy-nuevo-en-node-red-alguien-sabe-porque-me-sale-este-tipo-de-error-en-mi-dashboard-cuando-le-doy-deploy-la-imagen-svg-de-mi-scada-no-me-sale-en-mi-dashboard-por-favor-alquien-me-ayuda/70346/8 "2022-11-10T14:42:18Z")

</div>

> [@BartButenaers](#):
>
> @jhoningMTN,
> 
> From your screenshot it appears to me that your error is caused [here](https://github.com/bartbutenaers/node-red-contrib-ui-svg/blob/master/svg_graphics.js#L273) in my code:
> 
> ```auto
> if(ui === undefined) {
> ui = RED.require("node-red-dashboard")(RED);
> }
> 
> ```
> 
> So it cannot find your dashboard. I remember something about this in the past. Could it be that you have installed my svg node, and you have installed the dashboard afterwards? If so it might be that restarting your node-red instance might help, or clearing your browser cache.
> 
> If anybody else remembers what could cause this, please share it here.  
> My lunch break is over...

de igual manera borre el cache de mi navegador ,y sigue el mismo error amigo

 ![Captura de pantalla 2022-11-10 223618](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/c/5c3ab3b1e3a0670464c1e40e8399d3ecf1ad6c07.png)

---

<div class="post-metadata">

### Author: ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)
#### Post date: [10 November 2022 19:23 UTC](https://discourse.nodered.org/t/hola-buenas-soy-nuevo-en-node-red-alguien-sabe-porque-me-sale-este-tipo-de-error-en-mi-dashboard-cuando-le-doy-deploy-la-imagen-svg-de-mi-scada-no-me-sale-en-mi-dashboard-por-favor-alquien-me-ayuda/70346/9 "2022-11-10T19:23:53Z")

</div>

> [@BartButenaers](#):
>

Hi @jhoningMTN,  
had a similar question in the past from somebody else, but cannot find it anymore.

I don't have much knowledge about this, so I can only give you some high level tips/questions:

1. You still haven't answered my question above: Could it be that you have installed my svg node, and you have installed the dashboard afterwards?
2. Have you already tried to restart Node-RED?
3. Do you see any errors in your browser's console log?
4. Can you use other ui nodes succesfully? I mean other ui nodes that you can install extra via the palette menu (like ui-led, or ui-multistate-switch, or...).
5. Are you using the official node-RED dashboard (and not one of the other dashboards like mdashboard)?
6. Can you install the dashboard again (via command line) and see if that helps?

If that doesn't help, then I don't think I can offer much other support anymore. I am running out of creativity. Perhaps @dceejay knows some other things you can try...

BTW I am dutch speaking, but I try do my best to support everybody in English. Could you please translate your feedback to English, to avoid that me and all the other community members have to do it... Thanks!

---

<div class="post-metadata">

### Author: ![jhoningMTN](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jhoningmtn/32/69988_2.png) [@jhoningMTN](https://discourse.nodered.org/u/jhoningMTN)
#### Post date: [10 November 2022 21:42 UTC](https://discourse.nodered.org/t/hola-buenas-soy-nuevo-en-node-red-alguien-sabe-porque-me-sale-este-tipo-de-error-en-mi-dashboard-cuando-le-doy-deploy-la-imagen-svg-de-mi-scada-no-me-sale-en-mi-dashboard-por-favor-alquien-me-ayuda/70346/10 "2022-11-10T21:42:25Z")

</div>

Hola Bart Butenaers ,gracias x tus ayudas ,pero me funciono la pregunta de alto nivel opcion1.  
Muchas gracias amigo ,eres un genio!!
