I don't remember if in previous versions when making changes or deploying, the console showed "flows stopped" and "flows started" every time, is this new? It is normal?
I don't often look at the logs so I don't know how long this has been going on but I just noticed a handful of these errors:
Unhandled rejection RequestError: AggregateError
at new RequestError (/data/node_modules/request-promise-core/lib/errors.js:14:15)
at plumbing.callback (/data/node_modules/request-promise-core/lib/plumbing.js:87:29)
at Request.RP$callback [as _callback] (/data/node_modules/request-promise-core/lib/plumbing.js:46:31)
at self.callback (/data/node_modules/@cypress/request/request.js:183:22)
at Request.emit (node:events:519:28)
at Request.onRequestError (/data/node_modules/@cypress/request/request.js:869:8)
at ClientRequest.emit (node:events:519:28)
at TLSSocket.socketErrorListener (node:_http_client:500:9)
at TLSSocket.emit (node:events:519:28)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
It is not clear what precipitates them but the line:position numbers are always the same.
Are there any know issues using NR 4.0.2 with Opera?
I just got the following error when opening NR 4.0.2 (running on a Pi) with Opera:
red.min.js?v=90df56f4f37b:18 Problem initialising 'monaco' code editor ReferenceError: monaco is not defined
at Object.init (red.min.js?v=90df56f4f37b:19)
at Object.init (red.min.js?v=90df56f4f37b:18)
The editor freezes in the screen before loading the flows:
That is interesting. I've a distant memory of seeing something similar (somewhere? Home assistant in docker I think) but it didn't register as something to dig into at the time.
Can you tell us your OS and opera version info please? Also, are there any plugins enabled in opera? Does opera have a no-plugins mode you can try please?
Opera Version:74.0.3911.75
Mac OS X 11.7.10 64-bit
No plugins installed but didn't find the no plugins mode for Opera. I did try a private tab but that had the same results.
All good there too, no failures.
Edit: in the same browser I can successfully open NR 3.1.0 and use it just fine ...
Ah, have you done anything to force the browser to clear the cache? On Windows, that would be ctrl-f5, not sure about how to do that on a Mac. On the network tab, you should get just about everything with a 200 response code instead of a 304.
Cheers! If it's not a general issue and I assume it isn't since updated versions of Opera work.
Btw wasn't there a proposal to throw one of the editors out? Ace or Monaco? Or do I recall that incorrectly?
Ok, I'll look into updating Opera with Firefox starts to fail! I actually don't like Opera because it seems to regularly "forget" my privacy settings ...
Did that too, made no difference.
It seems that the solution would be an update of Opera or use Firefox - I'm happy to go for the latter.
As all of the modules are being loaded from /data/node_modules this strongly implies this is a problem with an async callback in a node you have installed.
The @cypress implies it's a node that is interacting with a webpage, but that's about all we can say at this point.
Which shows you what is going wrong. Unfortunately, even formatting the editor.js doesn't give a meaningful view (all still on 1 line) so not possible to easily see exactly what is wrong. Possibly someone with the correct setup could get the map file which would help.
While this is true Nick, and I've confirmed by installing the old version, are we really wanting to exclude JavaScript versions from 2021? (not saying one way or the other, just looking to make sure that whatever is done is deliberate rather than accidental).
I wasn't making any statement on this aspect - just that we believed we had identified the root cause here and the quick fix would be to update to a more recent browser version.
Steve has also raised an issue to see if we can build monaco to be a bit more backward compatible.
I would like to know if it is possible to solve a problem in the email nodes, which happens when I get an error when connecting using IMAP, this error apparently stays cached and only disappears when I restart completely nodered.
Is there a way to solve this or can it be considered an NR bug?