Read the statement by Michael Teeuw here.
Node/ npm error? Blank magicmirror. Please help - desperate, frustrated and grateful for the right direction
-
@Mykle1 How do you update npm - when I do this, would I have to run
npm install
in each module folder again?The mirror works with default configuration just fine. I will try disabling them one by one.
I did use the usual script
bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
. How is @sdetweil’s script different? -
Thanks all - I will install dependencies and try to add modules one by one. Is there a way to backup my installation if I do decide to reinstall using @sdetweil 's script? Would just copying the whole ~/MagicMirror folder work?
-
@nakulbende the one you used hasn’t been updated in quite some time…
quite a few things have changed…my scipt, which will replace the current one on next release, has been updated and tested for about 6 months.
see here
https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installerthere is also a new version update script, that will help migrate from one MM release to another…
see here https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testingto ‘backup’. just rename the MagicMirror folder, no copy, no delete…
-
@nakulbende install assumes that NO previous installation exists…so, no MagicMirror folder.
the installer and updater both create log files so we can see what happened at the time.
the original does not -
@nakulbende said in Node/ npm error? Blank magicmirror. Please help - desperate, frustrated and grateful for the right direction:
How do you update npm - when I do this, would I have to run npm install in each module folder again?
I see @sdetweil has been in contact with you. You’re in good hands. Follow his directions and advice. I’m pretty sure his installer will install the correct versions of node and npm so you won’t have to do anything regarding that. Any modules you install after that (that require dependencies) will need you run
npm install
in their respective folders. -
@sdetweil - your script worked flawlessly, and everything just works. I have a few kinks to sort out but it is looking like i can finish my wife’s gift before christmas after all. I can’t thank you enough!
:folded_hands_medium_skin_tone: :person_bowing_medium_skin_tone:
Thank you all for pointing me in the right direction!
-
@nakulbende cool… glad it helped…
come on back if you find some other problem!
-
@nakulbende oh, great you sorted it out! My recommendation on Reddit to join this forum was not that bad😁. Another happy builder on bord!