Node-red crashes and quits when using ui-media

  1. what device are you running NR on?
  2. what os?
  3. stop NR and then start it again and copy the output from teh defining to the error and paste t to a reply,

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```)

``` 
   code goes here 
```

You can edit and correct your post by clicking the pencil :pencil2: icon.

See this post for more details - How to share code or flow json