• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Just started looking into MMM-AssistantMk2 - step 3

Scheduled Pinned Locked Moved Unsolved Troubleshooting
3 Posts 2 Posters 694 Views 2 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.
  • F Offline
    fribse
    last edited by Sep 24, 2019, 2:14 PM

    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 :-D ), 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.

    ? 1 Reply Last reply Sep 24, 2019, 2:53 PM Reply Quote 0
    • ? Offline
      A Former User @fribse
      last edited by A Former User Sep 24, 2019, 2:53 PM Sep 24, 2019, 2:53 PM

      @fribse
      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
      ./node_modules/.bin/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.

      F 1 Reply Last reply Sep 25, 2019, 5:09 AM Reply Quote 1
      • F Offline
        fribse @Guest
        last edited by Sep 25, 2019, 5:09 AM

        @Sean Ok, it seems to have compiled without problems, so far so good. Now to configuration and hotword :-)

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          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