Missing node types

HELP
“Flows stopped due to missing node types.”
Hundreds of nodes missing.

I tried doing a restore to a prior day that was known working, got the same error.

Please tell me there’s a quick fix.

UPDATE

There was no quick fix.
With lots of help from ChatGPT, here is where I am…
My config/node-red folder is empty. It is also empty on backups going back five days?
However, I still had flows in Node Red- just a couple of dozen nodes in more than a hundred flows are missing.
I could not find flows.json anywhere.
So, I exported one from Node Red.
I got a list of missing nodes from the log file and in the Node-Red configuration I added them to the npm_packages section.
Restart Node-Red. Everything looks OK, but there is still nothing in config/node-red. Also no nodes.json anywhere.

At this point ChatGPT advises me that “Node-RED is running entirely in memory right now. This happens when Node-RED starts without finding a flows.json file, and then it holds the existing flows in RAM.”

Makes sense since I never shut down the Node Red host computer. I have to wonder how long it has been running this way?

I created the file: config/node-red/flows.json and copied the exported flows.json into it.

I did a restart of the add-on and everything still looks good.

If anyone has any tips or comments, please tell me.

(Whew!)

config/nodered should be empty. If you have samba installed navigate to where your /media folder is. There is another folder named addon_configs. In there is a NR folder with all your files. Look in the addon logs and see if everything is starting OK.

Thanks. In a way, that is comforting. Why, then, is there a node-red folder? The only things in my /home/media folder is some sound files and Frigate clips.

But, there is an addon_configs folder there with all my missing node-red files, including a new flows.json

This doesn’t explain my original problem of the missing node types. But adding all of the missing ones into the add-on configuration fixed that.

Anyway, many thanks for showing me where all my node-red files are located.