I got this error when I started up node-red today. Last night I added 2 nodes for the UI table BUT the 3rd node which I attempted to add failed to install. Anyway, I worked with what was installed and set up my dashboard. The data did not load as planned but there was no error either.
Now when I try to load it this error comes up and I have no way forward.
I know how you can recover this (and I promise I will tell you) but in the interest of the community, could you please first upgrade to node-red 2.2.2.
I believe it with node-red 2.2.2 the error you receive will be a lot clearer as to the cause.
Before you upgrade, I'd recommend backing up your .node-red folder (just copy everything except node_modules) to another location. Just to be safe (but shouldn't be needed other than a safety blanket)
No, thats the main installation of node-red. I mean the user .node-red folder that gets created when you run node-red (it holds your flow files & custom nodes etc).
In a standard windows installation that will likely be c:\users\evan1\.node-red (you might need to enable view hidden folders in explorer or run DIR from a command prompt)
the node_modules folder is auto populated when npm install is ran - so no need to keep it. In fact, sometimes it is better to delete it.
Any how, for now, please install the 2.2.2 update.
Do you need assistance or are you ok with doing that? (should be no different to what you did to get V2.2.0) (obviously apart from you dont need to instal node-js again)
Note: for all the less code/knowledgeable people still learning node-red. You can always help. Do you think @Steve-Mcl Should be spending his time making the how to send a Direct Msg slide show??? Steve-Mcl is a patient with new users and helps allot of people here on the forums with the technical stuff. If you can free him up to do the geek-ey things then step in.... you can always reduce others work loads.
one block for the flow.json and another block for the package.json
Not allowing binary data uploads (zip. exe. etc) is to protect users on the forums.
If its just txt data one can read, its harder to do malicious things
@Evan7 I got the day off. On beer 2 now Reading up on ffmpeg commands and object detection stuff for absorption. Take your time. Ask questions. relevant to your issue.
@Steve-Mcl stated:
"I know how you can recover this (and I promise I will tell you) but in the interest of the community, could you please first upgrade to node-red 2.2.2."
I could tell he wants this to be a learning moment for others so he can site this post later for reference with this common issue.