After writing up some code in a function node and deploying that, all the dashboard (2.9.1) wanted to show was this:
weird huh?
admin is still running fine and there ar no errors in the log, just a bunch of INFO messages.
after upgrading to 2.9.4 ( and reinstalling a suddenly missing node package) things started working again..
Soooo what did you put in your function node? And what does you flow look like? (export??)
Function looked like this:
var msg = {
"payload":JSON.parse(msg.payload)
};
var retMsg = {
"payload":{}
};
retMsg.payload.lat = msg.payload.lat;
retMsg.payload.lon = msg.payload.lon;
retMsg.payload.name = msg.payload.tid;
retMsg.payload.icon = "male";
if (msg.payload.inregions){
retMsg.payload.locatie = "Is "+msg.payload.inregions[0];
}
return retMsg;
The initial retMsg declaration was missing at the time of crashing so that might have been it.
So does this mean things are working?
Yep, but I have no idea if it was actually caused by this.