Error after loading UIbuilder version 7.0.2 [closed]

Welcome to Node-RED
===================

2 Sep 08:46:24 - [info] Node-RED version: v4.0.2
2 Sep 08:46:24 - [info] Node.js  version: v21.7.1
2 Sep 08:46:24 - [info] Darwin 23.6.0 arm64 LE
2 Sep 08:46:24 - [info] Loading palette nodes
2 Sep 08:46:25 - [warn] uibRoot package.json not found. Copying template file. /Users/poulborg/.node-red/uibuilder
(node:1302) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Error connecting to dbus: Error: connect ENOENT /var/run/dbus/system_bus_socket
2 Sep 08:46:25 - [warn] ------------------------------------------------------
2 Sep 08:46:25 - [warn] [node-red-contrib-uibuilder/uibuilder] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Array (line:393)
2 Sep 08:46:25 - [warn] ------------------------------------------------------
2 Sep 08:46:25 - [info] Settings file  : /Users/poulborg/.node-red/settings.js
2 Sep 08:46:25 - [info] Context store  : 'default' [module=memory]
2 Sep 08:46:25 - [info] User directory : /Users/poulborg/.node-red
2 Sep 08:46:25 - [warn] Projects disabled : editorTheme.projects.enabled=false
2 Sep 08:46:25 - [info] Flows file     : /Users/poulborg/.node-red/flows.json
2 Sep 08:46:25 - [info] Server now running at http://127.0.0.1:1880/
2 Sep 08:46:25 - [warn] 

---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.

You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------

2 Sep 08:46:25 - [info] +-----------------------------------------------------
2 Sep 08:46:25 - [info] | uibuilder v7.0.2 initialised đź“—
2 Sep 08:46:25 - [info] | root folder: /Users/poulborg/.node-red/uibuilder
2 Sep 08:46:25 - [info] | Using Node-RED's webserver at:
2 Sep 08:46:25 - [info] |   http://0.0.0.0:1880/
2 Sep 08:46:25 - [info] | Installed packages:
2 Sep 08:46:25 - [warn] Error loading flows: TypeError: Cannot read properties of undefined (reading 'uibuilder')
Error connecting to dbus: Error: connect ENOENT /var/run/dbus/system_bus_socket
Error connecting to dbus: Error: connect ENOENT /var/run/dbus/system_bus_socket
Error connecting to dbus: Error: connect ENOENT /var/run/dbus/system_bus_socket
Error connecting to dbus: Error: connect ENOENT /var/run/dbus/system_bus_socket
Error connecting to dbus: Error: connect ENOENT /var/run/dbus/system_bus_socket
Error connecting to dbus: Error: connect ENOENT /var/run/dbus/system_bus_socket
Error connecting to dbus: Error: connect ENOENT /var/run/dbus/system_bus_socket
Error connecting to dbus: Error: connect ENOENT /var/run/dbus/system_bus_socket
Error connecting to dbus: Error: connect ENOENT /var/run/dbus/system_bus_socket


Odd. Thanks for reporting.

[node-red-contrib-uibuilder/uibuilder] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Array (line:393)

Looks like uibuilder managed to recover from that? Is it working?

No, the other flows disappear until I uninstall UIBuilder and restart.

OK, I will hunt that down and release an update.

Hi, I have just pushed an update to npm. If you update your installed uibuilder package from the Node-RED palette manager and restart Node-RED, you should be good to go.

It was fast, now I can load via palette manager, and remove it again, and load it again, and restart without problems.
In a week's time, I will go offgrid for a week, so there is time to sniff around UIBuilder.
Many thanks.

Cool. Glad you are trying it out. Feel free to ask questions if you are stuck or need anything.