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

magic mirror 2 config.js file

Scheduled Pinned Locked Moved Solved Troubleshooting
38 Posts 5 Posters 12.7k 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.
  • S Away
    sdetweil @elaineezhu
    last edited by Dec 27, 2019, 1:26 PM

    @elaineezhu that all looks good… where is that config.js file located? it MUST be in the
    ~/MagicMirror/config folder

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    E 1 Reply Last reply Dec 27, 2019, 1:45 PM Reply Quote 0
    • C Offline
      cskenney @elaineezhu
      last edited by Dec 27, 2019, 1:32 PM

      @elaineezhu it looks to me like you may need to use quotes (“) around module name and position instead of apostrophe (‘). I can’t verify this makes a difference because I am not able to test it.

      S 1 Reply Last reply Dec 27, 2019, 1:33 PM Reply Quote 0
      • S Away
        sdetweil @cskenney
        last edited by Dec 27, 2019, 1:33 PM

        @cskenney single or double quote is ok, long as they are the same

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        C 1 Reply Last reply Dec 27, 2019, 1:37 PM Reply Quote 0
        • C Offline
          cskenney @sdetweil
          last edited by Dec 27, 2019, 1:37 PM

          @sdetweil good to know. Thanks!

          1 Reply Last reply Reply Quote 0
          • E Offline
            elaineezhu @sdetweil
            last edited by Dec 27, 2019, 1:45 PM

            @sdetweil yeah it’s in the config folder, but it still won’t run, as shown in the pictures attached 0_1577454252486_Screen Shot 2019-12-27 at 8.36.00 PM.png 0_1577454295032_Screen Shot 2019-12-27 at 8.44.41 PM.png 0_1577454310352_Screen Shot 2019-12-27 at 8.43.34 PM.png

            perhaps i’m rerunning magic mirror wrongly? if so, what’s the correct command line to run it?

            S 1 Reply Last reply Dec 27, 2019, 1:49 PM Reply Quote 0
            • S Away
              sdetweil @elaineezhu
              last edited by Dec 27, 2019, 1:49 PM

              @elaineezhu i built a matching config and it works fine…

              if using pm2, then pm2 restart 0
              if not using pm2 then

              cd ~/MagicMirror
              npm start 
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              E 1 Reply Last reply Dec 27, 2019, 1:56 PM Reply Quote 0
              • E Offline
                elaineezhu @sdetweil
                last edited by Dec 27, 2019, 1:56 PM

                @sdetweil hm, i’ve done that but the compliments displayed are still the default one, even after editing the code.

                S 1 Reply Last reply Dec 27, 2019, 1:59 PM Reply Quote 0
                • S Away
                  sdetweil @elaineezhu
                  last edited by Dec 27, 2019, 1:59 PM

                  @elaineezhu can u do a pm2 status ?

                  even after editing the code.

                  what does that mean? config/config.js or modules/default/compliments/compliments.js?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  E 1 Reply Last reply Dec 27, 2019, 2:03 PM Reply Quote 0
                  • S Away
                    sdetweil
                    last edited by Dec 27, 2019, 2:03 PM

                    is MM running ON the mac?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    E 1 Reply Last reply Dec 27, 2019, 2:06 PM Reply Quote 0
                    • E Offline
                      elaineezhu @sdetweil
                      last edited by elaineezhu Dec 27, 2019, 2:06 PM Dec 27, 2019, 2:03 PM

                      @sdetweil editing the code as in editing the config.js file. 0_1577455393378_Screen Shot 2019-12-27 at 9.02.57 PM.png
                      that’s what happens when i do pm2 restart 0 and pm2 status

                      S 1 Reply Last reply Dec 27, 2019, 2:06 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      1 / 4
                      • First post
                        12/38
                        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