Ok thank you again for helping.
Read the statement by Michael Teeuw here.
Latest posts made by demetry07
-
RE: MagicMirror stopped working after screensaver installed
-
RE: MagicMirror stopped working after screensaver installed
Yeah I missed that in the log I see it now. Thanks for the help after updating that Module it’s starting again. Do you have a recommendation for a PIR Module that works better then something else?
-
RE: MagicMirror stopped working after screensaver installed
Ran the suggested commands see below. Looks like they both ran just fine.
pi@raspberrypi:~/MagicMirror $ npm install electron-rebuild
- electron-rebuild@1.8.8
added 68 packages from 42 contributors and audited 3926 packages in 124.52s
16 packages are looking for funding
runnpm fund
for detailsfound 0 vulnerabilities
pi@raspberrypi:~/MagicMirror $ node_modules/.bin/electron-rebuild
✔ Rebuild Complete
pi@raspberrypi:~/MagicMirror $ npm startmagicmirror@2.10.0 start /home/pi/MagicMirror
./run-start.sh[11:51:32.453] [LOG] Starting MagicMirror: v2.10.0
[11:51:32.478] [LOG] Loading config …
[11:51:32.491] [LOG] Loading module helpers …
[11:51:32.494] [LOG] No helper found for module: alert.
[11:51:32.615] [LOG] Initializing new module helper …
[11:51:32.617] [LOG] Module helper loaded: updatenotification
[11:51:32.619] [LOG] No helper found for module: clock.
[11:51:32.620] [LOG] No helper found for module: currentweather.
/home/pi/MagicMirror/node_modules/electron/dist/electron js/electron.js: symbol lookup error: /home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll/build/Release/epoll.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! magicmirror@2.10.0 start:./run-start.sh
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the magicmirror@2.10.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-01-07T17_51_32_806Z-debug.log
pi@raspberrypi:~/MagicMirror $ - electron-rebuild@1.8.8
-
RE: MagicMirror Goes blackscreen overnight
@sdetweil I am glad you told me about the CTRL + Shift + I. I was able to use that to fix some of the other Modules I was using.
-
RE: MagicMirror Goes blackscreen overnight
@sdetweil Yes no black screen this morning that fixed it!
-
RE: MagicMirror stopped working after screensaver installed
I spoke to soon. This morning it stopped working again.
I ran
npm install
then
sudo reboot
then cd ~/MagicMirror
then
npm start
Here are the results
pi@raspberrypi:~/MagicMirror $ npm startmagicmirror@2.10.0 start /home/pi/MagicMirror
./run-start.sh[11:35:13.428] [LOG] Starting MagicMirror: v2.10.0
[11:35:13.448] [LOG] Loading config …
[11:35:13.463] [LOG] Loading module helpers …
[11:35:13.466] [LOG] No helper found for module: alert.
[11:35:13.594] [LOG] Initializing new module helper …
[11:35:13.596] [LOG] Module helper loaded: updatenotification
[11:35:13.597] [LOG] No helper found for module: clock.
[11:35:13.599] [LOG] No helper found for module: currentweather.
/home/pi/MagicMirror/node_modules/electron/dist/electron js/electron.js: symbol lookup error: /home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll/build/Release/epoll.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! magicmirror@2.10.0 start:./run-start.sh
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the magicmirror@2.10.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-01-07T17_35_13_737Z-debug.logI pulled the log file here is the data in the log file.
0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘start’ ]
2 info using npm@6.13.4
3 info using node@v10.18.0
4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]
5 info lifecycle magicmirror@2.10.0~prestart: magicmirror@2.10.0
6 info lifecycle magicmirror@2.10.0~start: magicmirror@2.10.0
7 verbose lifecycle magicmirror@2.10.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle magicmirror@2.10.0~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
9 verbose lifecycle magicmirror@2.10.0~start: CWD: /home/pi/MagicMirror
10 silly lifecycle magicmirror@2.10.0~start: Args: [ ‘-c’, ‘./run-start.sh’ ]
11 info lifecycle magicmirror@2.10.0~start: Failed to exec start script
12 verbose stack Error: magicmirror@2.10.0 start:./run-start.sh
12 verbose stack spawn ENOENT
12 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
12 verbose stack at ChildProcess.emit (events.js:198:13)
12 verbose stack at maybeClose (internal/child_process.js:982:16)
12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
13 verbose pkgid magicmirror@2.10.0
14 verbose cwd /home/pi/MagicMirror
15 verbose Linux 4.19.75-v7+
16 verbose argv “/usr/bin/node” “/usr/bin/npm” “start”
17 verbose node v10.18.0
18 verbose npm v6.13.4
19 error code ELIFECYCLE
20 error syscall spawn
21 error file sh
22 error errno ENOENT
23 error magicmirror@2.10.0 start:./run-start.sh
23 error spawn ENOENT
24 error Failed at the magicmirror@2.10.0 start script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]Thoughts?
-
RE: MagicMirror Goes blackscreen overnight
Ok updated and restarted. Will update in the morning or if it fails before then.
Thank you very much @sdetwil
-
RE: MagicMirror Goes blackscreen overnight
Checked any errors and this is what came up.
Thoughts?
8080/modules/MMM-Snow//MMM-Snow.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
(index):1 Refused to execute script from ‘http://localhost:8080/modules/MMM-Snow//MMM-Snow.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.
loader.js:187 Error on loading script: modules/MMM-Snow//MMM-Snow.js
script.onerror @ loader.js:187
:8080/modules/MMM-Dad-Jokes//MMM-Dad-Jokes.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
(index):1 Refused to execute script from ‘http://localhost:8080/modules/MMM-Dad-Jokes//MMM-Dad-Jokes.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.
loader.js:187 Error on loading script: modules/MMM-Dad-Jokes//MMM-Dad-Jokes.js
script.onerror @ loader.js:187
(index):1 Refused to apply style from ‘http://localhost:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
loader.js:203 Error on loading stylesheet: css/custom.css
stylesheet.onerror @ loader.js:203
:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77 Uncaught TypeError: Cannot read property ‘length’ of undefined
at HTMLScriptElement.script.onload (:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77)
maps.googleapis.com/maps/api/js?key=AIzaSyDo3gOotJfC2vkH3fugcheqIuCg-h0qRZ4:139 You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.
Vi @ maps.googleapis.com/maps/api/js?key=AIzaSyDo3gOotJfC2vkH3fugcheqIuCg-h0qRZ4:139
:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77 Uncaught TypeError: Cannot read property ‘length’ of undefined
at HTMLScriptElement.script.onload (:8080/modules/MMM-GoogleMapsTraffic//MMM-GoogleMapsTraffic.js:77)
api.openweathermap.org/data/2.5/forecast/daily?id=4393217&units=imperial&lang=en&APPID=98626cd176b5075d4d8b1fba0971e8f8:1 Failed to load resource: the server responded with a status of 401 (Unauthorized)
:8080/modules/default/weatherforecast//weatherforecast.js:266 weatherforecast: Your AppID does not support long term forecasts. Switching to fallback endpoint.
weatherRequest.onreadystatechange @ :8080/modules/default/weatherforecast//weatherforecast.js:266
(index):1 Refused to apply style from ‘http://localhost:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled. -
RE: MagicMirror Goes blackscreen overnight
Thanks I will check it in the morning when it does it again.
-
MagicMirror Goes blackscreen overnight
Every night my MagicMirror goes to a black screen. My curser is seen when I move the mouse in the morning and CTRL+Q makes it go back to my home page then MagicMirror will start automatically with no issues.
Has anyone had this issue yet?