Read the statement by Michael Teeuw here.
Cannot find module "moment"
-
@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
-
@sdetweil
pi@raspberrypi:~/MagicMirror $ git diff --name-only --diff-filter=U
package-lock.json
-
@uok825 that’s weird. that file is rebuilt every install
rm package-lock.json
then
git status
and git branchalso, connect via ssh, then everything will be in text so you can just copy/paste
-
@sdetweil rm: ‘package-lock.json’ cant deleted: No such a file or folder.
-
@uok825 ok, still weird
do git checkout master
-
@sdetweil said in Cannot find module "moment":
git checkout master