signalk-node-red inaccessible from Webapps after signalk-server update to 2.13.5
And node-red not producing its previous outputs (so presumably not running at all).
Running on a Mac Mini M1 successfully for several years until now.
Suggestions welcome!
8 Replies
Check the log at startup should be an error there
Did you update your nodejs version?
Gday Scott, long time no talk. Here's the relevant part of the log...
May 22 07:22:37 GET /redAdmin 302 6.679 ms - 63
May 22 07:22:37 TypeError: util.log is not a function at LogHandler.consoleLogger [as handler] (/Users/mike/.signalk/node_modules/@node-red/util/lib/log.js:94:18) at LogHandler.<anonymous> (/Users/mike/.signalk/node_modules/@node-red/util/lib/log.js:66:18) at LogHandler.emit (node:events:507:28) at /Users/mike/.signalk/node_modules/@node-red/util/lib/log.js:160:21 at Array.forEach (<anonymous>) at Object.log (/Users/mike/.signalk/node_modules/@node-red/util/lib/log.js:159:21) at Object.error (/Users/mike/.signalk/node_modules/@node-red/util/lib/log.js:185:13) at /Users/mike/.signalk/node_modules/@node-red/editor-api/lib/editor/index.js:34:17 at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
May 22 07:22:43 GET /plugins/signalk-node-red/redAdmin - - ms - -
May 22 07:22:43 GET /redAdmin 302 1.101 ms - 63
May 22 07:22:43 TypeError: util.log is not a function at LogHandler.consoleLogger [as handler] (/Users/mike/.signalk/node_modules/@node-red/util/lib/log.js:94:18) at LogHandler.<anonymous> (/Users/mike/.signalk/node_modules/@node-red/util/lib/log.js:66:18) at LogHandler.emit (node:events:507:28) at /Users/mike/.signalk/node_modules/@node-red/util/lib/log.js:160:21 at Array.forEach (<anonymous>) at Object.log (/Users/mike/.signalk/node_modules/@node-red/util/lib/log.js:159:21) at Object.error (/Users/mike/.signalk/node_modules/@node-red/util/lib/log.js:185:13) at /Users/mike/.signalk/node_modules/@node-red/editor-api/lib/editor/index.js:34:17 at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
May 22 07:22:59 GET /plugins/signalk-node-red/redAdmin - - ms - -
Unsure about nodejs. Checking.
Yeah, unsupported version of nodejs I think.
So I have to revert to an older version of node?
v20 or v22
Wilco. Related question if I may: what's the best way to convert Lat & Lon from DDD.dddddd to DDD MM.mmm? That's all I'm using node-red to do and better ways may now exist. Twould be nice to have in Derived Data for example. I need this format for display in Grafana, although perhaps I could do the math there.
I don’t know of another way. Might want to start another thread on that. Someone else might chime in.
No worries. Thanks mate! Still enjoying WilhelmSK.
Fixed by:
brew install node@22
brew unlink node
brew link --overwrite node@22