Read the statement by Michael Teeuw here.
node problem : I can't update my MM and MM disappears from my screen after reboot
-
I do
cd ~/MagicMirror/modules/MMM-DHT-Sensor npm install
then
cd ~/MagicMirror npm start
then
cd ~/MagicMirror/modules/MMM-GoogleAssistant npm run update npm run refresh
then
pm2 restart 0
then
sudo reboot now
and finally everything works well
thank you for your help
-
@RIKKO14 thank you. upgrade script should have done npm install for the dht-sensor module. will check why not
-
@sdetweil that’s why I write +/- the same with
npm run refresh
for the same problem (some libraries disappear with the change of mode version or need to be rebuilded) but it’s limited to my own modules -
@bugsounet if the module is installed in the base folder, but not referenced In package.json it will be removed on next npm install for security
I check for rebuild not refresh… will fix upgrade
-
@sdetweil sure, that why i use my “Installer core”. All script are inside, I just have to call it ;)
-
can either of you run this on your French systems
LC_ALL=C free -m
should output in english
-
@sdetweil Hello,
it scares me, my MM has been working perfectly lately. I’m worried that by making this script it will upset something. what is it to do and should it be done directly in the terminal or in the MM folder? -
@RIKKO14 just one command run in terminal
returns amount of memory being used
my scripts use this an depend on the English text,
trying to make sure it comes out in English is all.has no affect on system
-
@RIKKO14
If your MM worked fine and you don’t have any MUST-UPDATE needs, Just don’t update . Leave it as it was. -
here it is :