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

Syntax Errorn in Config.js

Scheduled Pinned Locked Moved Unsolved Troubleshooting
11 Posts 6 Posters 3.6k Views 6 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 Offline
    strawberry 3.141 Project Sponsor Module Developer @sollekram
    last edited by Nov 6, 2018, 8:44 PM

    @sollekram mmm-assistant has missing commas in the lines of the hotwords

    Please create a github issue if you need help, so I can keep track

    S 1 Reply Last reply Nov 6, 2018, 8:48 PM Reply Quote 0
    • S Offline
      sollekram @strawberry 3.141
      last edited by Nov 6, 2018, 8:48 PM

      @strawberry-3-141 pfff that commas…how I always stuck in such of errors…

      Anyway thank you guys for the answers , I will check the commas and the location tommorow , and I will update.

      L 1 Reply Last reply Nov 7, 2018, 8:56 AM Reply Quote 0
      • R Offline
        robiv8
        last edited by Nov 6, 2018, 10:51 PM

        @sollekram said in Syntax Errorn in Config.js:
        hotwords: “MIRROR” missing comma ,
        hotwords: “ASSISTANT” missing comma ,

        1 Reply Last reply Reply Quote 0
        • L Offline
          lavolp3 Module Developer @sollekram
          last edited by lavolp3 Nov 7, 2018, 8:57 AM Nov 7, 2018, 8:56 AM

          @sollekram Next time, it’s advisable to run

          npm run config:check
          

          This will tell you the errors.

          You can then e.g.

          sudo nano -c config.js
          

          to have the line numbers in nano and look up the lines.

          How to troubleshoot modules
          MMM-soccer v2, MMM-AVStock

          C 1 Reply Last reply Nov 7, 2018, 10:02 AM Reply Quote 0
          • C Offline
            CyruS1337 Project Sponsor @lavolp3
            last edited by Nov 7, 2018, 10:02 AM

            @lavolp3 Is not there somewhere a list of all the commands that are recommended for the MagicMirror.

            Also how to drive down the Raspberry PI Properly. I found a lot of different species on the internet. I now use the following shutdown command:

            sudo shutdown -h now
            
            L 1 Reply Last reply Nov 7, 2018, 11:00 AM Reply Quote 0
            • S Offline
              sollekram
              last edited by Nov 7, 2018, 10:26 AM

              I finally fixed it!!
              Thank you guys !!!

              1 Reply Last reply Reply Quote 0
              • L Offline
                lavolp3 Module Developer @CyruS1337
                last edited by Nov 7, 2018, 11:00 AM

                @cyrus1337 I think this command is also included in the README of MM.
                But it may be worth setting up a list. Don’t know. Maybe I’ll try :-)

                Your shutdown command is the one I would use as well.
                There are different commands giving the same result. The one you mentioned is the one mostly recommended.

                How to troubleshoot modules
                MMM-soccer v2, MMM-AVStock

                C 1 Reply Last reply Nov 7, 2018, 11:25 AM Reply Quote 0
                • C Offline
                  CyruS1337 Project Sponsor @lavolp3
                  last edited by Nov 7, 2018, 11:25 AM

                  @lavolp3 Ok, then I’m glad I’m using the right command. Partially, the PI is not averse, for whatever reason. Then I just pull the plug.

                  The list would really be a great idea. Because I’m really a newbi in this area. I can probably do various things on the PC, but the whole programming language are hieroglyphs for me, if you have mine. Because I have no background in this field. Maybe I can help you in another area 😉

                  L 1 Reply Last reply Nov 7, 2018, 11:55 AM Reply Quote 0
                  • L Offline
                    lavolp3 Module Developer @CyruS1337
                    last edited by Nov 7, 2018, 11:55 AM

                    @cyrus1337 If you’re really into the magicmirror stuff, it might be worth the time to do a little javascript training. There are courses all around the net, I’m currently doing some courses that have been offered for free on udemy.
                    https://www.udemy.com/javascriptfundamentals/

                    It may help a lot with not too much effort.

                    How to troubleshoot modules
                    MMM-soccer v2, MMM-AVStock

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 1 / 2
                    1 / 2
                    • First post
                      7/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