Magic Mirror start



  • I get get this message when starting the mirror ( serveronly ) :
    Module helper loaded: updatenotification
    No helper found for module: clock.
    Initializing new module helper …
    Module helper loaded: calendar
    No helper found for module: compliments.
    Initializing new module helper …
    Module helper loaded: MMM-NASA
    No helper found for module: MMM-Globe.
    Initializing new module helper …
    Module helper loaded: magic-mirror-voice
    WARNING! Could not load config file. Starting with default configuration. Error found: Error: Module version mismatch. E xpected 48, got 53.
    Loading module helpers …
    No helper found for module: alert.
    Initializing new module helper …
    Module helper loaded: updatenotification
    No helper found for module: clock.
    Initializing new module helper …
    Module helper loaded: calendar
    No helper found for module: compliments.
    Initializing new module helper …
    Module helper loaded: MMM-NASA
    No helper found for module: MMM-Globe.
    Initializing new module helper …
    Module helper loaded: magic-mirror-voice
    Whoops! There was an uncaught exception…
    Error: Module version mismatch. Expected 48, got 53.
    at Error (native)
    at Object.Module._extensions…node (module.js:597:18)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:76:44)
    at Object. (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/epoll.js:1:99)
    at Module._compile (module.js:570:32)
    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

    What can I do ?
    Thanks.





  • That does not help.
    I did the rebuild with the actual electron version 1.6.11 and an abi of 48,
    but no difference.
    Thanks.



  • I just found out that this error happens only if I start with
    node serveronly.
    If I do an npm start, everything is fine.
    Thanks



  • @howi42 it looks like the error is related to one of those modules and not to electron

    at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:76:44)
    at Object. (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/epoll.js:1:99)
    


  • @strawberry-3.141
    No problem, the PIR runs fine, but just not under ‘node serveronly’.
    I can live with that.


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.