• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Works with Node Serveronly but not npm start MM

Scheduled Pinned Locked Moved Troubleshooting
24 Posts 4 Posters 3.1k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    sdetweil @JohnBachini
    last edited by sdetweil Apr 28, 2020, 2:07 PM Apr 28, 2020, 1:49 PM

    @JohnBachini what a pain

    try this

    cd ~/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic
    # force rebuild to the version of node electron is running
    ~/MagicMirror/node_modules/.bin/electron-rebuild
    

    try again

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    J 1 Reply Last reply Apr 28, 2020, 1:59 PM Reply Quote 2
    • J Offline
      JohnBachini @sdetweil
      last edited by Apr 28, 2020, 1:59 PM

      @sdetweil

      Wow… you got it working… thanks a lot for that.!! :thumbs_up:

      Think there were a few people who couldn’t get this module working so hopefully this will of solved it for them as well.

      S 1 Reply Last reply Apr 28, 2020, 2:00 PM Reply Quote 0
      • S Offline
        sdetweil @JohnBachini
        last edited by Apr 28, 2020, 2:00 PM

        @JohnBachini thanks for the feedback… looks like you gotta go ALL the way into the failing folder. sheesh…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil
          last edited by Apr 28, 2020, 2:06 PM

          I updated the two issues in this module on github that reference this problem with the fix instructions here
          so eventually the google search will link them together

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 1 Reply Last reply Apr 29, 2020, 2:10 PM Reply Quote 0
          • J Offline
            JohnBachini @sdetweil
            last edited by Apr 29, 2020, 2:10 PM

            @sdetweil

            Hi,

            I bet you thought you’d heard the last of this, so you know how you managed to get it all working. Well the problem now is the complete opposite. In that now it doesn’t work node servermode. ?
            I thought i was going mad and must have been running it incorrectly :thinking_face:

            Any ideas ?

            Thanks

            pi@MagicMirror:~ $ cd MagicMirror/
            pi@MagicMirror:~/MagicMirror $ node serveronly

            [2020-04-29 14:24:42.858] [LOG]    Starting MagicMirror: v2.11.0
            [2020-04-29 14:24:42.868] [LOG]    Loading config ...
            [2020-04-29 14:24:42.873] [LOG]    Loading module helpers ...
            [2020-04-29 14:24:42.874] [LOG]    No helper found for module: MMM-Logging.
            [2020-04-29 14:24:42.875] [LOG]    No helper found for module: alert.
            [2020-04-29 14:24:42.911] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:42.912] [LOG]    Module helper loaded: updatenotification
            [2020-04-29 14:24:42.912] [LOG]    No helper found for module: clock.
            [2020-04-29 14:24:42.913] [LOG]    No helper found for module: MMM-OpenmapWeather.
            [2020-04-29 14:24:42.913] [LOG]    No helper found for module: weatherforecast.
            [2020-04-29 14:24:43.238] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:43.238] [LOG]    Module helper loaded: MMM-Tools
            [2020-04-29 14:24:43.239] [LOG]    No helper found for module: MMM-PlexNowPlaying.
            [2020-04-29 14:24:43.240] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:43.241] [LOG]    Module helper loaded: mmm-hue-lights
            [2020-04-29 14:24:43.243] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:43.243] [LOG]    Module helper loaded: MMM-homeassistant-sensors
            [2020-04-29 14:24:43.366] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:43.367] [LOG]    Module helper loaded: MMM-Hotword
            [2020-04-29 14:24:44.467] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:44.468] [LOG]    Module helper loaded: MMM-AssistantMk2
            [2020-04-29 14:24:44.470] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:44.470] [LOG]    Module helper loaded: MMM-Assistant2Display
            [2020-04-29 14:24:44.849] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:44.850] [LOG]    Module helper loaded: MMM-Parcel
            [2020-04-29 14:24:44.899] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node'
            was compiled against a different Node.js version using
            NODE_MODULE_VERSION 73. This version of Node.js requires
            NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
            the module (for instance, using `npm rebuild` or `npm install`).
            [2020-04-29 14:24:44.900] [LOG]    Loading module helpers ...
            [2020-04-29 14:24:44.901] [LOG]    No helper found for module: MMM-Logging.
            [2020-04-29 14:24:44.902] [LOG]    No helper found for module: alert.
            [2020-04-29 14:24:44.902] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:44.903] [LOG]    Module helper loaded: updatenotification
            [2020-04-29 14:24:44.903] [LOG]    No helper found for module: clock.
            [2020-04-29 14:24:44.904] [LOG]    No helper found for module: MMM-OpenmapWeather.
            [2020-04-29 14:24:44.904] [LOG]    No helper found for module: weatherforecast.
            [2020-04-29 14:24:44.905] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:44.906] [LOG]    Module helper loaded: MMM-Tools
            [2020-04-29 14:24:44.906] [LOG]    No helper found for module: MMM-PlexNowPlaying.
            [2020-04-29 14:24:44.907] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:44.907] [LOG]    Module helper loaded: mmm-hue-lights
            [2020-04-29 14:24:44.908] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:44.908] [LOG]    Module helper loaded: MMM-homeassistant-sensors
            [2020-04-29 14:24:44.909] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:44.910] [LOG]    Module helper loaded: MMM-Hotword
            [2020-04-29 14:24:44.910] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:44.911] [LOG]    Module helper loaded: MMM-AssistantMk2
            [2020-04-29 14:24:44.911] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:44.912] [LOG]    Module helper loaded: MMM-Assistant2Display
            [2020-04-29 14:24:44.912] [LOG]    Initializing new module helper ...
            [2020-04-29 14:24:44.913] [LOG]    Module helper loaded: MMM-Parcel
            [2020-04-29 14:24:44.920] [LOG]    Whoops! There was an uncaught exception...
            [2020-04-29 14:24:44.920] [ERROR]  Error: The module '/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/build/Release/magic.node'
            was compiled against a different Node.js version using
            NODE_MODULE_VERSION 73. This version of Node.js requires
            NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
            the module (for instance, using `npm rebuild` or `npm install`).
                at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
                at Module.load (internal/modules/cjs/loader.js:653:32)
                at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                at Module.require (internal/modules/cjs/loader.js:692:17)
                at require (internal/modules/cjs/helpers.js:25:18)
                at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-synology-ds/node_modules/mmmagic/lib/index.js:1:13)
                at Module._compile (internal/modules/cjs/loader.js:778:30)
                at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
                at Module.load (internal/modules/cjs/loader.js:653:32)
            [2020-04-29 14:24:44.924] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
            [2020-04-29 14:24:44.925] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
            pi@MagicMirror:~/MagicMirror $
            
            1 Reply Last reply Reply Quote 0
            • 1
            • 2
            • 3
            • 3 / 3
            3 / 3
            • First post
              24/24
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy