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 93.7k 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

      @bdream sorry, forgot about arm6l

      Do

      npm install --arch=arm7l electron@latest
      

      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

        @sdetweil

        pi@RasPiZeroW:~ $ npm install --arch=arm7l electron@latest
        
        > electron@6.0.12 postinstall /home/pi/node_modules/electron
        > node install.js
        
        Downloading tmp-2171-0-electron-v6.0.12-linux-arm7l.zip
        Error: GET https://github.com/electron/electron/releases/download/v6.0.12/electron-v6.0.12-linux-arm7l.zip returned 404
        /home/pi/node_modules/electron/install.js:53
          throw err
          ^
        
        Error: Failed to find Electron v6.0.12 for linux-arm7l at https://github.com/electron/electron/releases/download/v6.0.12/electron-v6.0.12-linux-arm7l.zip
            at Request.<anonymous> (/home/pi/node_modules/nugget/index.js:169:61)
            at Request.emit (events.js:189:13)
            at Request.onRequestResponse (/home/pi/node_modules/request/request.js:1066:10)
            at ClientRequest.emit (events.js:189:13)
            at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21)
            at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
            at TLSSocket.socketOnData (_http_client.js:442:20)
            at TLSSocket.emit (events.js:189:13)
            at addChunk (_stream_readable.js:284:12)
            at readableAddChunk (_stream_readable.js:265:11)
        npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
        npm WARN pi No description
        npm WARN pi No repository field.
        npm WARN pi No README data
        npm WARN pi No license field.
        
        npm ERR! code ELIFECYCLE
        npm ERR! errno 1
        npm ERR! electron@6.0.12 postinstall: `node install.js`
        npm ERR! Exit status 1
        npm ERR!
        npm ERR! Failed at the electron@6.0.12 postinstall script.
        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/pi/.npm/_logs/2019-10-18T15_04_49_780Z-debug.log
        
        

        –
        cheers, bdream

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

          @bdream sorry,. please in the MagicMirror folder

          all things MagicMirror should be done from the MagicMirror folder

          npm install --arch=armv7l electron@latest

          notice the added lowercase V --arch=armV7L (all lowercase)

          I get a file download for
          https://github.com/electron/electron/releases/download/v6.0.12/electron-v6.0.12-linux-armv7l.zip

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @bdream did you have time to look at this?

            also, after loading do

            cd ~/MagicMirror/node_modules/electron
            ldd dist/electron  >>~/logfile.txt
            readelf -A  dist/electron >>~/logfile.txt
            also 
            grep electron /var/log/syslog >>~/logfile
            
            and send me ~/logfile.txt
            
            thanks

            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

              @sdetweil said in YAPi0 Installer Stretch Lite:

              did you have time to look at this?

              Sorry for delay!
              logfile is empty :angry_face:
              May you what ~/logfile.txt

              	/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v6l.so (0xb2761000)
              	libffmpeg.so => /home/pi/MagicMirror/node_modules/electron/dist/libffmpeg.so (0xb2409000)
              	libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb23e2000)
              	libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb23b8000)
              	librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb23a1000)
              	libgobject-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0 (0xb2344000)
              	libglib-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0xb2234000)
              	libgio-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgio-2.0.so.0 (0xb20b9000)
              	libnss3.so => /usr/lib/arm-linux-gnueabihf/libnss3.so (0xb1f9d000)
              	libnssutil3.so => /usr/lib/arm-linux-gnueabihf/libnssutil3.so (0xb1f6a000)
              	libsmime3.so => /usr/lib/arm-linux-gnueabihf/libsmime3.so (0xb1f39000)
              	libnspr4.so => /usr/lib/arm-linux-gnueabihf/libnspr4.so (0xb1ef9000)
              	libgdk_pixbuf-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgdk_pixbuf-2.0.so.0 (0xb1ec7000)
              	libgtk-3.so.0 => /usr/lib/arm-linux-gnueabihf/libgtk-3.so.0 (0xb18b1000)
              	libgdk-3.so.0 => /usr/lib/arm-linux-gnueabihf/libgdk-3.so.0 (0xb17d9000)
              	libpangocairo-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpangocairo-1.0.so.0 (0xb17be000)
              	libpango-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpango-1.0.so.0 (0xb1771000)
              	libatk-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libatk-1.0.so.0 (0xb1743000)
              	libcairo.so.2 => /usr/lib/arm-linux-gnueabihf/libcairo.so.2 (0xb164a000)
              	libdbus-1.so.3 => /lib/arm-linux-gnueabihf/libdbus-1.so.3 (0xb15f9000)
              	libXext.so.6 => /usr/lib/arm-linux-gnueabihf/libXext.so.6 (0xb15da000)
              	libX11.so.6 => /usr/lib/arm-linux-gnueabihf/libX11.so.6 (0xb14b8000)
              	libXcomposite.so.1 => /usr/lib/arm-linux-gnueabihf/libXcomposite.so.1 (0xb14a5000)
              	libXrender.so.1 => /usr/lib/arm-linux-gnueabihf/libXrender.so.1 (0xb148c000)
              	libexpat.so.1 => /lib/arm-linux-gnueabihf/libexpat.so.1 (0xb144b000)
              	libuuid.so.1 => /lib/arm-linux-gnueabihf/libuuid.so.1 (0xb1434000)
              	libX11-xcb.so.1 => /usr/lib/arm-linux-gnueabihf/libX11-xcb.so.1 (0xb1422000)
              	libxcb.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb.so.1 (0xb13f3000)
              	libXcursor.so.1 => /usr/lib/arm-linux-gnueabihf/libXcursor.so.1 (0xb13da000)
              	libXdamage.so.1 => /usr/lib/arm-linux-gnueabihf/libXdamage.so.1 (0xb13c7000)
              	libXfixes.so.3 => /usr/lib/arm-linux-gnueabihf/libXfixes.so.3 (0xb13b2000)
              	libXi.so.6 => /usr/lib/arm-linux-gnueabihf/libXi.so.6 (0xb1394000)
              	libXtst.so.6 => /usr/lib/arm-linux-gnueabihf/libXtst.so.6 (0xb137f000)
              	libXrandr.so.2 => /usr/lib/arm-linux-gnueabihf/libXrandr.so.2 (0xb1366000)
              	libXss.so.1 => /usr/lib/arm-linux-gnueabihf/libXss.so.1 (0xb1353000)
              	libasound.so.2 => /usr/lib/arm-linux-gnueabihf/libasound.so.2 (0xb1272000)
              	libatk-bridge-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libatk-bridge-2.0.so.0 (0xb1239000)
              	libatspi.so.0 => /usr/lib/arm-linux-gnueabihf/libatspi.so.0 (0xb1202000)
              	libcups.so.2 => /usr/lib/arm-linux-gnueabihf/libcups.so.2 (0xb1180000)
              	libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb10fe000)
              	libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb10d1000)
              	libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb0f83000)
              	/lib/ld-linux-armhf.so.3 (0xb6f3e000)
              	libffi.so.6 => /usr/lib/arm-linux-gnueabihf/libffi.so.6 (0xb0f6b000)
              	libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0xb0ef4000)
              	libgmodule-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgmodule-2.0.so.0 (0xb0ee0000)
              	libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xb0eb5000)
              	libmount.so.1 => /lib/arm-linux-gnueabihf/libmount.so.1 (0xb0e54000)
              	libselinux.so.1 => /lib/arm-linux-gnueabihf/libselinux.so.1 (0xb0e22000)
              	libresolv.so.2 => /lib/arm-linux-gnueabihf/libresolv.so.2 (0xb0dfe000)
              	libplc4.so => /usr/lib/arm-linux-gnueabihf/libplc4.so (0xb0dea000)
              	libplds4.so => /usr/lib/arm-linux-gnueabihf/libplds4.so (0xb0dd7000)
              	libcairo-gobject.so.2 => /usr/lib/arm-linux-gnueabihf/libcairo-gobject.so.2 (0xb0dc0000)
              	libxkbcommon.so.0 => /usr/lib/arm-linux-gnueabihf/libxkbcommon.so.0 (0xb0d77000)
              	libwayland-cursor.so.0 => /usr/lib/arm-linux-gnueabihf/libwayland-cursor.so.0 (0xb0d60000)
              	libwayland-egl.so.1 => /usr/lib/arm-linux-gnueabihf/libwayland-egl.so.1 (0xb0d4e000)
              	libwayland-client.so.0 => /usr/lib/arm-linux-gnueabihf/libwayland-client.so.0 (0xb0d34000)
              	libepoxy.so.0 => /usr/lib/arm-linux-gnueabihf/libepoxy.so.0 (0xb0c3e000)
              	libharfbuzz.so.0 => /usr/lib/arm-linux-gnueabihf/libharfbuzz.so.0 (0xb0b40000)
              	libpangoft2-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpangoft2-1.0.so.0 (0xb0b1e000)
              	libfontconfig.so.1 => /usr/lib/arm-linux-gnueabihf/libfontconfig.so.1 (0xb0ad6000)
              	libfreetype.so.6 => /usr/lib/arm-linux-gnueabihf/libfreetype.so.6 (0xb0a33000)
              	libXinerama.so.1 => /usr/lib/arm-linux-gnueabihf/libXinerama.so.1 (0xb0a20000)
              	libthai.so.0 => /usr/lib/arm-linux-gnueabihf/libthai.so.0 (0xb0a08000)
              	libfribidi.so.0 => /usr/lib/arm-linux-gnueabihf/libfribidi.so.0 (0xb09de000)
              	libpixman-1.so.0 => /usr/lib/arm-linux-gnueabihf/libpixman-1.so.0 (0xb0903000)
              	libpng16.so.16 => /usr/lib/arm-linux-gnueabihf/libpng16.so.16 (0xb08c7000)
              	libxcb-shm.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-shm.so.0 (0xb08b4000)
              	libxcb-render.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-render.so.0 (0xb0899000)
              	libsystemd.so.0 => /lib/arm-linux-gnueabihf/libsystemd.so.0 (0xb07fc000)
              	libXau.so.6 => /usr/lib/arm-linux-gnueabihf/libXau.so.6 (0xb07e9000)
              	libXdmcp.so.6 => /usr/lib/arm-linux-gnueabihf/libXdmcp.so.6 (0xb07d4000)
              	libgssapi_krb5.so.2 => /usr/lib/arm-linux-gnueabihf/libgssapi_krb5.so.2 (0xb078a000)
              	libgnutls.so.30 => /usr/lib/arm-linux-gnueabihf/libgnutls.so.30 (0xb05e6000)
              	libavahi-common.so.3 => /usr/lib/arm-linux-gnueabihf/libavahi-common.so.3 (0xb05cb000)
              	libavahi-client.so.3 => /usr/lib/arm-linux-gnueabihf/libavahi-client.so.3 (0xb05ac000)
              	libblkid.so.1 => /lib/arm-linux-gnueabihf/libblkid.so.1 (0xb0554000)
              	libgraphite2.so.3 => /usr/lib/arm-linux-gnueabihf/libgraphite2.so.3 (0xb0523000)
              	libdatrie.so.1 => /usr/lib/arm-linux-gnueabihf/libdatrie.so.1 (0xb050d000)
              	liblzma.so.5 => /lib/arm-linux-gnueabihf/liblzma.so.5 (0xb04dc000)
              	liblz4.so.1 => /usr/lib/arm-linux-gnueabihf/liblz4.so.1 (0xb04b0000)
              	libgcrypt.so.20 => /lib/arm-linux-gnueabihf/libgcrypt.so.20 (0xb03d6000)
              	libbsd.so.0 => /usr/lib/arm-linux-gnueabihf/libbsd.so.0 (0xb03ac000)
              	libkrb5.so.3 => /usr/lib/arm-linux-gnueabihf/libkrb5.so.3 (0xb02f1000)
              	libk5crypto.so.3 => /usr/lib/arm-linux-gnueabihf/libk5crypto.so.3 (0xb02b1000)
              	libcom_err.so.2 => /lib/arm-linux-gnueabihf/libcom_err.so.2 (0xb029e000)
              	libkrb5support.so.0 => /usr/lib/arm-linux-gnueabihf/libkrb5support.so.0 (0xb0284000)
              	libkeyutils.so.1 => /lib/arm-linux-gnueabihf/libkeyutils.so.1 (0xb0270000)
              	libp11-kit.so.0 => /usr/lib/arm-linux-gnueabihf/libp11-kit.so.0 (0xb016b000)
              	libidn2.so.0 => /usr/lib/arm-linux-gnueabihf/libidn2.so.0 (0xb013f000)
              	libunistring.so.2 => /usr/lib/arm-linux-gnueabihf/libunistring.so.2 (0xaffc3000)
              	libtasn1.so.6 => /usr/lib/arm-linux-gnueabihf/libtasn1.so.6 (0xaffa3000)
              	libnettle.so.6 => /usr/lib/arm-linux-gnueabihf/libnettle.so.6 (0xaff5d000)
              	libhogweed.so.4 => /usr/lib/arm-linux-gnueabihf/libhogweed.so.4 (0xaff1e000)
              	libgmp.so.10 => /usr/lib/arm-linux-gnueabihf/libgmp.so.10 (0xafea5000)
              	libgpg-error.so.0 => /lib/arm-linux-gnueabihf/libgpg-error.so.0 (0xafe7b000)
              Attribute Section: aeabi
              File Attributes
                Tag_CPU_name: "7-A"
                Tag_CPU_arch: v7
                Tag_CPU_arch_profile: Application
                Tag_ARM_ISA_use: Yes
                Tag_THUMB_ISA_use: Thumb-2
                Tag_FP_arch: VFPv3-D16
                Tag_ABI_PCS_wchar_t: 4
                Tag_ABI_FP_rounding: Needed
                Tag_ABI_FP_denormal: Needed
                Tag_ABI_FP_exceptions: Needed
                Tag_ABI_FP_number_model: IEEE 754
                Tag_ABI_align_needed: 8-byte
                Tag_ABI_align_preserved: 8-byte, except leaf SP
                Tag_ABI_enum_size: int
                Tag_ABI_VFP_args: VFP registers
                Tag_CPU_unaligned_access: v6
              
              

              –
              cheers, bdream

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

                @bdream thx.

                And if you do

                ~/MagicMirror/node_modules/electron/dist/electron

                Does it open browser?

                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

                  @sdetweil said in YAPi0 Installer Stretch Lite:

                  Does it open browser?

                  pi@RasPiZeroW:~ $ ~/MagicMirror/node_modules/electron/dist/electron
                  Speicherzugriffsfehler
                  pi@RasPiZeroW:~ $ cd ~/MagicMirror/node_modules/electron/dist/electron
                  -bash: cd: /home/pi/MagicMirror/node_modules/electron/dist/electron: Ist kein Verzeichnis
                  pi@RasPiZeroW:~ $ cd ~/MagicMirror/node_modules/electron/dist/
                  pi@RasPiZeroW:~/MagicMirror/node_modules/electron/dist $ ls -la
                  insgesamt 107480
                  drwxr-xr-x 4 pi pi     4096 Okt 19 10:56 .
                  drwxr-xr-x 4 pi pi     4096 Okt 19 10:56 ..
                  -rw-r--r-- 1 pi pi   145945 Okt 19 10:55 chrome_100_percent.pak
                  -rw-r--r-- 1 pi pi   209147 Okt 19 10:55 chrome_200_percent.pak
                  -rwxr-xr-x 1 pi pi  4202140 Okt 19 10:56 chrome-sandbox
                  -rwxr-xr-x 1 pi pi 74648480 Okt 19 10:55 electron
                  -rw-r--r-- 1 pi pi 10410272 Okt 19 10:55 icudtl.dat
                  -rwxr-xr-x 1 pi pi   157372 Okt 19 10:55 libEGL.so
                  -rwxr-xr-x 1 pi pi  1949660 Okt 19 10:55 libffmpeg.so
                  -rwxr-xr-x 1 pi pi  4883208 Okt 19 10:55 libGLESv2.so
                  -rw-r--r-- 1 pi pi     1060 Okt 19 10:54 LICENSE
                  -rw-r--r-- 1 pi pi  3961766 Okt 19 10:54 LICENSES.chromium.html
                  drwxr-xr-x 2 pi pi     4096 Okt 19 10:56 locales
                  -rw-r--r-- 1 pi pi    83237 Okt 19 10:55 natives_blob.bin
                  drwxr-xr-x 2 pi pi     4096 Okt 19 10:55 resources
                  -rw-r--r-- 1 pi pi  8471329 Okt 19 10:54 resources.pak
                  -rw-r--r-- 1 pi pi   275792 Okt 19 10:55 snapshot_blob.bin
                  -rw-r--r-- 1 pi pi   608820 Okt 19 10:56 v8_context_snapshot.bin
                  -rw-r--r-- 1 pi pi        6 Okt 19 10:55 version
                  
                  

                  do I need to do eny else as ?

                  ~/MagicMirror/node_modules/electron/dist/electron
                  

                  –
                  cheers, bdream

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

                    @bdream said in YAPi0 Installer Stretch Lite:

                    no… I am researching the cause…

                    thanks

                    does

                    cd ~/MagicMirror
                    node serveronly 
                    

                    then use another browser to open the url shown
                    work?

                    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

                      @sdetweil said in YAPi0 Installer Stretch Lite:

                      then use another browser to open the url shown

                      that means, I need to install another browser?
                      Have you advise please?

                      –
                      cheers, bdream

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

                        @bdream there is a browser installed… its that globe on the task bar… Chrome also is a nice browser

                        i wonder if this is a Raspian Buster problem…

                        I have a pi 0 w coming today.

                        you and another user are having the same trouble. both have armv6l devices and are using Buster.

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 6
                        • 7
                        • 8
                        • 9
                        • 10
                        • 11
                        • 12
                        • 8 / 12
                        • 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