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.

    MM crashes when I try to start my own module.

    Scheduled Pinned Locked Moved Solved Development
    6 Posts 3 Posters 941 Views 3 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.
    • ? Offline
      A Former User
      last edited by

      you have an error in the js file,

      can you show a part of it ?

      1 Reply Last reply Reply Quote 0
      • V Offline
        vredevol
        last edited by

        do you mean the config js file or the module js file?

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by

          the module, because i think you have make an error at the start

          1 Reply Last reply Reply Quote 0
          • V Offline
            vredevol
            last edited by

            https://i.gyazo.com/0ff68f840855d70a80817f3bd75882e0.png

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

              @vredevol getDom() MUST return AT LEAST an htmlElement

              add return document.createElement(‘div’)

              see my sample module
              https://github.com/sdetweil/SampleModule

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              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