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

Error // If I run it, I will get an error.

Open ghost opened this issue 5 years ago • 6 comments

When I run a smart mirror and connect to YouTube, I encounter errors. Here's what it says.

A JavaScript error occurred in the main process

Uncaught Exception: TypeError: Cannot read property 'x' of undefined at Positioner.move(/home/pi/MagicMirror/modules/MMM-Screencast/node_modules/electron-positioner/index.js:113:45) at App.(/home/pi/MagicMirror/modules/MMM-Screencast/app.js:50:14) at Object.onceWrapper(events.js:273:13) at App.emit (events.js:187:15)

Please help me

ghost avatar Nov 09 '19 08:11 ghost

Hey @dnwnd16561 this looks like a config issue. Can you paste your config.js in here (with all of the api keys removed). Thanks!

kevinatown avatar Nov 10 '19 15:11 kevinatown

This problem has been solved. But I'm connected to the same Wi-Fi, but I can't connect the raspberry pie to YouTube.

pandora0309 avatar Nov 12 '19 08:11 pandora0309

@pandora0309 this seems to be off topic for this issue. Can you please open a new issue with the logs of you starting up the app, trying to connect, and then closing the app.

Thanks!

kevinatown avatar Nov 12 '19 15:11 kevinatown

Thankfully, I've been able to correct the error. Thank you for your help!! Thank you for creating these programs.

pandora0309 avatar Nov 12 '19 23:11 pandora0309

This problem has been solved. But I'm connected to the same Wi-Fi, but I can't connect the raspberry pie to YouTube.

how did you fix it? i have the same problem Screenshot link imgur

IngveBoe avatar May 05 '20 00:05 IngveBoe

@IngveBoe this is a config issue, you most likely used the positioning args for MM and not MMM-Screencast. You can double check this on the readme

If you are still having issues, can you please post a copy of your config (with all api keys removed/redacted)? Thanks.

kevinatown avatar May 31 '20 16:05 kevinatown