MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. the_2winz
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    T
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 12
    • Groups 0

    the_2winz

    @the_2winz

    1
    Reputation
    1
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    the_2winz Unfollow Follow

    Best posts made by the_2winz

    • RE: dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

      @sdetweil i think i will just lean on the browser feature - npm run server seems to work. thanks for all your help!

      posted in Troubleshooting
      T
      the_2winz

    Latest posts made by the_2winz

    • RE: dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

      @sdetweil i think i will just lean on the browser feature - npm run server seems to work. thanks for all your help!

      posted in Troubleshooting
      T
      the_2winz
    • RE: dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

      @sdetweil rob@raspberry:~/MagicMirror $ file /usr/lib/i386-linux-gnu/libnss3.so
      /usr/lib/i386-linux-gnu/libnss3.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=f3a5e41927cedc2024ae8cdc9a00bd699cd14278, stripped

      posted in Troubleshooting
      T
      the_2winz
    • RE: dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

      @sdetweil like libnss3.so bin/bash/ ? i’m not sure i follow

      posted in Troubleshooting
      T
      the_2winz
    • RE: dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

      @sdetweil looks like it.
      rob@raspberry:~/MagicMirror $ uname -a
      Linux raspberry 5.10.0-15-amd64 #1 SMP Debian 5.10.120-1 (2022-06-09) x86_64 GNU/Linux
      rob@raspberry:~/MagicMirror $ file /bin/bash
      /bin/bash: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, BuildID[sha1]=56307740a4c93a51d04f9511eae7897e52a4ddb5, for GNU/Linux 3.2.0, stripped

      posted in Troubleshooting
      T
      the_2winz
    • RE: dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

      @sdetweil i was able to add it to the electron/dist/ directory but when i run npm run start, now i get this error /home/rob/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: wrong ELF class: ELFCLASS32

      posted in Troubleshooting
      T
      the_2winz
    • RE: dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

      @sdetweil i cp to the right dir… but now when i run npm run start i get the following error > magicmirror@2.25.0 start

      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      /home/rob/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: wrong ELF class: ELFCLASS32

      posted in Troubleshooting
      T
      the_2winz
    • RE: dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

      @sdetweil rob@raspberry:/usr/lib/x86_64-linux-gnu $ find libnss3.so
      find: ‘libnss3.so’: No such file or directory

      posted in Troubleshooting
      T
      the_2winz
    • RE: dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

      @sdetweil still get this
      rob@raspberry:~/MagicMirror $ npm run start

      magicmirror@2.25.0 start
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      /home/rob/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

      posted in Troubleshooting
      T
      the_2winz
    • RE: dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

      @sdetweil I found this Install libnss3 deb package: sudo apt-get install libnss3, but get this: /usr/lib/x86_64-linux-gnu $ sudo apt-get install libnss3
      Reading package lists… Done
      Building dependency tree… Done
      Reading state information… Done
      libnss3 is already the newest version (2:3.61-1+deb11u3).
      0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

      posted in Troubleshooting
      T
      the_2winz
    • RE: dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

      @sdetweil both actually. I ran npm run install-mm, then i ran your upgrade-script.sh got this Check current Node installation …
      Node currently installed. Checking version number.
      Minimum Node version: v20.8.0
      Installed Node version: v20.8.0
      No Node.js upgrade necessary.
      Check current NPM installation …
      NPM currently installed. Checking version number.
      Minimum npm version: V10.1.0
      Installed npm version: V10.2.3
      No npm upgrade necessary.

      upgrading from version 2.25.0 to 2.25.0
      fetching latest revisions

      Checking for modules with removed libraries
      no modules found needing npm refresh

      posted in Troubleshooting
      T
      the_2winz