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.

    Debian 9 as VM, running npm start makes it all "freeze" but...

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    11 Posts 3 Posters 3.7k Views 3 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @THeStigh
      last edited by Mykle1

      @thestigh

      That would happen. You have to create a working config.js file BEFORE you try to run MM.

      1. Copy your config.js.sample and paste the copy in the same directory (the config folder)

      2. Rename the copy to config.js

      3. Now you can run npm start in your MagicMirror directory

      Create a working config
      How to add modules

      T 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer
        last edited by

        Quoting @THeStigh from private message
        THeStigh
        After messing a lot, I kind of figured it out. I needed to install Linux for Windows, and got it all up ready to run.
        Though, I havent figured out the microphone yet, but I cant either get the gif to show from Helly Lucy.
        How should the entry in config.js look like?

        {
        module: ‘Hello-Lucy’,
        position: ‘upper_third’
        },

        just gives a black screen…

        T THeStigh
        But I would like to move my PC to a linux installation, find it fun to play with, but what do you suggest? Ubuntu or Debian? 32 or 64 bit? I plan to mostly play with MagicMirror

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • T Offline
          THeStigh @Mykle1
          last edited by

          @mykle1

          I created the config.js and still it just stops after stating.
          I’ve verified it doesn’t freeze, as I can use Alt-Tab.

          See the Electron in the upper taskbar? But there is nothing opened.
          Again, can this be a VM and/or 64 bit issue?

          0_1547000823717_198ca770-587f-4d54-8dce-bcaafa0e1ad0-image.png

          Mykle1M ? 2 Replies Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer
            last edited by

            My friend, you have to follow the readme in Hello-Lucy

            1. The gif from Hello-Lucy is displayed by MMM-EasyPix so you have to install that (It’s in the readme)

            2. There is no entry for Hello-Lucy in the config.js. Lucy is an enhancement to MMM-voice so you’ll need your entry for MMM-voice

            3. I’ve never used Debian so I can’t say about that

            4. I use ubuntu 16.04LTS 64 bit

            Create a working config
            How to add modules

            T 1 Reply Last reply Reply Quote 0
            • T Offline
              THeStigh @Mykle1
              last edited by THeStigh

              @mykle1

              If there is any excuse… It’s 03:30 AM.

              But still; the config.js in the Debian 9 installation is clean, it is default.
              So that is not the issue (regarding the message you pasted; that is for me running Linux through Windows :) )

              Mykle1M 2 Replies Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @THeStigh
                last edited by

                @thestigh said in Debian 9 as VM, running npm start makes it all "freeze" but...:

                Again, can this be a VM and/or 64 bit issue?

                I’ve never used a VM environment. I strictly run ubuntu on all my machines except for 1 Pi mirror It’s definitely NOT a 64 bit issue.

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @THeStigh
                  last edited by

                  @thestigh said in Debian 9 as VM, running npm start makes it all "freeze" but...:

                  But still; the config.js in the Debian 9 installation is clean, it is default.

                  You copied and renamed it?

                  So that is not the issue (regarding the message you pasted; that is for me running Linux through Windows )

                  I don’t know about running Linux through windows because I don’t do that.

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @THeStigh
                    last edited by

                    @thestigh said in Debian 9 as VM, running npm start makes it all "freeze" but...:

                    f there is any excuse… It’s 03:30 AM.

                    Go to sleep. This will all be here tomorrow. I promise. :-)

                    Create a working config
                    How to add modules

                    T 1 Reply Last reply Reply Quote 0
                    • T Offline
                      THeStigh @Mykle1
                      last edited by

                      @mykle1 Could it be the output is wrong? Meaning - trying to output to a different display?

                      1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User @THeStigh
                        last edited by

                        @thestigh
                        I’m not sure this is exact solution. However,
                        Some system (like ATB) has an issue to execute Electron of MM (after 2.x - new GPU acceleration).
                        You can run MM as serveronly mode to use your existing Chrome Browser instead Electron.
                        You can make a script to execute MM serveronly mode and Chrome to display it.

                        Or you can try this to disable GPU.

                        npm start -- --disable-gpu
                        
                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          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