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.

    New module installer

    Scheduled Pinned Locked Moved General Discussion
    51 Posts 7 Posters 12.8k 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
      sdetweil @plainbroke
      last edited by

      @plainbroke hm…

      can you open the module folder and see if

      module_form_schema.json

      is present

      also can you open the config page

      http://server:port/modules/MMM-Config/review

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @plainbroke if you go to /installer it redirects to the correct url

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        plainbrokeP 1 Reply Last reply Reply Quote 0
        • plainbrokeP Offline
          plainbroke @sdetweil
          last edited by

          @sdetweil

          pi@CameraS:~/MagicMirror/modules/MMM-Config $ dir
          config.html                       form-client.js                     node_helper.js     schema3_19492568968280.json  translations
          config_lastchange_19492568968280  MMM-Config.css                     node_modules       schemas                      webform.css
          create_form_for_module.cmd        MMM-Config.js                      package.json       scripts                      webform.js
          create_form_for_module.sh         MMM-Config.schema.json             package-lock.json  templates                    workdir
          defaults_19492568968280.js        module_installer                   postinstall        test_convert.cmd
          doc_images                        modules_lastchange_19492568968280  postinstall.cmd    test_convert.sh
          exec_script.js                    modules_list.txt                   README.md          touch.cmd
          

          When I ran it with review it came back.
          Cannot GET /modules/MMM-Config/installer

          Slow learner. But trying anyways.

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

            @plainbroke sorry cd module_installer

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            plainbrokeP 1 Reply Last reply Reply Quote 0
            • plainbrokeP Offline
              plainbroke @sdetweil
              last edited by plainbroke

              @sdetweil
              Yes it is in there.

              I am going to turn in been sick for the last 2 days. worn out…
              Take your time with it. I am in no hurry.

              Slow learner. But trying anyways.

              S 3 Replies Last reply Reply Quote 1
              • S Offline
                sdetweil @plainbroke
                last edited by sdetweil

                @plainbroke I just did a fresh install on a new MM… on a different machine

                when I bring up the MM page it works
                when I bring up the installer page it works… takes a few seconds
                when I open the MMM-Config/review page the configuration page comes up

                open the installer page
                http://server:port/installer
                open the developers window, ctrl-shift-i
                go to the console tab , see if there are any errors
                open the sources tab
                 left nav
                selec modules,
                  mmm-config
                      module_installer
                             select the form-client.js
                             scroll the source to line 120, click on the line number
                             should turn blue
                

                like this
                Screenshot at 2025-01-17 21-25-44.png

                hit f5 refresh the page

                it should look like this
                Screenshot at 2025-01-17 21-28-40.png

                you should be able to scroll the mouse over the words incoming_json
                and it should pop up a big window of the json

                like this
                Screenshot at 2025-01-17 21-30-30.png

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @plainbroke feel better… this is not that important

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @plainbroke i pushed a bunch of fixes.

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    plainbrokeP 1 Reply Last reply Reply Quote 0
                    • plainbrokeP Offline
                      plainbroke @sdetweil
                      last edited by plainbroke

                      @sdetweil
                      I removed it with rm -rf MMM-Config
                      Then rebooted Pi
                      Then reinstalled with:
                      cd ~/MagicMirror/modules
                      git clone https://github.com/sdetweil/MMM-Config
                      cd MMM-Config
                      npm install
                      THAT DID NOT WORK.
                      threw all kinds of errors in shift+ctrl+i
                      So I went back to the
                      cd MMM_Config module and ran
                      git pull
                      git checkout with_installer
                      npm install
                      rebooted the Pi
                      Now it works.
                      Why I do not know.
                      But it does. I am going to try it out with MMM-MPlayer.
                      Thanks for the great work…

                      Slow learner. But trying anyways.

                      S 2 Replies Last reply Reply Quote 0
                      • S Offline
                        sdetweil @plainbroke
                        last edited by

                        @plainbroke said in New module installer:

                        git clone https://github.com/sdetweil/MMM-Config

                        yes, that will put you on the root branch main or master
                        you have to checkout the other branch that has the installer function in it

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 2 / 6
                        • 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