MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

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

    Troubleshooting
    3
    11
    1332
    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.
    • T
      THeStigh last edited by

      Hi all,

      Jut installed Debian 9, 64bit as a VM.
      Done full update & upgrade to make sure running latest.
      Installed MM manually, making sure all installed perfectly.

      Running ‘npm start’ from MM folder, it all seems to go OK, but when it should open the black mirror, it keeps stuck. It’s like it is frozen, there is nothing I can do at all except force-close the VM.

      There is an error about the config.js, but this is before I even have started populating config.js, and it should show message about configure the config.js in the mirror.

      Anybody else tried the same method/Debian/VM/64 bit?

      0_1546999135730_c0c5207b-b4d4-4355-9f99-bd7530c45cfe-image.png

      Mykle1 1 Reply Last reply Reply Quote 0
      • Mykle1
        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
        • Mykle1
          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
            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

            Mykle1 ? 2 Replies Last reply Reply Quote 0
            • Mykle1
              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
                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 🙂 )

                Mykle1 2 Replies Last reply Reply Quote 0
                • Mykle1
                  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
                  • Mykle1
                    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
                    • Mykle1
                      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
                        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
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy