Read the statement by Michael Teeuw here.
YAPi0 Installer Stretch Lite
-
no, it dosn’t
-
@bdream did serveronly mode work?
-
@bdream ok, one more thing to try
cd ~/MagicMirror/node_modules mv electron electron.save cd .. npm install electron@latest
I am running 6.0.12 on one of my systems
then try npm start
-
pi@RasPiZeroW:~/MagicMirror $ npm install electron@latest > electron@6.0.12 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js Downloading tmp-1548-0-electron-v6.0.12-linux-armv6l.zip Error: GET https://github.com/electron/electron/releases/download/v6.0.12/electr on-v6.0.12-linux-armv6l.zip returned 404 /home/pi/MagicMirror/node_modules/electron/install.js:53 throw err ^ Error: Failed to find Electron v6.0.12 for linux-armv6l at https://github.com/el ectron/electron/releases/download/v6.0.12/electron-v6.0.12-linux-armv6l.zip at Request.<anonymous> (/home/pi/MagicMirror/node_modules/nugget/index.js:16 9:61) at Request.emit (events.js:189:13) at Request.onRequestResponse (/home/pi/MagicMirror/node_modules/request/requ est.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 acorn-jsx@5.1.0 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is i nstalled. You must install peer dependencies yourself. 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. 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 log ging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2019-10-18T13_30_31_697Z-debug.log
I would like to attach the log, but it’s missing :pouting_face:
pi@RasPiZeroW:~/MagicMirror $ npm start > magicmirror@2.9.0 start /home/pi/MagicMirror > sh run-start.sh run-start.sh: 7: run-start.sh: electron: not found npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! magicmirror@2.9.0 start: `sh run-start.sh` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the magicmirror@2.9.0 start 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-18T14_07_43_211Z-debug.log
-
@sdetweil how interesting.
If I reboot the RPi0 I see MagicMirror booting too. After a while of black screen I get usal Pi Desktop. -
-
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
-
@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 -
@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
-
@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