it should look like this
/home/pi/MagicMirror/vendor/node_modules/momentdo you have a package.json file in
I have a directory
vendor.js but noting more.
I now used npn version 2.14.7 (checked by
npm -version) to
cd ~/MagicMirror/vendor npm install
npm WARN package.json magicmirror-vendors@ No README data email@example.com node_modules/font-awesome firstname.lastname@example.org node_modules/moment-timezone email@example.com node_modules/weathericons firstname.lastname@example.org node_modules/moment
and the folder
/home/pi/MagicMirror/vendor/node_modules/moment that you mentioned before was created.
I then rebootet (not sure if necessary) and it seems to work (I see the date and time, holidays,quote…). I’ll now set everything up but it looks way better then before.
So thanks a lot for your help!! I hope that your fix also works for the other people who have the same problem.
Just to understand the fix a bit better:
Is there a reason that one seem to have to do run
sudo npm install once in
/home/pi/MagicMirror/ (this is already included in the initial post) and once
npm install in
/home/pi/MagicMirror/vendor/? (this is not mentioned in the initial post and also not directly done by the standard installer (that does not work for the pi-Zero) located in
/home/pi/MagicMirror/installers/raspberry.sh (at least I don’t see it therein).