After installing v4.1.2 and importing my flows the inject node does not respond and has it's button greyed out.
node-red -v gives:
7 Jan 18:43:49 - [info] Node-RED version: v4.1.2
7 Jan 18:43:49 - [info] Node.js version: v24.12.0
7 Jan 18:43:49 - [info] Linux 5.15.0-164-generic x64 LE
7 Jan 18:43:49 - [info] Loading palette nodes
7 Jan 18:43:50 - [info] Settings file : /home/jean/.node-red/settings.js
7 Jan 18:43:50 - [info] Context store : 'default' [module=memory]
7 Jan 18:43:50 - [info] User directory : /home/jean/.node-red
7 Jan 18:43:50 - [warn] Projects disabled : editorTheme.projects.enabled=false
7 Jan 18:43:50 - [info] Flows file : /home/jean/.node-red/flows.json
7 Jan 18:43:50 - [info] Server now running at http://127.0.0.1:1880/
7 Jan 18:43:50 - [warn]
Your flow credentials file is encrypted using a system-generated key.
Several of the imported nodes are unknown and assuming that this might be the cause of the inject node failure I removed most unknown nodes. I was unable to remove ui-base,ui-link,ui-tab,ui-group,ui-spacer.
I also tried deleting all flows and surprisingly I am still getting the unknown node message.
The inject node on a new flow is equally inactive.
Go to Configuration Nodes in Manage Palette and click Unused at the top. Probably those nodes are there. Select and Delete them (delete key) then deploy. If they are there, but showing unused, then you still have some dashboard nodes in your flows
You could always just install @flowfuse/node-red-dashboard instead of deleting all the nodes.
The reason the inject nodes don't work is because node-red is not running, due to the missing node types.
Backup often when doing major changes. Every 10 minutes if necessary.
Note that it is not necessary to backup the node_modules folder as that can easily be regenerated. Just backup the rest of the .node-red folder.