• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Can't Install: Segmentation Fault when Installing Fonts

Scheduled Pinned Locked Moved Unsolved Troubleshooting
13 Posts 3 Posters 1.7k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    sdetweil @jg3
    last edited by Apr 5, 2020, 11:25 AM

    @jg3 can u show me the ~/install.log

    I suspect its a downlevel npm problem… 6.13.4 is the latest on buster on my pi 3 and 4

    so, u are running and arm (pi) virtual machine, on an intel box (esx)?

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    J 1 Reply Last reply Apr 5, 2020, 1:19 PM Reply Quote 0
    • J Offline
      jg3 @sdetweil
      last edited by Apr 5, 2020, 1:19 PM

      @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:~ $
      
      S 1 Reply Last reply Apr 5, 2020, 1:27 PM Reply Quote 0
      • S Offline
        sdetweil @jg3
        last edited by Apr 5, 2020, 1:27 PM

        @jg3 hm… i would erase the ~/.npm folder (rm -rf ~/.npm) and try install again

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Apr 5, 2020, 1:46 PM Reply Quote 0
        • J Offline
          jg3 @sdetweil
          last edited by Apr 5, 2020, 1:46 PM

          @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.

          S 2 Replies Last reply Apr 5, 2020, 1:50 PM Reply Quote 0
          • S Offline
            sdetweil @jg3
            last edited by sdetweil Apr 5, 2020, 2:14 PM Apr 5, 2020, 1:50 PM

            @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

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @jg3
              last edited by Apr 5, 2020, 3:18 PM

              @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…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              S J 2 Replies Last reply Apr 5, 2020, 3:44 PM Reply Quote 1
              • S Offline
                sdetweil @sdetweil
                last edited by Apr 5, 2020, 3:44 PM

                @sdetweil @jg3 I have added code to the installer and updater to handle this problem… for buster and x64 combo

                give it a try (rename MM folder 1st)…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jg3 @sdetweil
                  last edited by Apr 6, 2020, 1:35 AM

                  @sdetweil Great! That fixed it right up. Thank you! (:

                  S 1 Reply Last reply Apr 6, 2020, 1:48 AM Reply Quote 0
                  • S Offline
                    sdetweil @jg3
                    last edited by Apr 6, 2020, 1:48 AM

                    @jg3 awesome… thanks for the feedback and testing time

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 1 / 2
                    1 / 2
                    • First post
                      9/13
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy