MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

Just started looking into MMM-AssistantMk2 - step 3

  • So I’ve gotten most of the Magic Mirror software installed with integration to my Home Assistant, and with scheduled modules, so it’s starting to look like it’s getting there.
    I gave up on the Google-AIY HAT, and I’ve bought a tiny USB soundcard with mic-in and speaker-out (now I just need to get a mic for this that can be flush-mounted.
    I still need the mirror itself (waiting for the community order), and to build the frame for it (waiting for my kap-gering saw 😃 ), but the software is about ready.

    So I’ve gone throught the MMM-AssistantMk2 steps, and now I’m at step 3, where it says:

    But if you want to run your mirror as KIOSK mode(executed by npm start), you should rebuild binaries to match with electron. You will meet this or something similar errors on running MM.

    NODE_MODULE_VERSION 59. This version of Node.js requires
    NODE_MODULE_VERSION 57. Please try re-compiling or re-installing

    If then, try this.(For Raspbian Buster or GCC 8 user)

    So I’m running it with pm2, which I guess is what is referred to here.
    Where do I see the error messages? I need to figure out if I need to do the recompilation.

  • Module Developer

    If you are using Raspbian Buster or not,
    Just follow these; It will do no harm.

    sudo apt-get install gcc-7
    sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 10
    sudo update-alternatives --config gcc
    # If you have several versions of gcc already, select gcc-7 for gcc alternative. Or just ignore it.
    cd ~/MagicMirror/modules/MMM-AssistantMk2
    npm install --save-dev electron-rebuild
    # It could takes 10~30 minutes.

    And… now I find my description was wrong. KIOSK mode be activated by node serveronly not npm start.

  • @Sean Ok, it seems to have compiled without problems, so far so good. Now to configuration and hotword 🙂

Log in to reply