# Uibuilder & Node RED 2.0.2

**URL:** https://discourse.nodered.org/t/uibuilder-node-red-2-0-2/50329
**Category:** General
**Tags:** uibuilder
**Created:** [28 August 2021 14:30 UTC](https://discourse.nodered.org/t/uibuilder-node-red-2-0-2/50329 "2021-08-28T14:30:22Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![wuppergit](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wuppergit/32/7908_2.png) [@wuppergit](https://discourse.nodered.org/u/wuppergit)
#### Post date: [28 August 2021 14:30 UTC](https://discourse.nodered.org/t/uibuilder-node-red-2-0-2/50329/1 "2021-08-28T14:30:22Z")

</div>

Hi out there,  
while uibuilder 3.1.3 is running under Node RED 1.2.6 (node.js 12.20.0) like a charm the output usinge recent Versions (uibuilder 4.1.1, Node RED 2.0.5, node.js 12.20.0) is quite "corrupt".  
Flow:

```auto
[{"id":"88c9944b.653ce8","type":"uibuilder","z":"348a7f3d.de0d5","name":"","topic":"","url":"uibuilder","fwdInMessages":false,"allowScripts":false,"allowStyles":false,"copyIndex":true,"templateFolder":"blank","showfolder":false,"useSecurity":false,"sessionLength":432000,"tokenAutoExtend":false,"x":580,"y":820,"wires":[["1455e200.92058e"],["17a514c2.6821ab"]]},{"id":"634f2dd1.da6784","type":"inject","z":"348a7f3d.de0d5","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":380,"y":820,"wires":[["88c9944b.653ce8"]]},{"id":"1455e200.92058e","type":"debug","z":"348a7f3d.de0d5","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":770,"y":800,"wires":[]},{"id":"17a514c2.6821ab","type":"debug","z":"348a7f3d.de0d5","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":770,"y":840,"wires":[]}]

```

The - not expected - result is

 ![Unbenannt](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/a/5ac1f85e4702405968ba5331ce07e243ad410825.png)

Any idea?  
Thank you so much

---

<div class="post-metadata">

### Author: ![Gunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gunner/32/43582_2.png) [@Gunner](https://discourse.nodered.org/u/Gunner)
#### Post date: [28 August 2021 19:21 UTC](https://discourse.nodered.org/t/uibuilder-node-red-2-0-2/50329/2 "2021-08-28T19:21:16Z")

</div>

> [@wuppergit](#):
>
> Node RED 2.0.5, node.js 12.20.0

I seem to recall reading in many topics now that Node-Red 2.0.x should be using node.js 14+ Perhaps that is contributing to your issue?

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [28 August 2021 20:33 UTC](https://discourse.nodered.org/t/uibuilder-node-red-2-0-2/50329/3 "2021-08-28T20:33:57Z")

</div>

Well it looks like you've ended up with the new "blank template" which is, as the name says ... blank 😀

v4 made some very significant changes to template handling so that we could move uibuilder forward more rapidly.

> **[Release Major release · TotallyInformation/node-red-contrib-uibuilder](https://github.com/TotallyInformation/node-red-contrib-uibuilder/releases/tag/v4.0.0)**
>
> Major Changes
> 
> 
> Node.js v12+ is the minimum supported environment for Node-RED.
> 
> 
> Only "modern" browsers are now supported for both the Editor and the uibuilderfe front-end library as ES6 (ECMA2015...

To have the same template as previous versions, change the template:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/5/0540da5f901d5f52489daf7e6abdf719d0810c7f.png)

Just note the warnings that tell you all of your code is going to be overwritten so make a backup if you've changed anything. BTW, you still get another chance to back out even if you press the load button.

V4+ now defaults to the blank template.

As a side note, if you ever think that uibuilder's front-end is doing something weird, add `uibuilder.debug(true)` immediately after your `uibuilder.start` and reload the page, Now, open the browser dev tools and have a look at the console. You will be getting lots of output showing you exactly what is going on.

> [@Gunner](#):
>
> I seem to recall reading in many topics now that Node-Red 2.0.x should be using node.js 14+ Perhaps that is contributing to your issue?

No, v12 is still OK while it is still an LTS version. I had to move uibuilder to v12 as a minimum in v4 because of upstream dependencies. In the world of node.js and JavaScript, I'm afraid things move super fast. Actually, I can't wait until v14 becomes the accepted minimum as that puts in place some nice enhancements for classes.

---

<div class="post-metadata">

### Author: ![Gunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gunner/32/43582_2.png) [@Gunner](https://discourse.nodered.org/u/Gunner)
#### Post date: [28 August 2021 21:22 UTC](https://discourse.nodered.org/t/uibuilder-node-red-2-0-2/50329/4 "2021-08-28T21:22:41Z")

</div>

> [@Gunner](#):
>
> I seem to recall reading

> [@TotallyInformation](#):
>
> v12 is still OK while it is still an LTS version

I guess it was recalling the references of "12 soon to be 14+" that I was recalling. I run 14

That and I shouldn't have bothered posting as I don't run uibuilder anyhow 😛

---

<div class="post-metadata">

### Author: ![wuppergit](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wuppergit/32/7908_2.png) [@wuppergit](https://discourse.nodered.org/u/wuppergit)
#### Post date: [29 August 2021 07:11 UTC](https://discourse.nodered.org/t/uibuilder-node-red-2-0-2/50329/5 "2021-08-29T07:11:18Z")

</div>

Hi Julian,  
thank yu so much for the quick response. Everything is working fine now. 👍  
Have a nice time.

---

<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: [12 September 2021 07:12 UTC](https://discourse.nodered.org/t/uibuilder-node-red-2-0-2/50329/6 "2021-09-12T07:12:03Z")

</div>

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