Read the statement by Michael Teeuw here.
Cannot find module "moment"
-
@sdetweil I haven’t upgraded since 2020. Now when I run your script, nothing happens?
-
@uok825 cut and paste the whole line from the github page, right
-
@sdetweil Yeah.
-
@uok825 hm, that means the curl to get the script is failing
-
@sdetweil I can get a new file called upgrade-script.sh and paste all code in it? Thats will work i think?
-
@uok825 yes should
i am in the car for another half an hour
-
@sdetweil Okey. I will do ./upgrade-script.sh right?
-
@uok825 yes, and with apply as parm
-
@sdetweil said in Cannot find module "moment":
@uok825 yes, and with apply as parm
pi@raspberrypi:~/MagicMirror $ bash upgrade-script.sh apply
No LSB modules are available.
doing test run = false
update log will be in /home/pi/MagicMirror/installers/upgrade.logsaving custom.css
reverting to master branch from develop, saving changed files
saving file package.json as package.json.save before switch back to master branch
restoring file package.json before switch back to master branch
error: you need to resolve your current index first
unable to change back to master branch, stopping execution -
@uok825 said in Cannot find module "moment":
you need to resolve your current index first
looks like some attempt to merge failed
run this in the MagicMirror folder
git diff --name-only --diff-filter=U