In my code it gives me this error "TypeError: Cannot read properties of undefined (reading 'close')" in the "WebSER write" block of the "serial ports" module, does anyone know how to fix it?
(The error does not appear when I use step-by-step mode and if the code is not run in full screen).