MMM-Screencast icon indicating copy to clipboard operation
MMM-Screencast copied to clipboard

Console errors when module is installed

Open fribse opened this issue 3 years ago • 4 comments

Well this is all down to I have problems with the integration to Home Assistant, if MMM-ScreenCast is installed, I see these messages in the console debug:

billede

If I don't have the integration installed, I don't see this.

fribse avatar Feb 16 '22 17:02 fribse

I also see these messages in the log:

[16.02.2022 18:23.54.776] [LOG]   screencast stdout:
> [email protected] start
> electron app.js


[16.02.2022 18:23.57.909] [LOG]   screencast stderr: (node:1742) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information

Screen casting works, weird...

fribse avatar Feb 16 '22 17:02 fribse

@fribse not sure about the first console error. That seems to be an issue with whatever is listening on port 8080 (which is not the default port for MMM-Screencast.

The second screencast stderr thing is known but not that big of a deal. It has to do with a warning about updating the default of one of electrons' configs. It has no effect currently but is telling me to check on contextIsolation. I don't believe this will affect MMM-Screencast but I should double check to be sure.

kevinatown avatar Feb 16 '22 17:02 kevinatown

port 8080 is Remote-Control

fribse avatar Feb 16 '22 17:02 fribse

The integration is using the Remote Control API

fribse avatar Feb 16 '22 18:02 fribse