Read the statement by Michael Teeuw here.
Can't Install: Segmentation Fault when Installing Fonts
-
@sdetweil Hi Sam, thanks for the reply.
I’m running raspberry pi on an emulated x86 processor:
pi@raspberry:~ $ uname -a Linux raspberry 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux
Below is my ~/install.log. Because the error comes at the very, very end of the install things seem to work OK, but some MM modules will show the same error when they install. Also note that I had installed and updated npm before running the installer.
pi@raspberry:~ $ more install.log install starting - Sun Apr 5 02:03:49 EDT 2020 installing on x86_64 processor system the os is Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster user stopped install on x86_64 hardware install starting - Sun Apr 5 02:10:26 EDT 2020 installing on x86_64 processor system the os is Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster Updating packages ... Hit:1 http://security.debian.org buster/updates InRelease Hit:2 https://deb.nodesource.com/node_10.x buster InRelease Hit:3 http://archive.ras pberrypi.org/debian buster InRelease Hit:4 http://ftp.debian.org/debian buster InRelease Hit:5 http://ftp.debian.org/debian buster-updates InR elease Reading package lists... apt-get update completed ok apt-get upgrade started apt upgrade result =rc=0 Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Installing helper tools ... Reading package lists... Building dependency tree... Reading state information... build-essential is already the newest version (12.6). git is already the newest version (1:2.20.1-2+deb10u1). unzip is already the newest version (6.0-23+deb10u1). wget is already the newest version (1.20.1-1.1). wget set to manually installed. curl is already the newest version (7.64.0-4+deb10u1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v10.1.0 Installed Node version: v10.15.2 No Node.js upgrade necessary. Check current NPM installation ... NPM currently installed. Checking version number. Minimum npm version: V6.0.0 Installed npm version: V6.14.4 No npm upgrade necessary. Cloning MagicMirror ... Cloning MagicMirror Done! Installing dependencies ... Unable to install dependencies! install starting - Sun Apr 5 02:11:06 EDT 2020 installing on x86_64 processor system the os is Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster Updating packages ... Hit:1 http://security.debian.org buster/updates InRelease Hit:2 https://deb.nodesource.com/node_10.x buster InRelease Hit:3 http://archive.ras pberrypi.org/debian buster InRelease Hit:4 http://ftp.debian.org/debian buster InRelease Hit:5 http://ftp.debian.org/debian buster-updates InR elease Reading package lists... apt-get update completed ok apt-get upgrade started apt upgrade result =rc=0 Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Installing helper tools ... Reading package lists... Building dependency tree... Reading state information... build-essential is already the newest version (12.6). git is already the newest version (1:2.20.1-2+deb10u1). unzip is already the newest version (6.0-23+deb10u1). wget is already the newest version (1.20.1-1.1). curl is already the newest version (7.64.0-4+deb10u1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v10.1.0 Installed Node version: v10.15.2 No Node.js upgrade necessary. Check current NPM installation ... NPM currently installed. Checking version number. Minimum npm version: V6.0.0 Installed npm version: V6.14.4 No npm upgrade necessary. It seems like MagicMirror is already installed. To prevent overwriting, the installer will be aborted. Please rename the ~/MagicMirror folder and try again. If you want to upgrade your installation run upgrade-script from the ~/MagicMirror/installers directory. install starting - Sun Apr 5 02:11:40 EDT 2020 installing on x86_64 processor system the os is Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster Updating packages ... Hit:1 http://security.debian.org buster/updates InRelease Hit:2 https://deb.nodesource.com/node_10.x buster InRelease Hit:3 http://archive.ras pberrypi.org/debian buster InRelease Hit:4 http://ftp.debian.org/debian buster InRelease Hit:5 http://ftp.debian.org/debian buster-updates InR elease Reading package lists... apt-get update completed ok apt-get upgrade started apt upgrade result =rc=0 Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Installing helper tools ... Reading package lists... Building dependency tree... Reading state information... build-essential is already the newest version (12.6). git is already the newest version (1:2.20.1-2+deb10u1). unzip is already the newest version (6.0-23+deb10u1). wget is already the newest version (1.20.1-1.1). curl is already the newest version (7.64.0-4+deb10u1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v10.1.0 Installed Node version: v10.15.2 No Node.js upgrade necessary. Check current NPM installation ... NPM currently installed. Checking version number. Minimum npm version: V6.0.0 Installed npm version: V6.14.4 No npm upgrade necessary. Cloning MagicMirror ... Cloning MagicMirror Done! Installing dependencies ... Unable to install dependencies! pi@raspberry:~ $
-
@jg3 hm… i would erase the ~/.npm folder (rm -rf ~/.npm) and try install again
-
@sdetweil Because you’d recommended that to the OP I gave that a try but it didn’t make a difference.
Like I said, the MM is running now but I’d be a lot more comfortable if I could get to the bottom of this and a couple of other small things.
Thank you kindly for the replies.
-
@jg3 k, tell me how you set that up so I can try to recreate…
i have virtualbox, and vmware Workstation… no esx around tho
I run macOS catalina, Ubuntu 19.04, and Zorin vms and install MM on all of them without problem
(VMs under vmware). my vmware host is either windows 10 or Ubuntu Mate 18.04 (dual boot)ah, i see raspian for x86… downloading now
-
@jg3 ok, this is a bug in the installer for the roboto-fontface package
if u edit the ~/MagicMirror/fonts/package.json, and change
"dependencies": { "roboto-fontface": "^0.8.0" }
to
"dependencies": { "roboto-fontface": "latest" }
it will work…
-
-
@sdetweil Great! That fixed it right up. Thank you! (:
-
@jg3 awesome… thanks for the feedback and testing time