Good idea… Unfortunately, I am a complete noob in such things… Is there any haeds up you can provide?
Read the statement by Michael Teeuw here.
Posts
-
RE: How can i control MMM-MyRadio?
-
How can i control MMM-MyRadio?
this is a seriuos question… how can i control it, besides having a touchscreen or using my voice?
-
RE: Weather just won't show up...
I feel like fool…
I misred that… sorry…
-
RE: Weather just won't show up...
Ok… now i am confused as sh**…
I don’t get it…
First of all, it is working! The current weather is showing and the forecast (only for 2 days sadly).I went to the openweathermap site and searched for “Rosbach”.
I found it and copied the number from the url (2845162) and used it in both moudles.So far so good.
What i don’t understand is the value “location” in the module… I entered Rosbach and it was still displaying New York - i get it now, that i was still using the wrong location id (i am so sorry about that! i did not see that mistake!!) - but if the “location name” is coming from the website, why is there a value called “location”?? -
RE: Weather just won't show up...
Hi, sorry for getting back to you so late…
@sdetweil said in Weather just won't show up...:
@Stef >
That one is not showing up…
what dies that mean? ctrl-shift-i on the mirror keyboard , select the tab labeled ‘console’ and scroll up to see any errors,
usually red textAlright, i does not work on mobile… i am on my computer right now, in a vnc sessions on my pi and it worked!
Sadly, i got a bunch of errors… all stating the same thing
GET https://api.openweathermap.org/data/2.5/weather?id=2485160&units=metric&lang=en&APPID=%myappid% 404 (Not Found) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 currentweather.js:339 currentweather: Could not load weather. weatherRequest.onreadystatechange @ currentweather.js:339 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343If i try to resolve the url on my browser i get:
{"cod":"404","message":"city not found"}Which is odd…
the wrong config means you didn’t put the right stuff in config.js
What do you mean by that? i did replaced “new york” with “rosbach”…
-
RE: Weather just won't show up...
@sdetweil
That one is not showing up…
Guess while I’m only on ssh and vncBTW I got a new bug…
Current weather is still not showing, but the forecast is… Well, kind of…
What strange is, that it still says new York instead of “Rosbach”…
-
RE: Weather just won't show up...
@sdetweil yeah I know, but it was hard to copy the text from the juice ssh (android app) shell and posting it here… Total formatting screw up 😂
I did a
Pm2 flushKilled the magic mirror “app” and the log shows me:
Linux mirrorpi2 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Sep 10 07:42:22 2020 from 192.168.0.199 pi@mirrorpi2:~ $ pm2 logs --lines=15 [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 15 lines: PM2 | 2020-09-10T08:26:30: PM2 log: Change detected on path config/config.js for app MagicMirror - restarting PM2 | 2020-09-10T08:26:30: PM2 log: Stopping app:MagicMirror id:1 PM2 | 2020-09-10T08:26:31: PM2 log: pid=920 msg=failed to kill - retrying in 100ms PM2 | 2020-09-10T08:26:31: PM2 log: pid=920 msg=failed to kill - retrying in 100ms PM2 | 2020-09-10T08:26:31: PM2 log: pid=920 msg=failed to kill - retrying in 100ms PM2 | 2020-09-10T08:26:31: PM2 log: pid=920 msg=failed to kill - retrying in 100ms PM2 | 2020-09-10T08:26:31: PM2 log: pid=920 msg=failed to kill - retrying in 100ms PM2 | 2020-09-10T08:26:31: PM2 log: pid=920 msg=failed to kill - retrying in 100ms PM2 | 2020-09-10T08:26:31: PM2 log: pid=920 msg=failed to kill - retrying in 100ms PM2 | 2020-09-10T08:26:31: PM2 log: App [MagicMirror:1] exited with code [0] via signal [SIGINT] PM2 | 2020-09-10T08:26:31: PM2 log: pid=920 msg=process killed PM2 | 2020-09-10T08:26:31: PM2 log: App [MagicMirror:1] starting in -fork mode- PM2 | 2020-09-10T08:26:31: PM2 log: App [MagicMirror:1] online /home/pi/.pm2/logs/pm2-logrotate-out.log last 15 lines: /home/pi/.pm2/logs/pm2-logrotate-error.log last 15 lines: /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines: 1|MagicMir | [2020-09-10 08:26:40.320] [ERROR] ERROR! Could not find main module js file for MagicMirror-Display-Controller /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines: 1|MagicMir | [2020-09-10 08:26:44.046] [LOG] Create new news fetcher for url: http://www.spiegel.de/schlagzeilen/tops/index.rss - Interval: 300000 1|MagicMir | [2020-09-10 08:26:44.144] [LOG] Create new news fetcher for url: http://rss.sueddeutsche.de/rss/Topthemen - Interval: 300000 1|MagicMir | [2020-09-10 08:26:44.148] [LOG] Use existing news fetcher for url: http://rss.sueddeutsche.de/rss/Topthemen 1|MagicMir | [2020-09-10 08:26:44.149] [INFO] Newsfeed-Fetcher: No items to broadcast yet. 1|MagicMir | [2020-09-10 08:26:44.395] [LOG] MMM-MyCommute: The provided API key is invalid. 1|MagicMir | [2020-09-10 08:26:44.404] [LOG] MMM-MyCommute: The provided API key is invalid. 1|MagicMir | [2020-09-10 08:26:45.177] [INFO] Newsfeed-Fetcher: Broadcasting 15 items. 1|MagicMir | [2020-09-10 08:26:45.451] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. 1|MagicMir | [2020-09-10 08:26:45.720] [INFO] Newsfeed-Fetcher: Broadcasting 30 items. 1|MagicMir | [2020-09-10 08:26:46.169] [INFO] Calendar-Fetcher: Broadcasting 5 events. 1|MagicMir | [2020-09-10 08:31:43.420] [LOG] Use existing calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics 1|MagicMir | [2020-09-10 08:31:43.434] [INFO] Calendar-Fetcher: Broadcasting 5 events. 1|MagicMir | [2020-09-10 08:31:44.663] [INFO] Calendar-Fetcher: Broadcasting 5 events. 1|MagicMir | [2020-09-10 08:31:46.041] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. 1|MagicMir | [2020-09-10 08:31:46.356] [INFO] Newsfeed-Fetcher: Broadcasting 15 items.You can ignore the error - I tested a different module for the pir sensor and went back to using an “old” one (one I know)
-
RE: Weather just won't show up...
Sure
I just don’t wanted to paste it here -
Weather just won't show up...
Hey Guys,
I am crating a new mirror and everything is going well so far, but the weather plugins just won’t show up…
I don’t know why…
My config is fine, cause the Mirror is properly booting and displaying the calendar, the clock and so on.I rebootet it multiple times - any ideas?
{ module: "currentweather", position: "top_right", config: { location: "Rosbach", locationID: "2485160", appid: } }, { module: "weatherforecast", position: "top_right", header: "Vorhersage", config: { location: "Rosbach", locationID: "5128581", appid: " } }, -
RE: MagicMirror² v2.12.0 & MMM-DHT-Sensor (temperatur & humidity)
@BKeyport Nope i did not experienced that…
-
RE: MagicMirror² v2.12.0 & MMM-DHT-Sensor (temperatur & humidity)
YES! FINALLY!
Thank you so very much @sdetweil !!!
That did the trick! :D -
RE: MagicMirror² v2.12.0 & MMM-DHT-Sensor (temperatur & humidity)
@Stef oh and it won’t start… 😕
Again, thank you for your help!
-
RE: MagicMirror² v2.12.0 & MMM-DHT-Sensor (temperatur & humidity)
@sdetweil sorry I couldn’t test it earlier…
pi@mirrorpi:~/MagicMirror/modules $ rm -rf node_modules pi@mirrorpi:~/MagicMirror/modules $ rm package-locj.json rm: das Entfernen von 'package-locj.json' ist nicht möglich: Datei oder Verzeichnis nicht gefunden pi@mirrorpi:~/MagicMirror/modules $ npm install nan + nan@2.14.1 added 1 package from 8 contributors and audited 1330 packages in 76.427s 92 packages are looking for funding run `npm fund` for details found 1 low severity vulnerability run `npm audit fix` to fix them, or `npm audit` for details pi@mirrorpi:~/MagicMirror/modules $ npm audit fix up to date in 56.381s 92 packages are looking for funding run `npm fund` for details fixed 0 of 1 vulnerability in 1295 scanned packages 1 vulnerability required manual review and could not be updated pi@mirrorpi:~/MagicMirror/modules $ npm install > magicmirror@2.12.0 install /home/pi/MagicMirror > echo "Installing vendor files ... " && cd vendor && npm install --loglevel=error Installing vendor files ... audited 150 packages in 14.543s found 8 vulnerabilities (7 low, 1 high) run `npm audit fix` to fix them, or `npm audit` for details > magicmirror@2.12.0 postinstall /home/pi/MagicMirror > npm run install-fonts && echo "MagicMirror installation finished successfully! " > magicmirror@2.12.0 install-fonts /home/pi/MagicMirror > echo "Installing fonts ... " && cd fonts && npm install --loglevel=error Installing fonts ... audited 1 package in 1.136s found 0 vulnerabilities MagicMirror installation finished successfully! audited 1330 packages in 87.2s 92 packages are looking for funding run `npm fund` for details found 1 low severity vulnerability run `npm audit fix` to fix them, or `npm audit` for details pi@mirrorpi:~/MagicMirror/modules $ npm audit fix npm ERR! code ENOAUDIT npm ERR! audit Your configured registry (https://registry.npmjs.org/) may not support audit requests, or the audit endpoint may be temporarily unavailable. npm ERR! audit The server said: <!DOCTYPE html> npm ERR! audit <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]--> npm ERR! audit <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]--> npm ERR! audit <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]--> npm ERR! audit <!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]--> npm ERR! audit <head> npm ERR! audit <meta http-equiv="refresh" content="0"> npm ERR! audit npm ERR! audit <title>prod-frontdoor-lb-west.internal.npmjs.com | 502: Bad gateway</title> npm ERR! audit <meta charset="UTF-8" /> npm ERR! audit <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> npm ERR! audit <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" /> npm ERR! audit <meta name="robots" content="noindex, nofollow" /> npm ERR! audit <meta name="viewport" content="width=device-width,initial-scale=1" /> npm ERR! audit <link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection" /> npm ERR! audit <!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]--> npm ERR! audit <style type="text/css">body{margin:0;padding:0}</style> npm ERR! audit npm ERR! audit npm ERR! audit npm ERR! audit npm ERR! audit </head> npm ERR! audit <body> npm ERR! audit <div id="cf-wrapper"> npm ERR! audit npm ERR! audit npm ERR! audit npm ERR! audit <div id="cf-error-details" class="cf-error-details-wrapper"> npm ERR! audit <div class="cf-wrapper cf-error-overview"> npm ERR! audit <h1> npm ERR! audit npm ERR! audit <span class="cf-error-type">Error</span> npm ERR! audit <span class="cf-error-code">502</span> npm ERR! audit <small class="heading-ray-id">Ray ID: 5bebb812163005b7 • 2020-08-06 21:05:59 UTC</small> npm ERR! audit </h1> npm ERR! audit <h2 class="cf-subheadline">Bad gateway</h2> npm ERR! audit </div><!-- /.error-overview --> npm ERR! audit npm ERR! audit <div class="cf-section cf-highlight cf-status-display"> npm ERR! audit <div class="cf-wrapper"> npm ERR! audit <div class="cf-columns cols-3"> npm ERR! audit npm ERR! audit <div id="cf-browser-status" class="cf-column cf-status-item cf-browser-status "> npm ERR! audit <div class="cf-icon-error-container"> npm ERR! audit <i class="cf-icon cf-icon-browser"></i> npm ERR! audit <i class="cf-icon-status cf-icon-ok"></i> npm ERR! audit </div> npm ERR! audit <span class="cf-status-desc">You</span> npm ERR! audit <h3 class="cf-status-name">Browser</h3> npm ERR! audit <span class="cf-status-label">Working</span> npm ERR! audit </div> npm ERR! audit npm ERR! audit <div id="cf-cloudflare-status" class="cf-column cf-status-item cf-cloudflare-status "> npm ERR! audit <div class="cf-icon-error-container"> npm ERR! audit <i class="cf-icon cf-icon-cloud"></i> npm ERR! audit <i class="cf-icon-status cf-icon-ok"></i> npm ERR! audit </div> npm ERR! audit <span class="cf-status-desc">Frankfurt</span> npm ERR! audit <h3 class="cf-status-name">Cloudflare</h3> npm ERR! audit <span class="cf-status-label">Working</span> npm ERR! audit </div> npm ERR! audit npm ERR! audit <div id="cf-host-status" class="cf-column cf-status-item cf-host-status cf-error-source"> npm ERR! audit <div class="cf-icon-error-container"> npm ERR! audit <i class="cf-icon cf-icon-server"></i> npm ERR! audit <i class="cf-icon-status cf-icon-error"></i> npm ERR! audit </div> npm ERR! audit <span class="cf-status-desc">prod-frontdoor-lb-west.internal.npmjs.com</span> npm ERR! audit <h3 class="cf-status-name">Host</h3> npm ERR! audit <span class="cf-status-label">Error</span> npm ERR! audit </div> npm ERR! audit npm ERR! audit </div> npm ERR! audit npm ERR! audit </div> npm ERR! audit </div><!-- /.status-display --> npm ERR! audit npm ERR! audit <div class="cf-section cf-wrapper"> npm ERR! audit <div class="cf-columns two"> npm ERR! audit <div class="cf-column"> npm ERR! audit <h2>What happened?</h2> npm ERR! audit <p>The web server reported a bad gateway error.</p> npm ERR! audit </div> npm ERR! audit npm ERR! audit <div class="cf-column"> npm ERR! audit <h2>What can I do?</h2> npm ERR! audit <p>Please try again in a few minutes.</p> npm ERR! audit </div> npm ERR! audit </div> npm ERR! audit npm ERR! audit </div><!-- /.section --> npm ERR! audit npm ERR! audit <div class="cf-error-footer cf-wrapper"> npm ERR! audit <p> npm ERR! audit <span class="cf-footer-item">Cloudflare Ray ID: <strong>5bebb812163005b7</strong></span> npm ERR! audit <span class="cf-footer-separator">•</span> npm ERR! audit <span class="cf-footer-item"><span>Your IP</span>: 95.223.72.58</span> npm ERR! audit <span class="cf-footer-separator">•</span> npm ERR! audit <span class="cf-footer-item"><span>Performance & security by</span> <a href="https://www.cloudflare.com/5xx-error-landing?utm_source=error_footer" id="brand_link" target="_blank">Cloudflare</a></span> npm ERR! audit npm ERR! audit </p> npm ERR! audit </div><!-- /.error-footer --> npm ERR! audit npm ERR! audit npm ERR! audit </div><!-- /#cf-error-details --> npm ERR! audit </div><!-- /#cf-wrapper --> npm ERR! audit </body> npm ERR! audit </html> npm ERR! audit npm ERR! audit npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-08-06T21_05_59_816Z-debug.log pi@mirrorpi:~/MagicMirror/modules $ -
RE: MagicMirror² v2.12.0 & MMM-DHT-Sensor (temperatur & humidity)
@sdetweil thanks a million for your effort… unfortunatley, the last command gives me back a bunch of errors… even with sudo…
i ran it for a third time and got this:
pi@mirrorpi:~/MagicMirror/modules/MMM-DHT-Sensor $ node node_modules/.bin/electron-rebuild ✖ Rebuild Failed An unhandled error occurred inside electron-rebuild gyp info it worked if it ends with ok gyp info using node-gyp@6.1.0 gyp info using node@12.14.0 | linux | arm gyp ERR! clean error gyp ERR! stack Error: EACCES: permission denied, unlink 'build/Makefile' gyp ERR! System Linux 4.19.66-v7+ gyp ERR! command "/usr/local/bin/node" "/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/.bin/node-gyp" "rebuild" "--target=6.1.7" "--arch=arm" "--dist-url=https://www.electronjs.org/headers" "--build-from-source" gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node-dht-sensor gyp ERR! node -v v12.14.0 gyp ERR! node-gyp -v v6.1.0 gyp ERR! not ok Failed with exit code: 1 Error: gyp info it worked if it ends with ok gyp info using node-gyp@6.1.0 gyp info using node@12.14.0 | linux | arm gyp ERR! clean error gyp ERR! stack Error: EACCES: permission denied, unlink 'build/Makefile' gyp ERR! System Linux 4.19.66-v7+ gyp ERR! command "/usr/local/bin/node" "/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/.bin/node-gyp" "rebuild" "--target=6.1.7" "--arch=arm" "--dist-url=https://www.electronjs.org/headers" "--build-from-source" gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node-dht-sensor gyp ERR! node -v v12.14.0 gyp ERR! node-gyp -v v6.1.0 gyp ERR! not ok Failed with exit code: 1 at SafeSubscriber._error (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/spawn-rx/lib/src/index.js:267:84) at SafeSubscriber.__tryOrUnsub (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:205:16) at SafeSubscriber.error (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:156:26) at Subscriber._error (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:92:26) at Subscriber.error (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:72:18) at MapSubscriber.Subscriber._error (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:92:26) at MapSubscriber.Subscriber.error (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:72:18) at SafeSubscriber._next (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/spawn-rx/lib/src/index.js:242:65) at SafeSubscriber.__tryOrUnsub (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:205:16) at SafeSubscriber.next (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/rxjs/internal/Subscriber.js:143:22)@Bugsounet which command should i run?
-
RE: MagicMirror² v2.12.0 & MMM-DHT-Sensor (temperatur & humidity)
@sdetweil
Remembered that
Did that
Did not work
Still the same error message… -
MagicMirror² v2.12.0 & MMM-DHT-Sensor (temperatur & humidity)
Hi there,
after updating my Magic Mirror to the latest version, the Modul “MMM-DHT-Sensor” won’t work anymore.
In fact, the MagicMirror “crashes” with a black screen while loading it:[2020-08-02 17:45:35.380] [ERROR] App threw an error during load [2020-08-02 17:45:35.384] [ERROR] Error: The module '/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node-dht-sensor/build/Release/node_dht_sensor.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 64. This version of Node.js requires NODE_MODULE_VERSION 73. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`). at process.func (electron/js2c/asar.js:138:31) at process.func [as dlopen] (electron/js2c/asar.js:138:31) at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18) at Object.func (electron/js2c/asar.js:138:31) at Object.func [as .node] (electron/js2c/asar.js:138:31) at Module.load (internal/modules/cjs/loader.js:645:32) at Function.Module._load (internal/modules/cjs/loader.js:560:12) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_helper.js:11:16) [2020-08-02 17:45:35.394] [ERROR] Whoops! There was an uncaught exception... [2020-08-02 17:45:35.397] [ERROR] Error: The module '/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node-dht-sensor/build/Release/node_dht_sensor.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 64. This version of Node.js requires NODE_MODULE_VERSION 73. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`). at process.func (electron/js2c/asar.js:138:31) at process.func [as dlopen] (electron/js2c/asar.js:138:31) at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18) at Object.func (electron/js2c/asar.js:138:31) at Object.func [as .node] (electron/js2c/asar.js:138:31) at Module.load (internal/modules/cjs/loader.js:645:32) at Function.Module._load (internal/modules/cjs/loader.js:560:12) at Module.require (internal/modules/cjs/loader.js:685:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_helper.js:11:16) [2020-08-02 17:45:35.414] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [2020-08-02 17:45:35.415] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank" [2020-08-02 17:45:35.722] [LOG] Launching application.I already tried a
npm rebuild npm installwith no luck…
Right now, i am dumping my Mirror with dd to my NAS - maybe someone here can has experienced this error as well, or is using another Module, which he/she could recommend.
thank you all
stefan
-
RE: Magic Mirror 2 won't start
I did all this.
pm2 remove did not work (not recognised as a command) so i did a pm2 delete on both instances.All i get now, is a black screen & an error with the Modul “MMM-DHT-Sensor”
[2020-08-02 17:45:35.346] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node-dht-sensor/build/Release/node_dht_sensor.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 64. This version of Node.js requires NODE_MODULE_VERSION 73. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`).If i remove the Folder from the modules, the Mirror boots up.
Since the Mirror is loading now, this Topic can be closed and i will open up another one.
Thanks!
-
RE: Magic Mirror 2 won't start
@sdetweil well… It did not stop… So I forced it
Linux mirrorpi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Jul 31 18:29:29 2020 from 192.168.0.199 pi@mirrorpi:~ $ pm2 logs --lines=100 [TAILING] Tailing last 100 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 100 lines: PM2 | 2020-07-31T23:45:34: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:45:35: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:35: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:45:35: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:45:36: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:36: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:45:36: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:45:36: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:36: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:45:37: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:45:38: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:38: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:45:38: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:45:38: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:38: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:45:38: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:45:41: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:41: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:41: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:45:41: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:45:41: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:45:41: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:45:44: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:44: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:44: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:45:44: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:45:44: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:45:44: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:45:48: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:48: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:48: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:45:48: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:45:48: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:45:48: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:45:51: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:51: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:45:51: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:51: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:45:51: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:45:51: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:45:54: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:54: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:54: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:45:54: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:45:54: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:45:54: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:45:57: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:57: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:45:57: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:45:57: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:45:57: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:45:57: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:46:00: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:00: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:00: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:46:00: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:46:00: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:46:00: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:46:03: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:03: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:03: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:46:03: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:46:03: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:46:03: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:46:05: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:05: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:46:05: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:46:05: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:05: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:46:05: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:46:08: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:08: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:08: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:46:08: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:46:08: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:46:08: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:46:11: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:11: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:11: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:46:11: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:46:11: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:46:11: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:46:12: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:12: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:46:12: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:46:12: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:12: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:46:12: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:46:14: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:14: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:46:14: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:14: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:46:14: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:46:14: PM2 log: App [mm:2] online PM2 | 2020-07-31T23:46:17: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:17: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT] PM2 | 2020-07-31T23:46:17: PM2 log: App [mm:1] starting in -fork mode- PM2 | 2020-07-31T23:46:17: PM2 log: App [mm:2] starting in -fork mode- PM2 | 2020-07-31T23:46:17: PM2 log: App [mm:1] online PM2 | 2020-07-31T23:46:17: PM2 log: App [mm:2] online /home/pi/.pm2/logs/mm-out.log last 100 lines: /home/pi/.pm2/logs/pm2-logrotate-error.log last 100 lines: 0|pm2-logr | [Error: ENOENT: no such file or directory, unlink '/home/pi/.pm2/logs/mm-error__2020-07-15_00-00-00.log'] { 0|pm2-logr | errno: -2, 0|pm2-logr | code: 'ENOENT', 0|pm2-logr | syscall: 'unlink', 0|pm2-logr | path: '/home/pi/.pm2/logs/mm-error__2020-07-15_00-00-00.log' 0|pm2-logr | } 0|pm2-logr | [Error: ENOENT: no such file or directory, unlink '/home/pi/.pm2/logs/mm-error__2020-07-16_20-14-10.log'] { 0|pm2-logr | errno: -2, 0|pm2-logr | code: 'ENOENT', 0|pm2-logr | syscall: 'unlink', 0|pm2-logr | path: '/home/pi/.pm2/logs/mm-error__2020-07-16_20-14-10.log' 0|pm2-logr | } 0|pm2-logr | [Error: ENOENT: no such file or directory, unlink '/home/pi/.pm2/logs/mm-error__2020-07-17_00-01-34.log'] { 0|pm2-logr | errno: -2, 0|pm2-logr | code: 'ENOENT', 0|pm2-logr | syscall: 'unlink', 0|pm2-logr | path: '/home/pi/.pm2/logs/mm-error__2020-07-17_00-01-34.log' 0|pm2-logr | } 0|pm2-logr | [Error: ENOENT: no such file or directory, unlink '/home/pi/.pm2/logs/mm-error__2020-07-17_13-46-14.log'] { 0|pm2-logr | errno: -2, 0|pm2-logr | code: 'ENOENT', 0|pm2-logr | syscall: 'unlink', 0|pm2-logr | path: '/home/pi/.pm2/logs/mm-error__2020-07-17_13-46-14.log' 0|pm2-logr | } /home/pi/.pm2/logs/pm2-logrotate-out.log last 100 lines: 0|pm2-logr | "/home/pi/.pm2/logs/pm2-logrotate-out__2020-07-31_00-00-13.log" has been created 0|pm2-logr | "/home/pi/.pm2/logs/pm2-logrotate-error__2020-07-31_00-00-13.log" has been created 0|pm2-logr | "pm2-logrotate-out__2020-06-24_00-00-14.log" has been deleted 0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_00-00-13.log" has been created 0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_00-00-13.log" has been created 0|pm2-logr | "mm-error__2020-07-15_00-00-00.log" has been deleted 0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_06-12-22.log" has been created 0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_06-12-22.log" has been created 0|pm2-logr | "mm-error__2020-07-16_20-14-10.log" has been deleted 0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_12-19-24.log" has been created 0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_12-19-24.log" has been created 0|pm2-logr | "mm-error__2020-07-17_00-01-34.log" has been deleted 0|pm2-logr | "/home/pi/.pm2/pm2__2020-07-31_13-01-24.log" has been created 0|pm2-logr | "pm2__2020-06-17_14-07-43.log" has been deleted 0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_18-29-27.log" has been created 0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_18-29-27.log" has been created 0|pm2-logr | "mm-error__2020-07-17_13-46-14.log" has been deleted /home/pi/.pm2/logs/mm-error.log last 100 lines: 1|mm | npm ERR! enoent 1|mm | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' 1|mm | npm ERR! enoent This is related to npm not being able to find a file. 1|mm | npm ERR! enoent 1|mm | 1|mm | 1|mm | npm ERR! A complete log of this run can be found in: 1|mm | npm ERR! /home/pi/.npm/_logs/2020-07-31T21_46_08_015Z-debug.log 1|mm | npm ERR! A complete log of this run can be found in: 1|mm | npm ERR! /home/pi/.npm/_logs/2020-07-31T21_46_08_015Z-debug.log 1|mm | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden 1|mm | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden 1|mm | npm npm ERR! code ENOENT 1|mm | ERR! code ENOENT 1|mm | npm ERR! syscallnpm ERR! syscall open 1|mm | npm ERR! open 1|mm | npm ERR! path /home/pi/package.json 1|mm | npm path /home/pi/package.json 1|mm | npm ERR! errno -2 1|mm | ERR! errno -2 1|mm | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' 1|mm | npm ERR! enoent This is related to npm not being able to find a file. 1|mm | npm ERR! enoent 1|mm | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' 1|mm | npm ERR! enoent This is related to npm not being able to find a file. 1|mm | npm ERR! enoent 1|mm | 1|mm | 1|mm | npm ERR! A complete log of this run can be found in: 1|mm | npm ERR! /home/pi/.npm/_logs/2020-07-31T21_46_10_895Z-debug.log 1|mm | npm ERR! A complete log of this run can be found in: 1|mm | npm ERR! /home/pi/.npm/_logs/2020-07-31T21_46_10_894Z-debug.log 1|mm | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden 1|mm | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden 1|mm | npm ERR! code ENOENT 1|mm | npm ERR! syscall open 1|mm | npm ERR! path /home/pi/package.json 1|mm | npm ERR! errno -2 1|mm | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' 1|mm | npm ERR! enoent This is related to npm not being able to find a file. 1|mm | npm ERR! enoent 1|mm | npm ERR! code ENOENT 1|mm | npm ERR! syscall open 1|mm | npm ERR! path /home/pi/package.json 1|mm | npm ERR! errno -2 1|mm | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' 1|mm | npm ERR! enoent This is related to npm not being able to find a file. 1|mm | npm ERR! enoent 1|mm | 1|mm | npm ERR! A complete log of this run can be found in: 1|mm | npm ERR! /home/pi/.npm/_logs/2020-07-31T21_46_12_794Z-debug.log 1|mm | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden 1|mm | 1|mm | npm ERR! A complete log of this run can be found in: 1|mm | npm ERR! /home/pi/.npm/_logs/2020-07-31T21_46_12_823Z-debug.log 1|mm | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden 1|mm | npm ERR! code ENOENT 1|mm | npm ERR! code ENOENT 1|mm | npm ERR! syscall open 1|mm | npm ERR! path /home/pi/package.json 1|mm | npm ERR! errno -2 1|mm | npm ERR! syscall open 1|mm | npm ERR! path /home/pi/package.json 1|mm | npm ERR! errno -2 1|mm | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' 1|mm | npmnpm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' 1|mm | npm ERR! enoent This is related to npm not being able to find a file. 1|mm | npm ERR! enoent 1|mm | ERR! enoent This is related to npm not being able to find a file. 1|mm | npm ERR! enoent 1|mm | 1|mm | 1|mm | npm ERR! A complete log of this run can be found in: 1|mm | npm ERR!npm ERR! A complete log of this run can be found in: 1|mm | npm ERR! /home/pi/.npm/_logs/2020-07-31T21_46_14_790Z-debug.log 1|mm | /home/pi/.npm/_logs/2020-07-31T21_46_14_793Z-debug.log 1|mm | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden 1|mm | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden 1|mm | npm ERR! code ENOENT 1|mm | npm ERR! syscall open 1|mm | npm ERR! path /home/pi/package.json 1|mm | npm ERR! errno -2 1|mm | npm ERR! code ENOENT 1|mm | npm ERR! npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' 1|mm | npm ERR! enoent This is related to npm not being able to find a file. 1|mm | npm ERR! enoent 1|mm | syscall open 1|mm | npm ERR! path /home/pi/package.json 1|mm | npm ERR! errno -2 1|mm | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' 1|mm | npm ERR! enoent This is related to npm not being able to find a file. 1|mm | npm ERR! enoent 1|mm | 1|mm | 1|mm | npm ERR! A complete log of this run can be found in: 1|mm | npm ERR! /home/pi/.npm/_logs/2020-07-31T21_46_16_929Z-debug.log 1|mm | npm ERR! A complete log of this run can be found in: 1|mm | npm ERR! /home/pi/.npm/_logs/2020-07-31T21_46_16_923Z-debug.log 1|mm | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden 1|mm | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden 1|mm | npm 2|mm | npm 1|mm | ERR! code ENOENT 1|mm | npm 1|mm | ERR! syscall open 1|mm | npm ERR! 1|mm | path /home/pi/package.json 2|mm | ERR! code ENOENT 2|mm | npm 1|mm | npm ERR! errno -2 2|mm | ERR! syscall open 2|mm | npm ERR! 2|mm | path /home/pi/package.json 2|mm | npm ERR! errno 2|mm | -2 1|mm | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' 1|mm | npm ERR! enoent 1|mm | This is related to npm not being able to find a file. 1|mm | npm ERR! enoent 2|mm | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' 2|mm | npm ERR! enoent This is related to npm not being able to find a file. 2|mm | npm 2|mm | ERR! enoent 1|mm | npm ERR! A complete log of this run can be found in: 1|mm | npm ERR! /home/pi/.npm/_logs/2020-07-31T21_46_21_246Z-debug.log 2|mm | npm ERR! A complete log of this run can be found in: 2|mm | npm ERR! /home/pi/.npm/_logs/2020-07-31T21_46_21_253Z-debug.log PM2 | App [mm:1] exited with code [254] via signal [SIGINT] PM2 | App [mm:2] exited with code [254] via signal [SIGINT] PM2 | App [mm:1] starting in -fork mode- PM2 | App [mm:2] starting in -fork mode- PM2 | App [mm:1] online PM2 | App [mm:2] online 1|mm | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden 2|mm | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden 1|mm | npm 2|mm | npm ERR! code 1|mm | ERR! code ENOENT 1|mm | npm ERR! syscall open 1|mm | npm ERR! path /home/pi/package.json 1|mm | npm ERR! errno -2 2|mm | ENOENT 2|mm | npm ERR! syscall open 2|mm | npm ERR! path /home/pi/package.json 2|mm | npm ERR! errno -2 2|mm | npm ERR! enoent 2|mm | ENOENT: no such file or directory, open '/home/pi/package.json' 2|mm | npm ERR! enoent This is related to npm not being able to find a file. 2|mm | npm ERR! 1|mm | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' 1|mm | npm ERR! enoent This is related to npm not being able to find a file. 1|mm | npm ERR! enoent 2|mm | enoent 2|mm | npm ERR! A complete log of this run can be found in:2|mm | npm ERR! /home/pi/.npm/_logs/2020-07-31T21_46_23_904Z-debug.log 1|mm | npm ERR! A complete log of this run can be found in:1|mm | npm ERR! /home/pi/.npm/_logs/2020-07-31T21_46_23_900Z-debug.log PM2 | App [mm:1] exited with code [254] via signal [SIGINT] PM2 | App [mm:2] exited with code [254] via signal [SIGINT] PM2 | App [mm:1] starting in -fork mode- PM2 | App [mm:2] starting in -fork mode- PM2 | App [mm:1] online PM2 | App [mm:2] online 1|mm | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden 2|mm | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden ^C pi@mirrorpi:~ $ -
RE: Magic Mirror 2 won't start
@sdetweil Sorry, i forgot about the Release notes…
I did this, the error is gone but i still have around 50% CPU load, the autostart is not working and i have a black screen when i start the mirror manually…
Any ideas?