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

Changing compliments

Scheduled Pinned Locked Moved Troubleshooting
49 Posts 9 Posters 34.8k Views 9 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer
    last edited by Jan 29, 2018, 10:07 PM

    2 cents:

    If you are struggling with using the terminal (I did) then I highly recommend that you download any one of the many free text editors for code. I use notepad++ (notepadqq for linux). Using such an editor makes a world of difference when editing MM files. You navigate to the file just as you would on your Windows or Mac (by clicking through your folders) and open the file using the text editor. Make your edits. Save. Done. They color the code, making it easy to see mistakes and they keep track of your brackets and such. They should eliminate your quote problem as well.

    Peace

    Create a working config
    How to add modules

    1 Reply Last reply Reply Quote 1
    • M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by Jan 29, 2018, 10:14 PM

      This should help you. It’s a pretty damn good tutorial for getting started with your config. :-)

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

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 1
      • S Offline
        Stacy @doubleT
        last edited by Jan 29, 2018, 11:44 PM

        @doubleT First of all, many thanks to everyone helping.

        I do have a config.js file, I checked using the tutorial you gave.

        This time i used sudo and it atii won’t let me save, but the changes we made earlier are still in the file. They are not showing up in the MM program, though.

        Curious.

        1 Reply Last reply Reply Quote 0
        • D Offline
          doubleT Module Developer
          last edited by Jan 30, 2018, 8:28 PM

          So there’s a config and when you run the MagicMirror it says there’s a config error. And sudo nano config.js from within MagicMirror/config/ doesn’t work? Cann you go to MagicMirror/config/ and show us what it says when you put in ls -l? (that’s a small letter ‘L’) which will list files with their rights/owners.

          S 2 Replies Last reply Feb 1, 2018, 2:24 AM Reply Quote 1
          • S Offline
            Stacy @doubleT
            last edited by Feb 1, 2018, 2:24 AM

            @doubleT it does not list anything. ![alt text](image url)

            M 1 Reply Last reply Feb 1, 2018, 2:27 AM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @Stacy
              last edited by Feb 1, 2018, 2:27 AM

              @Stacy

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

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • S Offline
                Stacy @doubleT
                last edited by Feb 1, 2018, 2:31 AM

                @doubleT pi owns both config.js and config.js.sample

                1 Reply Last reply Reply Quote 0
                • D Offline
                  doubleT Module Developer
                  last edited by Feb 1, 2018, 11:44 AM

                  Weird, it sounds like there shouldn’t be a problem at all.
                  Do you have the possibility to edit the file externally and replace it? For example via FTP.
                  Btw. how do you save the file?

                  S 1 Reply Last reply Feb 1, 2018, 6:22 PM Reply Quote 0
                  • S Offline
                    Stacy @doubleT
                    last edited by Feb 1, 2018, 6:22 PM

                    @doubleT I save from the terminal with ctrl o. Have also tried ctrl x, y.

                    When I get to the folders through the GUI, I can change the file and save it. I have uncomment ed the calendar, and moved things around, but when I add the configure script for new compliments I get the error message need a config file. I checked it using a terminal command someone gave me here and every line that I added it did not like, even though my code was exactly like the example.

                    Weird. However, I am learning a lot troubleshooting this issue and I appreciate all the help.

                    1 Reply Last reply Reply Quote 1
                    • A Offline
                      AliAS
                      last edited by Feb 1, 2018, 9:56 PM

                      I had a similar problem. It showed an error for my entire addition to the config.js. Run check:config again and pay close attention to the beginning of the output. The first error should say something about expecting a bracket of one kind and it was returned a bracket of a different kind. It will also tell you the line of the error. Now nano back into config scroll down to your addition and press ctrl + c. The bottom of your screen should give you your current line number. Find the error. Mine was a missing bracket. Fixing this error fixed the entire script. All other errors were the result of the first. Sorry if I wasn’t clear or missed something, im still a new to this too. Hope it helps.

                      A 1 Reply Last reply Feb 1, 2018, 9:58 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 3 / 5
                      3 / 5
                      • First post
                        22/49
                        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