• 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.

Node.js Compile Version Mis-Matches?

Scheduled Pinned Locked Moved Troubleshooting
15 Posts 4 Posters 2.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 @Guest
    last edited by Jun 3, 2020, 4:56 PM

    @Sean yeh… could have used my prior startup script to test it out with chrome… start serveronly and use chrome to access

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    ? 1 Reply Last reply Jun 3, 2020, 5:05 PM Reply Quote 0
    • ? Offline
      A Former User @sdetweil
      last edited by Jun 3, 2020, 5:05 PM

      @sdetweil
      I had used my owns for the same.
      Currently, standalone MM executes server(backend) js inside of Electron. That makes the things complex.
      It would have been better to execute server outside of MM then launch front Electron for a smooth fullscreen kiosk mode.

      Or progressively using Electron’s features might have been better also. Electron can support more advanced features like accessing system resources directly.

      Anyway, current structure is somewhat ambiguous. I was frightened.

      S 1 Reply Last reply Jun 3, 2020, 5:08 PM Reply Quote 0
      • S Offline
        sdetweil @Guest
        last edited by Jun 3, 2020, 5:08 PM

        @Sean yeh, just get my run-start.sh scripts from my repo (added to base in 2.10, yanked out in 2.11)

        https://github.com/sdetweil/MagicMirror_scripts
        change the start to launch run-start.sh

        then can add a config parm to config.js

        serverOnly:‘local’,

        will do split mode locally serverOnly+ chrome

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • P Offline
          pillbug22
          last edited by Jun 3, 2020, 7:38 PM

          I thought I’d already done an Electron-rebuild install from the previous troubleshooting listed, but of course I wanted to do it again to verify:

          $ cd MagicMirror
          $ cd modules
          $ cd MMM-MP3Player
          $ npm install electron-rebuild
          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
          npm WARN MMM-MP3Player@1.0.0 No repository field.
          
          + electron-rebuild@1.11.0
          updated 1 package and audited 204 packages in 17.328s
          
          1 package is looking for funding
            run `npm fund` for details
          
          found 0 vulnerabilities
          
          $ node_modules/.bin/electron-rebuild
          ✔ Rebuild Complete
          
          

          then go back up some folders and run:

          $ npm run start
          

          …aaaaaand, it opens as expected. Absolutely no clue what was different this time around. I went back and looked, and looks like I did already do this as per previous troubleshooting I found, but there must have been something different about how you guys suggested I install and run the electron-rebuild than what I did previously.

          Another one of those “just needed a different set of eyes on it” issues, but glad you all were here to be the ones to look :-) Thank you much!

          Now to go play around some more and see if I can actually get it to work correctly…but at least the mirror is back up and running

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by Jun 3, 2020, 7:41 PM

            @pillbug22 : happy to help you :)

            1 Reply Last reply Reply Quote 0
            • 1
            • 2
            • 2 / 2
            2 / 2
            • First post
              15/15
              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