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

MagicMirror will not start after update 2.5.0



  • Hello all,
    My MagicMirror will not start after update the MagicMirror to v2.5.0.
    NPM run config:check said the config.js have no syntax error.
    Before the update the magicmirror works fine.



  • npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/ch              okidar/node_modules/fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@              1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}              )
    
    > magicmirror@2.5.0 postinstall /home/pi/MagicMirror
    > sh installers/postinstall/postinstall.sh && npm run install-fonts
    
    MagicMirror installation successful!
    
    > magicmirror@2.5.0 install-fonts /home/pi/MagicMirror
    > cd fonts && npm install
    
    npm WARN postcss-html@0.12.0 requires a peer of postcss-less@>=1.1.0 but none wa              s installed.
    npm WARN postcss-html@0.12.0 requires a peer of postcss-scss@>=1.0.0 but none wa              s installed.
    npm WARN postcss-html@0.12.0 requires a peer of sugarss@>=1.0.0 but none was ins              talled.
    npm WARN stylelint-config-standard@16.0.0 requires a peer of stylelint@^7.8.0 bu              t none was installed.
    

    Afer npm install it comes this warnings



  • No one will help me?


  • Module Developer

    @Blackmirror
    Can you please post the output when you try to start the mirror by

    npm start
    

    in the magicmirror folder?
    Your post only shows the warnings after installing/updating your magicmirror.

    AxLED



  • Here the output:

    Starting MagicMirror: v2.5.0
    Loading config ...
    Loading module helpers ...
    No helper found for module: alert.
    No helper found for module: MMM-Carousel.
    Initializing new module helper ...
    Module helper loaded: MMM-Buttons
    No helper found for module: MMM-ProfileSwitcher.
    Initializing new module helper ...
    Module helper loaded: MMM-Podcast
    Initializing new module helper ...
    Module helper loaded: MMM-DWD-WarnWeather
    Initializing new module helper ...
    Module helper loaded: MMM-Todoist
    Initializing new module helper ...
    Module helper loaded: updatenotification
    Initializing new module helper ...
    Module helper loaded: MMM-FRITZ-Box-Callmonitor
    No helper found for module: MMM-Callmonitor-Current-Call.
    No helper found for module: clock.
    No helper found for module: currentweather.
    Initializing new module helper ...
    Module helper loaded: calendar
    WARNING! Could not load config file. Starting with default configuration. Error                                                                                                              found: Error: The module '/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modul                                                                                                             es/node-dht-sensor/build/Release/node_dht_sensor.node'
    was compiled against a different Node.js version using
    NODE_MODULE_VERSION 50. This version of Node.js requires
    NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
    the module (for instance, using `npm rebuild` or `npm install`).
    Loading module helpers ...
    No helper found for module: alert.
    No helper found for module: MMM-Carousel.
    Initializing new module helper ...
    Module helper loaded: MMM-Buttons
    No helper found for module: MMM-ProfileSwitcher.
    Initializing new module helper ...
    Module helper loaded: MMM-Podcast
    Initializing new module helper ...
    Module helper loaded: MMM-DWD-WarnWeather
    Initializing new module helper ...
    Module helper loaded: MMM-Todoist
    Initializing new module helper ...
    Module helper loaded: updatenotification
    Initializing new module helper ...
    Module helper loaded: MMM-FRITZ-Box-Callmonitor
    No helper found for module: MMM-Callmonitor-Current-Call.
    No helper found for module: clock.
    No helper found for module: currentweather.
    Initializing new module helper ...
    Module helper loaded: calendar
    App threw an error during load
    Error: The module '/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node                                                                                                             -dht-sensor/build/Release/node_dht_sensor.node'
    was compiled against a different Node.js version using
    NODE_MODULE_VERSION 50. This version of Node.js requires
    NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
    the module (for instance, using `npm rebuild` or `npm install`).
        at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
        at Object.Module._extensions..node (module.js:671:18)
        at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
        at Module.load (module.js:561:32)
        at tryModuleLoad (module.js:504:12)
        at Function.Module._load (module.js:496:3)
        at Module.require (module.js:586:17)
        at require (internal/module.js:11:18)
        at Object. (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_help                                                                                                             er.js:11:16)
        at Object. (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_help                                                                                                             er.js:42:3)
    Whoops! There was an uncaught exception...
    Error: The module '/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node                                                                                                             -dht-sensor/build/Release/node_dht_sensor.node'
    was compiled against a different Node.js version using
    NODE_MODULE_VERSION 50. This version of Node.js requires
    NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
    the module (for instance, using `npm rebuild` or `npm install`).
        at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
        at Object.Module._extensions..node (module.js:671:18)
        at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
        at Module.load (module.js:561:32)
        at tryModuleLoad (module.js:504:12)
        at Function.Module._load (module.js:496:3)
        at Module.require (module.js:586:17)
        at require (internal/module.js:11:18)
        at Object. (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_help                                                                                                             er.js:11:16)
        at Object. (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_help                                                                                                             er.js:42:3)
    MagicMirror will not quit, but it might be a good idea to check why this happene                                                                                                             d. Maybe no internet connection?
    If you think this really is an issue, please open an issue on GitHub: https://gi                                                                                                             thub.com/MichMich/MagicMirror/issues
    Launching application.
    

    After ```
    NPM install

    
    Im Modul DHT-Sensor work all fine. Thanks


  • @blackmirror u need to go to the MMM-DHT-Sensor folder and do npm install there too (and any other modules that have a package,json file supplied)

    the upgrade SHOULD do this for you, but appears not…


Log in to reply