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

    Posts

    Recent Best Controversial
    • RE: No date after update

      Did you set the displayType to both?

      Screenshot-20230108160906-237x293.png

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: No date after update

      analogShowDate is obsolete. Check if this is what you want:

        {
          module: "clock",
          position: "top_left",
          config: {
              displayType: 'both',
              analogSize: '200px',
              analogFace: 'face-003',
              analogPlacement: 'bottom',
              lat: 52.389870,
              lon: 10.852678,
              showDate: true,
              showWeek: true,
              showTime: false,
              dateFormat: 'dddd D MMMM',
              secondsColor: '#FF0000',
              timezone: 'Europe/Berlin'
          }
      },
      
      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: 2.22.0 but showing update available?

      @DarrenHill said in 2.22.0 but showing update available?:

      Was more curious about why that would be saying I’m up to date if there is a commit. If there is a version-up missing or something.

      There was a small fix in the README, actually totally irrelevant to the operation of the mirror.

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: No date after update

      Happy New Year to you too! :-)

      Please show the part of your configuration that affects the clock.

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: 2.22.0 but showing update available?

      There was an additional commit yesterday. I don’t work with an update script, so I don’t know what yours does. In this case just go into your MagicMirror folder and run git pull .

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: electron-rebuild problems with MagicMirror 2.22.0

      @sdetweil As a soft step, the broken modules could switch to @electron/rebuild. This should also work for docker.

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: electron-rebuild problems with MagicMirror 2.22.0

      @wishmaster270 Okay, thanks for the explanation! I haven’t been able to read that anywhere in such clear words and I haven’t dealt with the past problems. Then I withdraw my recommendation because I lack the overview.

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: electron-rebuild problems with MagicMirror 2.22.0

      @wishmaster270 OK, you’re welcome.

      Since the thread is also for other developers: I recommend considering my approach, as I consider the other approach (installing to a higher-level directory) to be more error-prone. But it’s a creative workaround.

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: electron-rebuild problems with MagicMirror 2.22.0

      Yes, but @electron/rebuild is the successor of electron-rebuild. And the “trick” in the postinstall script seems not necessary at all.

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: electron-rebuild problems with MagicMirror 2.22.0

      The problems on my machine are obviously of a different nature. I’ll investigate that later.

      For the original issue it should be worth using @electron/rebuild instead of magicmirror-rebuild or electron-rebuild. I tested it in a virtual machine and it works great. Here is my solution which is less invasive:
      https://github.com/Tom-Hirschberger/MMM-GPIO-Notifications/pull/7

      What do you think?

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: electron-rebuild problems with MagicMirror 2.22.0

      @sdetweil npm -v: 8.19.2

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: electron-rebuild problems with MagicMirror 2.22.0

      For me it looks like this:

      kristjan@debian:~/Infomonitor/MagicMirror/modules$ git clone https://github.com/sdetweil/MMM-Buttons.git
      Cloning into 'MMM-Buttons'...
      remote: Enumerating objects: 56, done.
      remote: Counting objects: 100% (4/4), done.
      remote: Compressing objects: 100% (4/4), done.
      remote: Total 56 (delta 0), reused 2 (delta 0), pack-reused 52
      Receiving objects: 100% (56/56), 11.86 KiB | 1.69 MiB/s, done.
      Resolving deltas: 100% (25/25), done.
      kristjan@debian:~/Infomonitor/MagicMirror/modules$ cd MMM-Buttons/
      kristjan@debian:~/Infomonitor/MagicMirror/modules/MMM-Buttons$ npm install
      npm ERR! code 1
      npm ERR! path /home/kristjan/Infomonitor/MagicMirror/modules/MMM-Buttons/node_modules/epoll
      npm ERR! command failed
      npm ERR! command sh -c -- node-gyp rebuild
      npm ERR! make: Entering directory '/home/kristjan/Infomonitor/MagicMirror/modules/MMM-Buttons/node_modules/epoll/build'
      npm ERR!   CXX(target) Release/obj.target/epoll/src/epoll.o
      npm ERR!   SOLINK_MODULE(target) Release/obj.target/epoll.node
      npm ERR! make: Leaving directory '/home/kristjan/Infomonitor/MagicMirror/modules/MMM-Buttons/node_modules/epoll/build'
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@9.3.1
      npm ERR! gyp info using node@16.18.0 | linux | x64
      npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
      npm ERR! gyp info spawn /usr/bin/python3
      npm ERR! gyp info spawn args [
      npm ERR! gyp info spawn args   '/home/kristjan/Infomonitor/MagicMirror/node_modules/node-gyp/gyp/gyp_main.py',
      npm ERR! gyp info spawn args   'binding.gyp',
      npm ERR! gyp info spawn args   '-f',
      npm ERR! gyp info spawn args   'make',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/home/kristjan/Infomonitor/MagicMirror/modules/MMM-Buttons/node_modules/epoll/build/config.gypi',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/home/kristjan/Infomonitor/MagicMirror/node_modules/node-gyp/addon.gypi',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/home/kristjan/.cache/node-gyp/16.18.0/include/node/common.gypi',
      npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
      npm ERR! gyp info spawn args   '-Dvisibility=default',
      npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/kristjan/.cache/node-gyp/16.18.0',
      npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/home/kristjan/Infomonitor/MagicMirror/node_modules/node-gyp',
      npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/kristjan/.cache/node-gyp/16.18.0/<(target_arch)/node.lib',
      npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/kristjan/Infomonitor/MagicMirror/modules/MMM-Buttons/node_modules/epoll',
      npm ERR! gyp info spawn args   '-Dnode_engine=v8',
      npm ERR! gyp info spawn args   '--depth=.',
      npm ERR! gyp info spawn args   '--no-parallel',
      npm ERR! gyp info spawn args   '--generator-output',
      npm ERR! gyp info spawn args   'build',
      npm ERR! gyp info spawn args   '-Goutput_dir=.'
      npm ERR! gyp info spawn args ]
      npm ERR! gyp info spawn make
      npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
      npm ERR! /usr/bin/ld: /lib/x86_64-linux-gnu/libm.so.6: unknown type [0x13] section `.relr.dyn'
      npm ERR! /usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libm.so.6 when searching for /lib/x86_64-linux-gnu/libm.so.6
      npm ERR! /usr/bin/ld: cannot find /lib/x86_64-linux-gnu/libm.so.6
      npm ERR! /usr/bin/ld: /lib/x86_64-linux-gnu/libm.so.6: unknown type [0x13] section `.relr.dyn'
      npm ERR! /usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libm.so.6 when searching for /lib/x86_64-linux-gnu/libm.so.6
      npm ERR! /usr/bin/ld: /lib/x86_64-linux-gnu/libmvec.so.1: unknown type [0x13] section `.relr.dyn'
      npm ERR! /usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libmvec.so.1 when searching for /lib/x86_64-linux-gnu/libmvec.so.1
      npm ERR! /usr/bin/ld: cannot find /lib/x86_64-linux-gnu/libmvec.so.1
      npm ERR! /usr/bin/ld: /lib/x86_64-linux-gnu/libmvec.so.1: unknown type [0x13] section `.relr.dyn'
      npm ERR! /usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libmvec.so.1 when searching for /lib/x86_64-linux-gnu/libmvec.so.1
      npm ERR! collect2: error: ld returned 1 exit status
      npm ERR! make: *** [epoll.target.mk:145: Release/obj.target/epoll.node] Error 1
      npm ERR! gyp ERR! build error 
      npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
      npm ERR! gyp ERR! stack     at ChildProcess.onExit (/home/kristjan/Infomonitor/MagicMirror/node_modules/node-gyp/lib/build.js:203:23)
      npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
      npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
      npm ERR! gyp ERR! System Linux 5.10.0-20-amd64
      npm ERR! gyp ERR! command "/home/kristjan/.nvm/versions/node/v16.18.0/bin/node" "/home/kristjan/Infomonitor/MagicMirror/node_modules/.bin/node-gyp" "rebuild"
      npm ERR! gyp ERR! cwd /home/kristjan/Infomonitor/MagicMirror/modules/MMM-Buttons/node_modules/epoll
      npm ERR! gyp ERR! node -v v16.18.0
      npm ERR! gyp ERR! node-gyp -v v9.3.1
      npm ERR! gyp ERR! not ok
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/kristjan/.npm/_logs/2023-01-06T18_47_25_457Z-debug-0.log
      kristjan@debian:~/Infomonitor/MagicMirror/modules/MMM-Buttons$ uname -r
      5.10.0-20-amd64
      kristjan@debian:~/Infomonitor/MagicMirror/modules/MMM-Buttons$ lsb_release -a
      No LSB modules are available.
      Distributor ID:	Debian
      Description:	Debian GNU/Linux 11 (bullseye)
      Release:	11
      Codename:	bullseye
      
      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: electron-rebuild problems with MagicMirror 2.22.0

      To me this looks like a problem with the onoff package. Because if I remove onoff from the package.json, npm i works.

      onoff also comes with the dependency epoll, which appears a lot in the error messages.

      npm i onoff and npm i epoll produce similar error messages. I think that’s where the main problem is.

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: upgrade to new NPM version?

      Since 6.14.12 there have been a lot of bug fixes, so an upgrade is recommended. And MM works fine with 8.19.2.

      posted in General Discussion
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: ImOu Camera Rtspstream

      Which module are you using and how did you configure it?

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Display More on Python Print Module

      Out of curiosity: I can’t find any Python Print Module on the list of 3rd party modules. Which one is it exactly?

      posted in General Discussion
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: display issue MMM-PublicTransportHafas

      I now have no idea how we can solve this properly. Would it perhaps be a solution for you to integrate the module twice, with the two different IDs?

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: MMM-Carousel - how to configure a module multiple times on the SAME page?

      Thanks 🙂 I’ve created a Pull Request.

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: MMM-KVV local Karlsruhe transport

      The module uses the request package, which is not in the dependencies. Try npm install request in the module directory.

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: MMM-Carousel - how to configure a module multiple times on the SAME page?

      @fantasmic78 I am glad that I could help.

      It would be good to improve the documentation for such cases. Do you have a concrete suggestion how?

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • 1
    • 2
    • 17
    • 18
    • 19
    • 20
    • 21
    • 19 / 21