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

Library error after full reinstallation (full version Raspbian and MagicMirror version 2.5.0)

Scheduled Pinned Locked Moved Unsolved Troubleshooting
9 Posts 7 Posters 3.5k Views 5 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.
  • J Offline
    JevanHa
    last edited by JevanHa Dec 29, 2018, 11:07 AM Dec 28, 2018, 9:26 PM

    it was really required that I completly reinstall the Raspbian pi 3B+ sd card. Format, first install the full Rasbian latest version. After that I run update & upgrade and also the firmware update. Then I searched and found the MagicMirror installer I used before:

    bash -c “$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)”.

    But this ended with the error not installed npm. I read that I was not the first one with this problem. So I desidded to continue with the manual installation as descripted in the same MM installation document. First nodejs and then npm. But after the npm installation he advised me to run npm audit and npm audit fix. I have to do it several time. So most of the errors are solved.

    Hopefully I start Magic Mirror and got a library error i don’t know how to fix.
    /home/pi/MagicMirror/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libc.so.6: version GLIBC_2.27' not found (required by /home/pi/MagicMirror/node_modules/electron/dist/electron) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.5.0 start: sh run-start.sh`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the magicmirror@2.5.0 start 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/2018-12-28T21_06_45_195Z-debug.log

    Is this a known error with for met a simple solution to solve this problem?

    Who will help me with this error.

    Kind regards
    Jan

    M 1 Reply Last reply Dec 31, 2018, 10:09 AM Reply Quote 0
    • M Offline
      makepluscode
      last edited by Dec 30, 2018, 3:03 PM

      @jevanha said in Library error after full reinstallation (full version Raspbian and MagicMirror version 2.5.0):

      it was really required that I completly reinstall the Raspbian pi 3B+ sd card. Format, first install the full Rasbian latest version. After that I run update & upgrade and also the firmware update. Then I searched and found the MagicMirror installer I used before:

      Re: Unable to install dependencies - npm not found

      With Rasbian of 2018-11-13, I had the same issue. So I install only npm,

      sudo apt-get install npm
      sudo npm install -g npm@latest
      

      Also I used the pre-built node which is 8.x in the latest version of Rasbian.
      While I install, I made a video and please check https://youtu.be/UBgH5hejYtM.

      Thanks,

      Dependency Versions

      1. OS : 2018-11-13-raspbian-stretch-full.img
      2. MagicMirror2 : 2.5.0
      3. MMM-Hotword : 1.1.0
      4. MMM-AssistantMk2 : 2.1.2
      J 1 Reply Last reply Dec 31, 2018, 5:59 AM Reply Quote 1
      • J Offline
        JevanHa @makepluscode
        last edited by Dec 31, 2018, 5:59 AM

        @makepluscode
        Hello thanks for your reaction and advise. Lot’s of work to do for me ;-). Nice job to do tomorrow at News Years day.

        For tonight have a nice evening but be carefull with fireworks and a Happy New Year.

        I’ll let you know about my result.

        Regards
        Jan

        J 1 Reply Last reply Jan 7, 2019, 11:58 AM Reply Quote 0
        • M Offline
          mdhenriksen @JevanHa
          last edited by Dec 31, 2018, 10:09 AM

          @jevanha Getting the same error on my second MM, haven’t fiddled around with it much yet though. Will let you know when I have looked at it. 😄

          1 Reply Last reply Reply Quote 0
          • C Offline
            cirdan
            last edited by Dec 31, 2018, 3:51 PM

            Did a full reinstall last week. Last version os contains node, but misses npm. After installing npm the mm install script worked. I had to delete the MagicMirror directory which was kept from the first failed install

            Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

            1 Reply Last reply Reply Quote 1
            • S Away
              sdetweil
              last edited by Dec 31, 2018, 5:35 PM

              This needs a script to check for npm and node, and install right version

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • J Offline
                JevanHa @JevanHa
                last edited by Jan 7, 2019, 11:58 AM

                @jevanha
                After completly reinstalling MagicMirror 250 works. Thank you for your wonderfull documented installation manual.

                1 Reply Last reply Reply Quote 0
                • B Offline
                  bhepler Module Developer
                  last edited by bhepler Jan 8, 2019, 2:09 AM Jan 8, 2019, 2:08 AM

                  Couple things:

                  • Please use the Markdown features of the board when posting code and logs.
                  • I would advise against using the Magic Mirror installation script at this time. It hasn’t been tested as well as the rest of the system. Perform a manual installation for better results.
                  • Please remember to mark this topic as solved.
                  S 1 Reply Last reply Jan 9, 2019, 8:14 AM Reply Quote 0
                  • S Offline
                    shbatm Module Developer @bhepler
                    last edited by Jan 9, 2019, 8:14 AM

                    @bhepler said in Library error after full reinstallation (full version Raspbian and MagicMirror version 2.5.0):

                    I would advise against using the Magic Mirror installation script at this time. It hasn’t been tested as well as the rest of the system. Perform a manual installation for better results.

                    Second this.

                    For anyone who comes across this error:

                    /home/pi/MagicMirror/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libc.so.6: version GLIBC_2.27’ not found (required by /home/pi/MagicMirror/node_modules/electron/dist/electron) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR!

                    It may be caused by npm trying to install electron v4.0.0, this version has some reference errors on the Pi: https://github.com/electron/electron/issues/16205 and a lower version (v3.0.13) should be used.

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    1 / 1
                    • First post
                      5/9
                      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