@sdetweil So i should delete the package-lock.json file, then run
cd ~/MagicMirror
git checkout develop
git pull
and then restart mm?
@sdetweil So i should delete the package-lock.json file, then run
cd ~/MagicMirror
git checkout develop
git pull
and then restart mm?
@sdetweil So i tried that and it said “error: Your local changes to the following files would be overwritten by checkout:
package-lock.json
Please commit your changes or stash them before you switch branches.
Aborting”
but i havent edited the package-lock.json, so i don’t know why its saying that. Since the problems started when i ran the update, i’m nervous to mess with anything again.
rebooted this morning, reinstalled a module, and everything is back except the weather only shows 2 days. Thank you again for your help Sam.
ok, mostly back. My calendar and news feed is still stuck on loading, but everything else is back up. I will post some error logs later after i poke around.
Sam, thank you so much for your help. It is really appreciated.
@sdetweil when I out the whole line in, it said fatal too many arguments. I made a new folder called mm and did the git clone of the site.
Forgot to run npm install, will do that and post results.
@sdetweil I have no idea what happened. I ran the update, restarted, and nothing worked.
So, the command git checkout and nothing seemed to happen. I removed the folder and did the git clone of the directory. I tried to do git mm and it said mm is not a git command. I tried to run the last line you gave me, and it said no such file or directory.
I really appreciate all your work on this.
@sdetweil I’m running rasbian like the tutorial suggests.
That command gave me: “pi@raspberrypi:~/MagicMirror $ ls modules/default -laF
total 12
drwxr-xr-x 2 pi pi 4096 Jul 3 08:21 ./
drwxr-xr-x 3 pi pi 4096 Jul 3 08:21 …/
-rw-r–r-- 1 pi pi 512 Jul 3 08:21 defaultmodules.js”
@sdetweil main.js:478 Initializing MagicMirror.
translator.js:202 Loading core translation file: translations/en.json
translator.js:227 Loading core translation fallback file: translations/en.json
loader.js:175 Load script: modules/default/alert//alert.js
:8080/modules/default/alert//alert.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/alert//alert.js
script.onerror @ loader.js:185
loader.js:175 Load script: modules/default/updatenotification//updatenotification.js
:8080/modules/default/updatenotification//updatenotification.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/updatenotification//updatenotification.js
script.onerror @ loader.js:185
loader.js:175 Load script: modules/default/clock//clock.js
:8080/modules/default/clock//clock.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/clock//clock.js
script.onerror @ loader.js:185
loader.js:175 Load script: modules/default/calendar//calendar.js
:8080/modules/default/calendar//calendar.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/calendar//calendar.js
script.onerror @ loader.js:185
loader.js:175 Load script: modules/default/compliments//compliments.js
:8080/modules/default/compliments//compliments.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/compliments//compliments.js
script.onerror @ loader.js:185
loader.js:175 Load script: modules/default/currentweather//currentweather.js
:8080/modules/default/currentweather//currentweather.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/currentweather//currentweather.js
script.onerror @ loader.js:185
loader.js:175 Load script: modules/default/weatherforecast//weatherforecast.js
:8080/modules/default/weatherforecast//weatherforecast.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/weatherforecast//weatherforecast.js
script.onerror @ loader.js:185
loader.js:175 Load script: modules/default/newsfeed//newsfeed.js
:8080/modules/default/newsfeed//newsfeed.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:185 Error on loading script: modules/default/newsfeed//newsfeed.js
script.onerror @ loader.js:185
loader.js:194 Load stylesheet: css/custom.css
main.js:496 All modules started!
/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:95 Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
protocols.This exposes users of this app to unnecessary security risks.
Consider loading the following resources over HTTPS or FTPS.
For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
warnAboutInsecureResources @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:95
/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:145 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
Policy set or a policy with “unsafe-eval” enabled. This exposes users of
this app to unnecessary security risks.
For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
(anonymous) @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:145
@sdetweil ok, progress. It started magic mirror with a black screen and no mouse. Before it was a black screen with the mouse, and it said electron instead of magic mirror 2. I rebooted and tried to reload my config.js, but it didn’t help.