SOLVED: Black screen after update. Problem with version of calendar module? Or something else?



  • Hello,
    after installing an update I got a black screen. When I start my MM with

    npm start dev
    

    I get the following warning

    Starting MagicMirror: v2.2.2
    Loading config ...
    Loading module helpers ...
    No helper found for module: alert.
    No helper found for module: clock.
    No helper found for module: MMM-WunderGround24Hours.
    Initializing new module helper ...
    Module helper loaded: calendar
    WARNING! Could not load config file. Starting with default configuration. Error found: Error: Module version mismatch. Expected 50, got 54.
    Loading module helpers ...
    No helper found for module: alert.
    No helper found for module: clock.
    No helper found for module: MMM-WunderGround24Hours.
    Initializing new module helper ...
    Module helper loaded: calendar
    App threw an error during load
    Error: Module version mismatch. Expected 50, got 54.
        at Error (native)
        at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
        at Object.Module._extensions..node (module.js:583:18)
        at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
        at Module.load (module.js:473:32)
        at tryModuleLoad (module.js:432:12)
        at Function.Module._load (module.js:424:3)
        at Module.require (module.js:483:17)
        at require (internal/module.js:20:19)
        at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:76:44)
    Whoops! There was an uncaught exception...
    Error: Module version mismatch. Expected 50, got 54.
        at Error (native)
        at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
        at Object.Module._extensions..node (module.js:583:18)
        at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
        at Module.load (module.js:473:32)
        at tryModuleLoad (module.js:432:12)
        at Function.Module._load (module.js:424:3)
        at Module.require (module.js:483:17)
        at require (internal/module.js:20:19)
        at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:76:44)
    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
    Launching application.
    

    I tried some solution proposals, but unfortunately nothing helps.

    It would be great, if someone could help me.

    Thank you.



  • The PIR-Module doesn’t work correctly.
    I got a tip to change in the module directory and enter npm install.
    I did it, the module was rebuild and so the MM works.
    Thank you.