I am trying to install MagicMirror on a Raspberry Pi virtual machine. I am using the Raspberry Pi distribution 2019-09-25-rpd-x86-buster.iso running with Oracle VirtualBox on a MacBook Pro running OS X 10.12.6.
The install fails when npm experiences a segmentation fault when installing fonts.
Here is the error output:
We’ll remove from the repository the css/custom.css
This script apply git update-index --skip-worktree css/custom.css
rm ‘css/custom.css’
MagicMirror installation successful!
magicmirror@2.9.0 install-fonts /home/pi/MagicMirror
cd fonts && npm install
Segmentation fault.] \ extract:roboto-fontface: verb lock using /home/pi/.npm/
npm ERR! code ELIFECYCLE
npm ERR! errno 139
npm ERR! magicmirror@2.9.0 install-fonts: cd fonts && npm install
npm ERR! Exit status 139
npm ERR!
npm ERR! Failed at the magicmirror@2.9.0 install-fonts script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-12-27T23_47_49_618Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 139
npm ERR! magicmirror@2.9.0 postinstall: sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts
npm ERR! Exit status 139
npm ERR!
npm ERR! Failed at the magicmirror@2.9.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-12-27T23_47_49_670Z-debug.log
Unable to install dependencies!
I am new to Magic Mirror and I’m not sure how to move past this failure. Any advice that you can offer would be greatly appreciated.
Thanks!