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.

    [Update to V2.12.0] Husky installation fails on Raspberry Pi 3

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 2 Posters 1.6k Views 2 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.
    • lavolp3L Offline
      lavolp3 Module Developer
      last edited by

      My most recent version of Raspbian Linux
      magicmirror 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
      includes git v.2.11.0. But the installation of husky with the recent update to V.2.12.0 today asks for 2.13.0

      > husky@4.2.5 preuninstall /home/pi/MagicMirror/node_modules/husky
      > node husky uninstall
      
      husky > Uninstalling git hooks
      husky > Done
      
      > husky@4.2.5 install /home/pi/MagicMirror/node_modules/husky
      > node husky install
      
      husky > Setting up git hooks
      Husky requires Git >=2.13.0. Got v2.11.0.
      husky > Failed to install
      
      > husky@4.2.5 postinstall /home/pi/MagicMirror/node_modules/husky
      > opencollective-postinstall || exit 0
      
      Thank you for using husky!
      If you rely on this package, please consider supporting our open collective:
      > https://opencollective.com/husky/donate
      

      Anyone else experienced the same issue?

      How to troubleshoot modules
      MMM-soccer v2, MMM-AVStock

      1 Reply Last reply Reply Quote 0
      • lavolp3L Offline
        lavolp3 Module Developer
        last edited by

        I have Raspian Stretch installed.
        Raspbian Buster seems to include git 2.20.0

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        S 1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @lavolp3
          last edited by

          @lavolp3
          https://git-scm.com/download/linux

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          lavolp3L 1 Reply Last reply Reply Quote 0
          • lavolp3L Offline
            lavolp3 Module Developer @sdetweil
            last edited by

            @sdetweil
            I have done the latest git install with apt. But on stretch git v2.11.0 is the latest version.
            https://packages.debian.org/stretch/git

            So for a lot of users husky will not be installed.
            But don’t know if it is important.

            How to troubleshoot modules
            MMM-soccer v2, MMM-AVStock

            S 1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @lavolp3
              last edited by

              @lavolp3 install from source
              https://linuxize.com/post/how-to-install-git-on-raspberry-pi/

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              lavolp3L 1 Reply Last reply Reply Quote 0
              • lavolp3L Offline
                lavolp3 Module Developer @sdetweil
                last edited by

                @sdetweil Thanks for the good advice but this should not be the solution if more users have this problem.
                MagicMirror should work on top of a basic raspbian setup, ideally scratch AND buster.
                That’s what I wanted to highlight.

                How to troubleshoot modules
                MMM-soccer v2, MMM-AVStock

                S 1 Reply Last reply Reply Quote 0
                • S Away
                  sdetweil @lavolp3
                  last edited by

                  @lavolp3 I agree. people are still trying to install on Jessie, cause they found some old instructions someone wrote

                  I think that stuff should only be installed for prod, not test/development. will have to test that when I get home.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 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