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.8k 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.
    • makepluscodeM Offline
      makepluscode
      last edited by

      @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 Reply Quote 1
      • J Offline
        JevanHa @makepluscode
        last edited by

        @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 Reply Quote 0
        • M Offline
          mdhenriksen @JevanHa
          last edited by

          @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
          • cirdanC Offline
            cirdan
            last edited by

            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 Offline
              sdetweil
              last edited by

              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

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

                1 Reply Last reply Reply Quote 0
                • bheplerB Offline
                  bhepler Module Developer
                  last edited by bhepler

                  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 Reply Quote 0
                  • S Offline
                    shbatm Module Developer @bhepler
                    last edited by

                    @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
                    • First post
                      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