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

YAPi0 Installer Stretch Lite

Scheduled Pinned Locked Moved General Discussion
118 Posts 4 Posters 94.4k 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 @bdream
    last edited by Sep 25, 2019, 2:00 PM

    @bdream said in YAPi0 Installer Stretch Lite:

    “https://npm.taobao.org/mirrors/electron/”

    no, this is the weird double quotes(the forum turns them into word document quotes), bad cut and paste on my part

    either re-copy the commandline (I fixed my post) , or delete the double quote " and redo, start and end of the mirror setting

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • B Offline
      bdream
      last edited by Sep 25, 2019, 2:06 PM

      @sdetweil redo, start and end of the mirror setting
      does it mean again (but single quotes in export ELECTRON…)?

      export ELECTRON_MIRROR='https://npm.taobao.org/mirrors/electron/'
      npm install electron-chromedriver@v1.8.0 --arch=armv71
      
      

      Sorry for this many beginner-questions :disappointed_face:

      cheers, bdream

      –
      cheers, bdream

      S 1 Reply Last reply Sep 25, 2019, 2:08 PM Reply Quote 0
      • S Offline
        sdetweil @bdream
        last edited by Sep 25, 2019, 2:08 PM

        @bdream no… need double quotes…

        use this. the markup protects the quotes…

        export ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"
        npm install electron-chromedriver@v1.8.0 --arch=armv71
        
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • B Offline
          bdream
          last edited by Sep 25, 2019, 2:26 PM

          No change to before.
          I tried already with double-quotes.

          Only thing I changed now is executing

          cd ~
          export ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"
          

          and afterwards

          npm install electron-chromedriver@v1.8.0 --arch=armv71
          

          and the result is 0_1569421573048_result.JPG

          –
          cheers, bdream

          S 1 Reply Last reply Sep 25, 2019, 2:32 PM Reply Quote 0
          • S Offline
            sdetweil @bdream
            last edited by Sep 25, 2019, 2:32 PM

            @bdream weird…

            works here on three different systems…

            can u show me the output of
            uname -a
            and
            lsb_release -a

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • B Offline
              bdream
              last edited by Sep 25, 2019, 2:43 PM

              uname -a

              Linux RasPiZeroWH 4.19.66+ #1253 Thu Aug 15 11:37:30 BST 2019 armv6l GNU/Linux
              

              lsb_release -a

              No LSB modules are available.
              Distributor ID: Raspbian
              Description:    Raspbian GNU/Linux 10 (buster)
              Release:        10
              Codename:       buster
              

              –
              cheers, bdream

              1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil
                last edited by sdetweil Sep 25, 2019, 3:28 PM Sep 25, 2019, 3:25 PM

                @bdream said in YAPi0 Installer Stretch Lite:

                cd ~
                export ELECTRON_MIRROR=“https://npm.taobao.org/mirrors/electron/”

                u need to be in the MagicMirror folder

                cd ~/MagicMirror

                I get the same error as you in the home folder

                every command MagicMirror related MUST be done from the MagicMirror folder (except the install script from the product or forum links)

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Sep 25, 2019, 3:58 PM Reply Quote 0
                • S Offline
                  sdetweil @sdetweil
                  last edited by Sep 25, 2019, 3:58 PM

                  @sdetweil looks like once its messed up, its messed up, and u have to start over with

                  npm install --arch=armv71 
                  

                  (from the magicmirror folder)

                  at least I had to…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bdream
                    last edited by Sep 25, 2019, 4:02 PM

                    Hi Sam, that was the first attempt I did anyway, starting in MagicMirror folder.
                    Only last I missed it :frowning_face:
                    I tried it again in this folder, but result is bad.

                    0_1569426815365_result.JPG

                    I guess it makes no sense working on this.
                    You said you have running multiple Pi0… let me try another one.

                    Not starting with wrong way let me ask if my understanding is right.

                    1. It dosn’t matter if I run SSH or direkt with keyboard attached. Also changing for the different steps?

                    2. preperation as shown are done

                    sudo apt-get update 
                    sudo apt-get upgrade 
                    sudo apt-get dist-upgrade 
                    sudo apt-get autoremove && sudo reboot
                    
                    
                    1. I will run your updated script
                    bash -c "$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)"
                    
                    1. start MM

                    Is this right?

                    –
                    cheers, bdream

                    S 1 Reply Last reply Sep 25, 2019, 4:04 PM Reply Quote 0
                    • S Offline
                      sdetweil @bdream
                      last edited by Sep 25, 2019, 4:04 PM

                      @bdream my script does all the system updates too…

                      and it will start MM at the end if u use pm2.

                      I do all my work on my mirrors over ssh.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 11
                      • 12
                      • 4 / 12
                      4 / 12
                      • First post
                        35/118
                        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