Errors installing uibuilder

I have a new installation of Node-red on a Raspberry 4b. On installing uibuilder, the uibuilder node is not available. I attempted to uninstall which gave an error: Failed to remove: node-red-contrib-uibuilder
Type in use: uibuilder

I then stopped Node-red and started it again. Noting the following on the log;

Welcome to Node-RED

26 Oct 20:28:12 - [info] Node-RED version: v4.0.5
26 Oct 20:28:12 - [info] Node.js version: v20.18.0
26 Oct 20:28:12 - [info] Linux 6.6.31+rpt-rpi-v8 arm64 LE
26 Oct 20:28:12 - [info] Loading palette nodes
26 Oct 20:28:15 - [info] Dashboard version 3.6.5 started at /ui
26 Oct 20:28:16 - [info] Settings file : /home/pi/.node-red/settings.js
26 Oct 20:28:16 - [info] Context store : 'default' [module=memory]
26 Oct 20:28:16 - [info] User directory : /home/pi/.node-red
26 Oct 20:28:16 - [warn] Projects disabled : editorTheme.projects.enabled=false
26 Oct 20:28:16 - [info] Flows file : /home/pi/.node-red/flows.json
26 Oct 20:28:16 - [warn] Using unencrypted credentials
26 Oct 20:28:16 - [info] +-----------------------------------------------------
26 Oct 20:28:16 - [info] | uibuilder v7.0.4 initialised :green_book:
26 Oct 20:28:16 - [info] | root folder: /home/pi/.node-red/uibuilder
26 Oct 20:28:16 - [info] | Using Node-RED's webserver at:
26 Oct 20:28:16 - [info] | http://0.0.0.0:1880/
26 Oct 20:28:16 - [info] | Installed packages:
26 Oct 20:28:16 - [info] +-----------------------------------------------------
26 Oct 20:28:16 - [info] Server now running at http://127.0.0.1:1880/
26 Oct 20:28:16 - [info] Starting flows
26 Oct 20:28:16 - [error] [uibuilder] uibuilder node ff050c4347776e67 deployed with invalid URL in flow bc26fb59149dbf5e - not configuring
TypeError: Cannot read properties of undefined (reading 'padEnd')
at Flow.start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/Flow.js:309:62)
at async Object.start [as startFlows] (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/index.js:403:17)
26 Oct 20:28:16 - [info] Started flows

Any help would be appreciated

This is the clue I think. I suspect that you did a Node-RED deploy without inputting a valid URL into your uibuilder node? If you correct that, it should start working.

Thanks for the reply. If I understand the process correctly, the way the URL is entered is by picking the uibuilder node and entering the URL into it's configuration. The problem for me in that immediatey following the install from Manage-pallete, there is no uibuilder node available.

OK. So now I tried completely removing node-red from my raspberry and reinstalled it. No errors.
I started node-red. Installed uibuilder. All OK!
Thank you.

1 Like

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