kevinatown / MMM-Screencast

A module to cast to the magic mirror
MIT License
165 stars 34 forks source link

Screencast Electron DeprecationWarning #120

Open pventura78 opened 2 years ago

pventura78 commented 2 years ago

I install and i follow the manual for MMM-Screencast, when i start MagicMirror receive this log message and Screencast does not work

magicmirror@2.17.1 start /home/pi/MagicMirror DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js

[20.11.2021 13:17.14.416] [LOG] Starting MagicMirror: v2.17.1 [20.11.2021 13:17.14.422] [LOG] Loading config ... [20.11.2021 13:17.14.428] [LOG] Loading module helpers ... [20.11.2021 13:17.14.429] [LOG] No helper found for module: alert. [20.11.2021 13:17.14.445] [LOG] Initializing new module helper ... [20.11.2021 13:17.14.446] [LOG] Module helper loaded: updatenotification [20.11.2021 13:17.14.446] [LOG] No helper found for module: clock. [20.11.2021 13:17.14.584] [LOG] Initializing new module helper ... [20.11.2021 13:17.14.585] [LOG] Module helper loaded: calendar [20.11.2021 13:17.14.586] [LOG] No helper found for module: compliments. [20.11.2021 13:17.14.587] [LOG] No helper found for module: weather. [20.11.2021 13:17.14.608] [LOG] Initializing new module helper ... [20.11.2021 13:17.14.608] [LOG] Module helper loaded: newsfeed [20.11.2021 13:17.14.610] [LOG] Initializing new module helper ... [20.11.2021 13:17.14.611] [LOG] Module helper loaded: MMM-GoogleMapsTraffic [20.11.2021 13:17.14.951] [LOG] Initializing new module helper ... [20.11.2021 13:17.14.951] [LOG] Module helper loaded: MMM-Screencast [20.11.2021 13:17.14.952] [LOG] All module helpers loaded. [20.11.2021 13:17.15.030] [LOG] Starting server on port 8080 ... [20.11.2021 13:17.15.043] [LOG] Server started ... [20.11.2021 13:17.15.044] [LOG] Connecting socket for: updatenotification [20.11.2021 13:17.15.044] [LOG] Connecting socket for: calendar [20.11.2021 13:17.15.045] [LOG] Starting node helper for: calendar [20.11.2021 13:17.15.046] [LOG] Connecting socket for: newsfeed [20.11.2021 13:17.15.046] [LOG] Starting node helper for: newsfeed [20.11.2021 13:17.15.046] [LOG] Connecting socket for: MMM-GoogleMapsTraffic [20.11.2021 13:17.15.047] [LOG] Starting node_helper for module: MMM-GoogleMapsTraffic [20.11.2021 13:17.15.047] [LOG] Connecting socket for: MMM-Screencast [20.11.2021 13:17.15.048] [LOG] Sockets connected & modules started ... [20.11.2021 13:17.15.223] [LOG] Launching application. [20.11.2021 13:17.17.741] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/ - Interval: 300000 [20.11.2021 13:17.17.932] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/ - Interval: 300000 [20.11.2021 13:17.18.137] [LOG] Create new newsfetcher for url: http://roma.repubblica.it/rss/rss2.0.xml - Interval: 300000 [20.11.2021 13:17.18.153] [LOG] Working notification system. Notification: MMM-GOOGLE_MAPS_TRAFFIC-GET payload: { style: 'black' } [20.11.2021 13:17.18.165] [INFO] Checking git for module: default [20.11.2021 13:17.18.185] [INFO] Checking git for module: MMM-GoogleMapsTraffic [20.11.2021 13:17.18.203] [INFO] Checking git for module: MMM-Screencast [20.11.2021 13:17.18.433] [INFO] Calendar-Fetcher: Broadcasting 1 events. [20.11.2021 13:17.18.493] [ERROR] (node:3675) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated (Use electron --trace-deprecation ... to show where the warning was created) [20.11.2021 13:17.18.600] [INFO] Calendar-Fetcher: Broadcasting 0 events. [20.11.2021 13:17.19.071] [INFO] Newsfeed-Fetcher: Broadcasting 45 items. [20.11.2021 13:17.25.998] [LOG] Shutting down server... [20.11.2021 13:17.25.999] [LOG] Stopping module helper: updatenotification [20.11.2021 13:17.25.999] [LOG] Stopping module helper: calendar [20.11.2021 13:17.25.999] [LOG] Stopping module helper: newsfeed [20.11.2021 13:17.26.000] [LOG] Stopping module helper: MMM-GoogleMapsTraffic [20.11.2021 13:17.26.000] [LOG] Stopping module helper: MMM-Screencast

kevinatown commented 2 years ago

Ahh yes, sorry let me update these dependencies.

kevinatown commented 2 years ago

also is it possible to provide more of a log? This issue should really matter. Can you provide more info or any more logs? Can you try and run it like:

display=:0 npm start >> log.log

can you also provide me with info on the OS you using on your RPI?