Read the statement by Michael Teeuw here.
Cannot find module "moment"
-
-
-
@uok825 but we just checked out the older copy, so it should be unchanged now…
git diff package.json
-
-
@uok825 right, says no changes…
grep start package.json
-
@sdetweil said in Cannot find module "moment":
grep start package.json
Can you give me a Reputation. I cant reply you fast.

-
@uok825 hm… but that’s different than master, shouldn’t be.
git stash
git checkout master -
-
@uok825 yay!!!
run upgrade apply
-
@sdetweil
It is not normal i think. I am about to cry. How can i check my MagicMirror version? -
@uok825 but u had it downloaded already
grep version package.json
u were on develop
so either 2.13 or 2.12 -
-
@uok825 run the upgrade script from installers
like u were doingor run just the curl… part of the whole command so we can see the error
-
@sdetweil NEVER EVER SUDO!!!
-
@sdetweil Okey im sorry. Now run just
curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh
-
cd ~ MagicMirror/installers/upgrade-script.sh apply -
@sdetweil
Access denied -
@uok825 ah, didn’t mark executable
cd ~ chmod +x MagicMirror/installers/upgrade-script.sh MagicMirror/installers/upgrade-script.sh apply -
-
@uok825 when I do the curl i get
curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh #!/bin/bash # only DO npm installs when flag is set to 1 # test when set to 0 true=1 ....... plus all the rest of the script.u have a networking problem going on …
warning, upgrade might fail as IT will try to download new files too
yes, the upgrade uses curl to get the new package.json file to check the version
remote_version=$(curl -s https://raw.githubusercontent.com/MichMich/MagicMirror/master/package.jsonand it also fails…
SO… u need to solve that… are you using pihole somewhere?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login





