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.

    Install scripts won't install?

    Scheduled Pinned Locked Moved Solved Troubleshooting
    12 Posts 2 Posters 371 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.
    • H Offline
      heath1066
      last edited by

      Every attempt shows the below. I am stumped any help is appreciated.

      ys@raspberry:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”

      $$\ $$\ $$\ $$\ $$\ $$\ $$$$$$
      $$$\ $$$ | _| $$$\ $$$ |_| $$ $$
      $$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ _/ $$ |
      $$$$$$ $$ | _
      $$\ $$ $$\ $$ |$$ |$$$$$$ $$ |$$ |$$ $$\ $$ $$\ $$ $$\ $$ $$\ $$$$$$ |
      $$ $$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ $$$ $$ |$$ |$$ | _|$$ | _|$$ / $$ |$$ | _|$$ /
      $$ |$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ |
      $$ | _/ $$ |$$$$$$$ |$$$$$$$ |$$ |$$$$$$$\ $$ | _/ $$ |$$ |$$ | $$ | $$$$$$ |$$ | $$$$$$$$
      _
      | _
      | _
      | _
      $$ |_| _
      |_| _|_|_| __| _
      / _| _______|
      $$\ $$ |
      $$$$$$ |
      _
      ____/

      install log being saved to /home/hhays/install.log
      Updating packages …
      Installing helper tools …
      nvm_command is export NVM_DIR=/home/hhays/.config/nvm; . “/home/hhays/.config/nvm/nvm.sh” [ -s “/home/hhays/.config/nvm/nvm.sh” ] && . “/home/hhays/.config/nvm/nvm.sh”; nvm install v22.21.1 nvm uninstall
      node failed to execute, please check the error message and resolve before trying again

      S 1 Reply Last reply Reply Quote 0
      • H Offline
        heath1066 @sdetweil
        last edited by

        @sdetweil Sorry for the late reply, family happens… I Gave up on Pi and just wiped the machine and installed ubuntu. Scripts worked flawlessly then Thanks…

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @heath1066
          last edited by sdetweil

          @heath1066 interesting

          Open a terminal window, then do

          nvm install v22.21.1
          

          If successful,
          do

          hash -r
          node -v
          

          Should report v22.21.1
          If correct, then rerun the install script

          Please advise. I’ll fix my script

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          H 1 Reply Last reply Reply Quote 0
          • H Offline
            heath1066 @sdetweil
            last edited by

            @sdetweil install v22.21.1 failed.

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @heath1066
              last edited by

              @heath1066 ok, try the command n

              If it is not found do

              sudo npm install -g n
              

              Then

              n —version 
              

              Should work

              If so then do

              sudo n 22.21.1
              hash -r
              node -version
              

              Should say 22.21.1

              If so, then rerun install script

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • H Offline
                heath1066
                last edited by

                errors in shared libraries now

                hhays@raspberry:~ $ n --version
                10.2.0
                hhays@raspberry:~ $ sudo n 22.21.1
                installing : node-v22.21.1
                mkdir : /usr/local/n/versions/node/22.21.1
                fetch : https://nodejs.org/dist/v22.21.1/node-v22.21.1-linux-x64.tar.xz
                copying : node/22.21.1
                node: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
                /usr/local/bin/node: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
                installed : (with npm )

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @heath1066
                  last edited by sdetweil

                  @heath1066 oh, are you on buster? Or 32 bit system?
                  Do

                  lsb_release -a
                  

                  Can you send me the ~/install.log?

                  Same userid as here on Gmail. Thx

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  H 1 Reply Last reply Reply Quote 0
                  • H Offline
                    heath1066 @sdetweil
                    last edited by

                    @sdetweil
                    spberry:~ $ lsb_release -a
                    No LSB modules are available.
                    Distributor ID: Debian
                    Description: Debian GNU/Linux 11 (bullseye)
                    Release: 11
                    Codename: bullseye

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @heath1066
                      last edited by

                      @heath1066 well then.

                      uname -a

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      H 1 Reply Last reply Reply Quote 0
                      • H Offline
                        heath1066 @sdetweil
                        last edited by

                        @sdetweil I will have to send later this eve, but here:

                        @raspberry:~ $ uname -a
                        Linux raspberry 5.10.0-39-amd64 #1 SMP Debian 5.10.251-1 (2026-03-09) x86_64 GNU/Linux

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @heath1066
                          last edited by

                          @heath1066 weird

                          try this

                          sudo apt update
                          sudo apt install libstdc++6
                          

                          then if successful

                          sudo n 22.21.1
                          

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          H 1 Reply Last reply Reply Quote 0
                          • H Offline
                            heath1066 @sdetweil
                            last edited by

                            @sdetweil Sorry for the late reply, family happens… I Gave up on Pi and just wiped the machine and installed ubuntu. Scripts worked flawlessly then Thanks…

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @heath1066
                              last edited by

                              @heath1066 awesome.

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • S sdetweil has marked this topic as solved

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • 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