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

trouble booting magicmirror

Scheduled Pinned Locked Moved Solved Troubleshooting
11 Posts 2 Posters 2.9k Views 2 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
    tbs86
    last edited by yawns Nov 14, 2018, 8:48 AM Nov 14, 2018, 2:20 AM

    hello all this is my first mirror build and still fairly new to the raspberry pi. i have two problems currently.

    The first problem is towards the end of the tutorial. I got the software installed and it says to disable the wifi power management. When i type in the command sudo nano /etc/network/interfaces it ame to a some what different looking screen then whats posted. I do not have the wlan0 section i guess you can say. After googling it i was able to disable it temporarily but once it rebooted it went back to Wifi management on. My question is how to i turn it off permanently?

    Second problem is when trying to boot the config file for MM i type

    cd MagicMirror/config
    then cp config
    

    and i get

    "cp: missing destination file operand after 'config'
    Try 'cp --help' for more information."
    

    So its not letting me boot the program at all. What am i doing wrong i have tried reinstalling the program but it says its already installed. Not sure what to do here any help would be appreciated!

    Im running a pi3 with raspbian-stretch 2018-10-09

    M 1 Reply Last reply Nov 14, 2018, 3:01 AM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @tbs86
      last edited by Nov 14, 2018, 3:01 AM

      @tbs86

      Let’s start with your second problem. When you say “when trying to boot the config file” do you mean open the config file? Did you already make a copy of the config.js.sample and rename it to config.js? It looks as if you’re attempting to make a copy of the config.js file, so cp config should be cp config.js.

      There’s an easier way to accomplish this if you are not familiar with terminal commands. This will walk you through that.

      https://forum.magicmirror.builders/topic/4528/how-to-create-a-working-config-for-absolute-beginners

      Create a working config
      How to add modules

      T 2 Replies Last reply Nov 14, 2018, 3:32 AM Reply Quote 0
      • T Offline
        tbs86 @Mykle1
        last edited by Nov 14, 2018, 3:32 AM

        @mykle1

        I will give this a try thank you

        1 Reply Last reply Reply Quote 0
        • T Offline
          tbs86 @Mykle1
          last edited by Nov 14, 2018, 6:10 PM

          @mykle1 I don’t think I made a copy and yes I’m trying to open the config file as the tutorial says

          1 Reply Last reply Reply Quote 0
          • T Offline
            tbs86
            last edited by Nov 14, 2018, 7:12 PM

            I type npm start and get a error.

            Run-start.sh: 4: run-start.sh: electron: not found

            M 1 Reply Last reply Nov 15, 2018, 12:41 AM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @tbs86
              last edited by Nov 15, 2018, 12:41 AM

              @tbs86

              Ok, I assume you ran npm start in the MagicMirror directory and received that error. This is a fairly common problem. The installation of dependencies fails at times to install electron properly.

              1. From your desktop(GUI) go to MagicMirror/node_modules folder. Inside this folder you will find the electron folder. Delete the electron folder.

              2. Now, open a terminal and type cd MagicMirror and enter. Now, in the MagicMirror directory type npm install and enter.

              This SHOULD install electron.

              Create a working config
              How to add modules

              T 1 Reply Last reply Nov 15, 2018, 1:02 AM Reply Quote 1
              • T Offline
                tbs86 @Mykle1
                last edited by Nov 15, 2018, 1:02 AM

                @mykle1 I do not have any folders in /home/pi/MagicMirror/node_modules

                M 1 Reply Last reply Nov 15, 2018, 1:03 AM Reply Quote 0
                • M Offline
                  Mykle1 Project Sponsor Module Developer @tbs86
                  last edited by Nov 15, 2018, 1:03 AM

                  @tbs86 said in trouble booting magicmirror:

                  I do not have any folders in /home/pi/MagicMirror/node_modules

                  Not one? I think you never installed your dependencies at all. No matter, still run npm install in the MagicMirror directory to install ALL of your dependencies

                  Create a working config
                  How to add modules

                  T 1 Reply Last reply Nov 15, 2018, 1:19 AM Reply Quote 2
                  • T Offline
                    tbs86 @Mykle1
                    last edited by Nov 15, 2018, 1:19 AM

                    @mykle1 thank you that worked! Now it’s telling me I need to create a config file

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tbs86
                      last edited by Nov 15, 2018, 1:24 AM

                      I have edited the config file thank you for your help!!! Much appreciated!

                      M 1 Reply Last reply Nov 15, 2018, 1:50 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        9/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