MagicMirror² v2.4.1 is available! For more information about this release, check out this topic.
Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!

MMM-AssistantMk2: error on authentication test



  • I cannot seem to get th MMM-AssistantMk2 module to work. I’m stuck at “In your SBC, you can run auth-tool for authentification. (not via SSH)”

    I tried npm rebuild without success.

    The error I get is

    Error: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/node-v59-linux-arm-glibc/grpc_node.node)
        at Object.Module._extensions..node (internal/modules/cjs/loader.js:683:18)
        at Module.load (internal/modules/cjs/loader.js:566:32)
        at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
        at Function.Module._load (internal/modules/cjs/loader.js:498:3)
        at Module.require (internal/modules/cjs/loader.js:598:17)
        at require (internal/modules/cjs/helpers.js:11:18)
        at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:32:13)
        at Module._compile (internal/modules/cjs/loader.js:654:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
        at Module.load (internal/modules/cjs/loader.js:566:32)
    

  • Module Developer

    @mc_landin
    First, in your previous step, was there no error?

    Second,

    cd ~/MagicMirror/modules/MMM-AssistantMk2
    npm install --save-dev electron-rebuild
    ./node_modules/.bin/electron-rebuild
    

    Doesn’t work? You’d got error?


  • Module Developer

    @mc_landin
    Try these;

    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get dist-upgrade
    

    Then, try again.