# \[Bugfix Release\] node-red-contrib-uibuilder v4.1.4

**URL:** <https://discourse.nodered.org/t/bugfix-release-node-red-contrib-uibuilder-v4-1-4/52834>\
**Category:** Share Your Nodes\
**Tags:** uibuilder\
**Created:** [27 October 2021 15:31 UTC](https://discourse.nodered.org/t/bugfix-release-node-red-contrib-uibuilder-v4-1-4/52834 "2021-10-27T15:31:43Z")\
**Posts on this page:** 12\
**Page:** 1

<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:** [27 October 2021 15:31 UTC](https://discourse.nodered.org/t/bugfix-release-node-red-contrib-uibuilder-v4-1-4/52834/1 "2021-10-27T15:31:43Z")

</div>

Hi all, a small set of bugfixes for uibuilder v4.

## [4.1.3](https://github.com/TotallyInformation/node-red-contrib-uibuilder/compare/v4.1.2...v4.1.3)

### Fixed

- [Issue #155](https://github.com/TotallyInformation/node-red-contrib-uibuilder/issues/155) Cannot edit files in a uibuilder instance's root folder.

## [4.1.2](https://github.com/TotallyInformation/node-red-contrib-uibuilder/compare/v4.1.1...v4.1.2)

### Fixed

- [PR #152](https://github.com/TotallyInformation/node-red-contrib-uibuilder/pull/152) `nodes/libs/uiblib.js` incorrectly called `jwtValid` instead of `validJwt`. Thanks to [Lackmann1994](https://github.com/Lackmann1994) for the PR to fix.

---

<div class="post-metadata">

**Author:** ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)\
**Post date:** [27 October 2021 19:31 UTC](https://discourse.nodered.org/t/bugfix-release-node-red-contrib-uibuilder-v4-1-4/52834/2 "2021-10-27T19:31:20Z")

</div>

Julian .. i noticed an issue when we delete a uibuilder node and we are presented with the message to also Delete the folder. if we click yes to delete .. it doesnt delete it .. running Windows 10 (didnt have a chance to test on my RPi).

---

<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:** [27 October 2021 20:41 UTC](https://discourse.nodered.org/t/bugfix-release-node-red-contrib-uibuilder-v4-1-4/52834/3 "2021-10-27T20:41:24Z")

</div>

Hi Andrew, if you get a chance, can I ask you to raise an issue on GitHub so I don't forget to fix it?

Thanks.

---

<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:** [29 October 2021 00:33 UTC](https://discourse.nodered.org/t/bugfix-release-node-red-contrib-uibuilder-v4-1-4/52834/4 "2021-10-29T00:33:53Z")

</div>

Another bug fix - this time for the external templates feature which had stopped working for some reason (due to degit it seems).

Should now be working again.

---

<div class="post-metadata">

**Author:** ![Jony5](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@Jony5](https://discourse.nodered.org/u/Jony5)\
**Post date:** [30 October 2021 14:33 UTC](https://discourse.nodered.org/t/bugfix-release-node-red-contrib-uibuilder-v4-1-4/52834/5 "2021-10-30T14:33:18Z")

</div>

Sorry if this is the wrong place.... i tried to install 4.1.4 today (Palette manager)

30 Oct 15:25:44 - [info] Starting flows  
30 Oct 15:25:44 - [info] Started flows  
30 Oct 15:25:44 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)  
30 Oct 15:25:44 - [info] [mqtt-broker:Mosquitto on 102] Connected to broker: mqtt://192.168.66.102:1883  
30 Oct 15:29:13 - [info] Installing module: node-red-contrib-uibuilder, version: 4.1.4  
30 Oct 15:29:29 - [info] Installed module: node-red-contrib-uibuilder  
Trace: [uibuilder] REQUIRE SOCKET failed:: /home/pi/.node-red/node\_modules/node-red-contrib-uibuilder/nodes/libs/socket.js:42  
constructor() {  
^^^^^^^^^^^  
SyntaxError: Unexpected identifier  
at Module.\_compile (internal/modules/cjs/loader.js:723:23)  
at Object.Module.\_extensions..js (internal/modules/cjs/loader.js:789:10)  
at Module.load (internal/modules/cjs/loader.js:653:32)  
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)  
at Function.Module.\_load (internal/modules/cjs/loader.js:585:3)  
at Module.require (internal/modules/cjs/loader.js:692:17)  
at require (internal/modules/cjs/helpers.js:25:18)  
at Object. (/home/pi/.node-red/node\_modules/node-red-contrib-uibuilder/nodes/uibuilder.js:38:25)  
at Module.\_compile (internal/modules/cjs/loader.js:778:30)  
at Object.Module.\_extensions..js (internal/modules/cjs/loader.js:789:10)  
at Object. (/home/pi/.node-red/node\_modules/node-red-contrib-uibuilder/nodes/uibuilder.js:40:13)  
at Module.\_compile (internal/modules/cjs/loader.js:778:30)  
at Object.Module.\_extensions..js (internal/modules/cjs/loader.js:789:10)  
at Module.load (internal/modules/cjs/loader.js:653:32)  
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)  
at Function.Module.\_load (internal/modules/cjs/loader.js:585:3)  
at Module.require (internal/modules/cjs/loader.js:692:17)  
at require (internal/modules/cjs/helpers.js:25:18)  
at loadNodeSet (/usr/lib/node\_modules/node-red/node\_modules/@node-red/registry/lib/loader.js:361:17)  
at /usr/lib/node\_modules/node-red/node\_modules/@node-red/registry/lib/loader.js:459:31  
Trace: [uibuilder] REQUIRE WEB failed:: /home/pi/.node-red/node\_modules/node-red-contrib-uibuilder/nodes/libs/web.js:47  
constructor() {  
^^^^^^^^^^^  
SyntaxError: Unexpected identifier  
at Module.\_compile (internal/modules/cjs/loader.js:723:23)  
at Object.Module.\_extensions..js (internal/modules/cjs/loader.js:789:10)  
at Module.load (internal/modules/cjs/loader.js:653:32)  
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)  
at Function.Module.\_load (internal/modules/cjs/loader.js:585:3)  
at Module.require (internal/modules/cjs/loader.js:692:17)  
at require (internal/modules/cjs/helpers.js:25:18)  
at Object. (/home/pi/.node-red/node\_modules/node-red-contrib-uibuilder/nodes/uibuilder.js:43:25)  
at Module.\_compile (internal/modules/cjs/loader.js:778:30)  
at Object.Module.\_extensions..js (internal/modules/cjs/loader.js:789:10)  
at Object. (/home/pi/.node-red/node\_modules/node-red-contrib-uibuilder/nodes/uibuilder.js:45:13)  
at Module.\_compile (internal/modules/cjs/loader.js:778:30)  
at Object.Module.\_extensions..js (internal/modules/cjs/loader.js:789:10)  
at Module.load (internal/modules/cjs/loader.js:653:32)  
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)  
at Function.Module.\_load (internal/modules/cjs/loader.js:585:3)  
at Module.require (internal/modules/cjs/loader.js:692:17)  
at require (internal/modules/cjs/helpers.js:25:18)  
at loadNodeSet (/usr/lib/node\_modules/node-red/node\_modules/@node-red/registry/lib/loader.js:361:17)  
at /usr/lib/node\_modules/node-red/node\_modules/@node-red/registry/lib/loader.js:459:31  
30 Oct 15:29:30 - [info] Added node types:  
30 Oct 15:29:30 - [info] - node-red-contrib-uibuilder:uibuilder : TypeError: Cannot read property 'setup' of undefined (line:289)

---

<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:** [30 October 2021 15:23 UTC](https://discourse.nodered.org/t/bugfix-release-node-red-contrib-uibuilder-v4-1-4/52834/6 "2021-10-30T15:23:06Z")

</div>

What version of Node.js are you running?

---

<div class="post-metadata">

**Author:** ![Jony5](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@Jony5](https://discourse.nodered.org/u/Jony5)\
**Post date:** [30 October 2021 21:35 UTC](https://discourse.nodered.org/t/bugfix-release-node-red-contrib-uibuilder-v4-1-4/52834/7 "2021-10-30T21:35:27Z")

</div>

v10.24.0 on Raspian

---

<div class="post-metadata">

**Author:** ![Jony5](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@Jony5](https://discourse.nodered.org/u/Jony5)\
**Post date:** [30 October 2021 21:46 UTC](https://discourse.nodered.org/t/bugfix-release-node-red-contrib-uibuilder-v4-1-4/52834/8 "2021-10-30T21:46:14Z")

</div>

Thanks for this, but it seems by default if i uninstall / reinstall  
sudo apt update  
sudo apt install nodejs

this is the highest version available ..... mmm

---

<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:** [30 October 2021 21:46 UTC](https://discourse.nodered.org/t/bugfix-release-node-red-contrib-uibuilder-v4-1-4/52834/9 "2021-10-30T21:46:26Z")

</div>

Yes, that is the problem. As mentioned in the docs, Node.js v12 is the minimum version.

---

<div class="post-metadata">

**Author:** ![Jony5](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@Jony5](https://discourse.nodered.org/u/Jony5)\
**Post date:** [30 October 2021 21:47 UTC](https://discourse.nodered.org/t/bugfix-release-node-red-contrib-uibuilder-v4-1-4/52834/10 "2021-10-30T21:47:58Z")

</div>

assumed a brand new install would have latest version after running uall updates/upgrades .... time to google some more...thx

---

<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:** [30 October 2021 21:48 UTC](https://discourse.nodered.org/t/bugfix-release-node-red-contrib-uibuilder-v4-1-4/52834/11 "2021-10-30T21:48:36Z")

</div>

Have a look on the node.js site for a repo with a newer version.

---

<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:** [30 October 2021 21:49 UTC](https://discourse.nodered.org/t/bugfix-release-node-red-contrib-uibuilder-v4-1-4/52834/12 "2021-10-30T21:49:39Z")

</div>

Rasbian is based on Debian which is very conservative in what it includes.
