• 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 90.1k 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.
  • B Offline
    bdream
    last edited by Sep 24, 2019, 2:50 PM

    see here:

    pi@RasPiZeroWH:~/MagicMirror $ npm install --arch=armv71
    
    > magicmirror@2.8.0 install /home/pi/MagicMirror
    > cd vendor && npm install
    
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
    
    audited 220 packages in 69.246s
    found 5 vulnerabilities (4 low, 1 high)
      run `npm audit fix` to fix them, or `npm audit` for details
    
    > magicmirror@2.8.0 postinstall /home/pi/MagicMirror
    > sh installers/postinstall/postinstall.sh && npm run install-fonts
    
    MagicMirror installation successful!
    
    > magicmirror@2.8.0 install-fonts /home/pi/MagicMirror
    > cd fonts && npm install
    
    audited 1 package in 7.131s
    found 0 vulnerabilities
    
    npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself.
    
    audited 3773 packages in 413.334s
    found 16 high severity vulnerabilities
      run `npm audit fix` to fix them, or `npm audit` for details
    
    

    cheers, bdream

    –
    cheers, bdream

    S 1 Reply Last reply Sep 24, 2019, 2:54 PM Reply Quote 0
    • S Online
      sdetweil @bdream
      last edited by Sep 24, 2019, 2:54 PM

      @bdream all good!

      Make sure to copy the sample config.js to config.js in the config folder.

      Then npm start

      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 24, 2019, 3:09 PM

        0_1569337684282_npm_start.jpg

        Seems not to be an easy task.
        And I totally lost what I have to do in case I want to setup it again on Pi0 :dizzy_face:

        Cheers, bdream

        –
        cheers, bdream

        S 2 Replies Last reply Sep 24, 2019, 4:06 PM Reply Quote 0
        • S Online
          sdetweil @bdream
          last edited by Sep 24, 2019, 4:06 PM

          @bdream hm… this hardware is not enough like pi0. My script works there.

          I will have to look at the YAPI0 doc and see what is different

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Online
            sdetweil @bdream
            last edited by Sep 24, 2019, 4:34 PM

            @bdream said in YAPi0 Installer Stretch Lite:

            I’m not alowed to attach because the file type is .log

            change the filetype to .txt

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Online
              sdetweil @bdream
              last edited by Sep 24, 2019, 4:35 PM

              @bdream ok, partial install is a mess… lets try this way

              cd ~/MagicMirror
              rm -rf node_modules
              npm install --arch=armv71
              

              then
              npm start

              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:25 AM

                0_1569385517608_npm_start.jpg

                npm install not yet. right?

                [0_1569360293647_2019-09-24T17_21_45_114Z-debug.txt](Uploading 100%)

                Not a working hint wit log -> txt. Only pics are allowed :(
                maybe as jpg even it is an log!

                [0_1569360379845_2019-09-24T17_21_45_114Z-debug.jpg](Uploading 100%)

                this is also not possible. what can I do?

                cheers, bdream

                –
                cheers, bdream

                S 1 Reply Last reply Sep 25, 2019, 11:35 AM Reply Quote 0
                • S Online
                  sdetweil @bdream
                  last edited by Sep 25, 2019, 11:35 AM

                  @bdream hm… failed to find Electron v1.8.0… this should not be the case…

                  what is the version in the ~/MagicMirror/package.json for electron?

                   "electron": "^3.0.13",
                  

                  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, 11:41 AM

                    you mean this part here?

                      "dependencies": {
                        "colors": "^1.1.2",
                        "electron": "^3.0.13",
                        "electron-chromedriver": "^1.8.0",
                        "express": "^4.16.2",
                        "express-ipfilter": "^1.0.1",
                        "feedme": "latest",
                        "helmet": "^3.9.0",
                        "iconv-lite": "latest",
                        "moment": "latest",
                        "request": "^2.88.0",
                        "rrule": "^2.6.2",
                        "rrule-alt": "^2.2.8",
                        "simple-git": "^1.85.0",
                        "socket.io": "^2.1.1",
                        "valid-url": "latest"
                    
                    

                    cheers, bdream

                    –
                    cheers, bdream

                    S 1 Reply Last reply Sep 25, 2019, 12:26 PM Reply Quote 0
                    • S Online
                      sdetweil @bdream
                      last edited by sdetweil Sep 25, 2019, 1:58 PM Sep 25, 2019, 12:26 PM

                      @bdream weird…

                      don’t know why it works sometimes

                      in the npm info for chromedriver is lists different code mirrors…

                      # Electron mirror for China 
                      export ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"
                      

                      then

                      cd ~/MagicMirror
                      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
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 11
                      • 12
                      • 3 / 12
                      3 / 12
                      • First post
                        24/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