White screen after MMM-Remote-Control update



  • I have run the update on the MMM-Remote-Control module, and now get a white screen when starting MagicMirror.
    If I // the lines on the MMM-Remote-Control module in the config.js the Mirror shows up normally. I have deleted and reinstalled the MMM-Remote-Control module but the problem remains.

    Any advice? I do like the functionality of the Remote Control module.



  • @Hein-Jan any errors in the logs that you can provide?



  • Having the same problem… Any suggestions?



  • pi@raspberrypi:~/MagicMirror $ node serveronly
    Starting MagicMirror: v2.1.0
    Loading config …
    Loading module helpers …
    No helper found for module: alert.
    Initializing new module helper …
    No helper found for module: clock.
    Initializing new module helper …
    No helper found for module: compliments.
    No helper found for module: currentweather.
    No helper found for module: weatherforecast.
    No helper found for module: calendar_monthly.
    Initializing new module helper …
    WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'body-parser’
    Loading module helpers …
    No helper found for module: alert.
    Initializing new module helper …
    No helper found for module: clock.
    Initializing new module helper …
    No helper found for module: compliments.
    No helper found for module: currentweather.
    No helper found for module: weatherforecast.
    No helper found for module: calendar_monthly.
    Initializing new module helper …
    Whoops! There was an uncaught exception…
    { Error: Cannot find module 'body-parser’
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object. (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:15:20)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions…js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3) code: ‘MODULE_NOT_FOUND’ }
    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
    pi@raspberrypi:~/MagicMirror $ git pull


  • Core Contributors

    Is missing body-parser lib required by MMM-Remote-Control

    Go the module directory and run npm install

    cd /home/pi/MagicMirror/modules/MMM-Remote-Control/
    npm install
    


  • @roramirez Experience the same issue and was fixed by following your instructions! Thanks a bunch!



  • Thanks, all good now



  • @roramirez.
    Thanks, you have hit the nail on the head. I did run the git pull command, I have run the reinstall (the script did not work so I ran the manual method, but I did not run the npm install.
    Sorry, I am new at this.
    I did search the forum but could not find a solution.

    So, thank for pointing out my mistake and helping me rectify it.

    @ others: thanks for sharing your problems and logs so the problem could be solved.

    Case closed from my perspective.


  • Moderator

    @Hein-Jan Sorry about this, forgot to mention, that the new version introduces dependencies which must be installed.

    @roramirez answer should work for anyone having the same problem (thanks!).


Log in to reply
 

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