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

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

Scheduled Pinned Locked Moved Unsolved Troubleshooting
11 Posts 3 Posters 3.0k 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.
  • T Offline
    THeStigh
    last edited by Jan 9, 2019, 2:00 AM

    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

    M 1 Reply Last reply Jan 9, 2019, 2:21 AM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @THeStigh
      last edited by Mykle1 Jan 9, 2019, 2:21 AM Jan 9, 2019, 2:21 AM

      @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 Jan 9, 2019, 2:27 AM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer
        last edited by Jan 9, 2019, 2:24 AM

        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 Jan 9, 2019, 2:27 AM

          @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

          M ? 2 Replies Last reply Jan 9, 2019, 2:33 AM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer
            last edited by Jan 9, 2019, 2:30 AM

            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 Jan 9, 2019, 2:31 AM Reply Quote 0
            • T Offline
              THeStigh @Mykle1
              last edited by THeStigh Jan 9, 2019, 2:33 AM Jan 9, 2019, 2:31 AM

              @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 :) )

              M 2 Replies Last reply Jan 9, 2019, 2:35 AM Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @THeStigh
                last edited by Jan 9, 2019, 2:33 AM

                @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
                • M Offline
                  Mykle1 Project Sponsor Module Developer @THeStigh
                  last edited by Jan 9, 2019, 2:35 AM

                  @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
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @THeStigh
                    last edited by Jan 9, 2019, 2:37 AM

                    @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 Jan 9, 2019, 6:18 PM Reply Quote 0
                    • T Offline
                      THeStigh @Mykle1
                      last edited by Jan 9, 2019, 6:18 PM

                      @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
                      1 / 2
                      • First post
                        8/11
                        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