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.

    MMM-AssistantMk2

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 2 Posters 2.8k 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.
    • O Offline
      OceanK
      last edited by

      If I put this into the config.js its not working either:

      {
      module: “MMM-AssistantMk2”,
      position: “top_left”,
      config: {}
      },

      what am I doing wrong?

      1 Reply Last reply Reply Quote 0
      • D Offline
        dvbit
        last edited by

        be careful.
        I have the impression that if you cut and paste from the web page some tabs & extra chars creep in.

        use jshint http://jshint.com/ to validate the file

        1 Reply Last reply Reply Quote 0
        • D Offline
          dvbit
          last edited by

          what is the message? invalid configuration… bla bla?

          1 Reply Last reply Reply Quote 0
          • O Offline
            OceanK
            last edited by

            Yes! when I start the mirror I get the page “configure.js”

            can you help me to get paste in the right module code?

            1 Reply Last reply Reply Quote 0
            • D Offline
              dvbit
              last edited by

              Paste in the jshint site. It will give you the exact line where an error is and what is expected.
              90pc of the time it is correct.

              Other method: remove completely the section, paste it in a text only editor like text pad and the paste it back.

              The rules for json are simple but it can get complicated with indents and nesting

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