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.

    Config file

    Scheduled Pinned Locked Moved Tutorials
    13 Posts 6 Posters 5.8k Views 5 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.
    • cowboysdudeC Offline
      cowboysdude Module Developer
      last edited by

      If you’re using a PI [or anyother Linux variant] then go to command prompt and change directory to MagicMirror/config
      and do this:

      cp config.js.sample config.js

      If you’re using windows well that’s simple enough:
      Open up file browser right click, copy and paste the copy and then rename it to config.js

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

        @sanaa1369 said in Config file:

        how do you create a config file when i run npm start it says the file is missing and i need to create one

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

        Create a working config
        How to add modules

        S 2 Replies Last reply Reply Quote 0
        • S Offline
          sanaa1369 @sdetweil
          last edited by

          @sdetweil thank’s but i am new to this i know how to copy but were to paste.

          1 Reply Last reply Reply Quote 0
          • S Offline
            sanaa1369 @Mykle1
            last edited by

            @cowboysdude thank"s for trying to help me but it can find the file to copy it

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil
              last edited by

              The instructions say

              Copy /home/pi/MagicMirror/config/config.js.sample to /home/pi/MagicMirror/config/config.js.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Offline
                sanaa1369 @Mykle1
                last edited by

                @mykle1 Thank’s for trying to help me i am new to this but i must have made a mistake now when i put in npm start it give me the same message and then lock the screen and i have to reboot

                Mykle1M bheplerB 3 Replies Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @sanaa1369
                  last edited by

                  @sanaa1369

                  It’s hard to know what’s going on there by your descriptions. However, when you were getting the error “the file is missing and i need to create one” your MM was working EXCEPT for the config.js needing to be created. In your config folder, there should be a file named config.js.sample. This file should not be edited. You have to copy this file and paste it in the same folder, renaming it to config.js. You now should have config.js.sample file and the config.js file in the same folder (the config folder of MagicMirror). Unless you’ve made some other changes this will allow the mirror to run.

                  Create a working config
                  How to add modules

                  S 1 Reply Last reply Reply Quote 1
                  • bheplerB Offline
                    bhepler Module Developer @sanaa1369
                    last edited by

                    @sanaa1369 - The screen isn’t really locked, it’s just displaying the MagicMirror application in full screen. If you hit Alt+Q it should give you your command prompt back.

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

                      @sanaa1369

                      Some other very useful key commands for MagicMirror

                      https://forum.magicmirror.builders/topic/5619/how-to-find-and-use-key-commands-in-mm-for-absolute-beginners

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 1
                      • F Offline
                        fulmik Project Sponsor
                        last edited by

                        That’s a link that will be saved for later use. Thanks

                        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