Hello
I usually do not touch my node-red installation, since everything works as it should.
But today I needed to and I ran in a strange behavior:
When clicking on another flow tab
it switches to the flow and shows it very briefly (0.5sec or so)
the it shows a flow reloading bar, it reloads
then it switches back to my initial flow
No switching to another flow is possible. I also used the menue on the left side and the list of flows from the top-right, always same behavior.
Node-RED 5.0.8 (installed and updated with 'the script', using option --node22)
on a Raspberry Pi 4 with bullseye
using MacOS 27.0.1 with Safari
What can I do to debug this (although there is limited know-how on my side)?
First, can you check the developer console in the browser for any errors? Safari makes it hard to find but you'll need to:
Open Safari settings from the Safari menu
On the Advanced tab, tick the 'Show features for web developers' box at the bottom and close the settings dialog.
With the Node-RED editor open, you should have a Developer menu - under that select Show JavaScript console.
Check for any errors reported in that console when you try switching tab.
You could also try with a different browser - something other than Safari, such as Chrome or Firefox - to see if this is a Safari specific thing or not.
I updated my initial message to make it more precise. The failure seems to be restricted to the Safari browser.
Then I checked the 'preserve log' button in the javascript console. Since it did not show the errors produced when switching flows, it only showed the result from the last page reload.
The new screenshot below shows the failed try to switch and then the reload of the initial flow.
It seems not to contain anything new, but I wanted to follow your request as painstakingly as possible.
If I open the arrows then tons of stuff appears. I'm not a developer, therefore I have no clue how to work with this console. Let me know if there is information of use to you and how I can export this for you.
I do have the same problem as described on iMac with local node red 5.01
Imac to MacBookair Sonoma 14.5 and node-red with node-red 4.0
Firefox on iMac with local node-red 5.01 no problem
I just found an older post, which shows the same problem:
There it is proposed to do one manual reload of the first page (the initial flow Node-RED shows). I did this. And now I'm able to switch between flows without any problem. So it works no in Safari too (once the initial page is reloaded one time).
For me, the topic is solved. I can either use Firefox, or use Safari and refresh the first page once.