Start your weekend with the new Node-RED 4.0.9 release!
A handle of useful fixes and a few small feature enhancements. Checkout the changelog for the full list.
When you select a subflow instance node, the context sidebar will now show you its flow context under the 'node' section. Super useful as this level of context was otherwise inaccessible in the editor. (#5025)
The context sidebar now remembers what you've expanded when you refresh, so you don't have to find your place again when checking for updated values (#5021)
The auto-complete for context field names now handles loooong names better (#5042)
At the time of writing, the docker containers are still building - so check back later if you need to use them.
I installed 4.0.8 using npm and it also crashed the same way. Then I ran the install script and it was ok. I assume that the script must do something different.
Are you on a Zero or a Zero 2 @Colin?
32 or 64 bit OS?
I don't see any problem on a Pi Zero 2:
pi@TestOS:~ $ node-red --version
Node-RED v4.0.8
Node.js v20.17.0
Linux 6.6.74+rpt-rpi-v7 arm LE
pi@TestOS:~ $ sudo npm install -g --unsafe-perm node-red
changed 311 packages in 1m
63 packages are looking for funding
run `npm fund` for details
npm notice
npm notice New major version of npm available! 10.8.2 -> 11.1.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.1.0
npm notice To update run: npm install -g npm@11.1.0
npm notice
pi@TestOS:~ $ node-red
16 Feb 18:40:22 - [info]
Welcome to Node-RED
===================
16 Feb 18:40:22 - [info] Node-RED version: v4.0.9
16 Feb 18:40:22 - [info] Node.js version: v20.17.0
16 Feb 18:40:22 - [info] Linux 6.6.74+rpt-rpi-v7 arm LE
16 Feb 18:40:24 - [info] Loading palette nodes
16 Feb 18:40:30 - [info] Settings file : /home/pi/.node-red/settings.js
16 Feb 18:40:30 - [info] Context store : 'default' [module=memory]
16 Feb 18:40:30 - [info] User directory : /home/pi/.node-red
16 Feb 18:40:30 - [warn] Projects disabled : editorTheme.projects.enabled=false
16 Feb 18:40:30 - [info] Flows file : /home/pi/.node-red/flows.json
16 Feb 18:40:30 - [warn] Using unencrypted credentials
16 Feb 18:40:30 - [info] Server now running at http://127.0.0.1:1880/
16 Feb 18:40:30 - [info] Starting flows
16 Feb 18:40:30 - [info] [ui-base:My Dashboard] Node-RED Dashboard 2.0 (v1.22.1) started at /dashboard
16 Feb 18:40:30 - [info] [ui-base:My Dashboard] Created socket.io server bound to Node-RED port at path /dashboard/socket.io
16 Feb 18:40:30 - [info] Started flows