Read the statement by Michael Teeuw here.
Cannot find module "moment"
-
-
@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
-
@sdetweil said in Cannot find module "moment":
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.json
and it also fails…
SO… u need to solve that… are you using pihole somewhere?
-
@sdetweil AHHHHHHH! Just remembered my other raspberry is stuck on internet too. I change my router so my router adress is changed from 192.168.1.1 to 192.168.1.3 but in my /etc/dhcpcd.conf still 192.168.1.1 here sorry for bother you. Trying again.