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.

    Works with Node Serveronly but not npm start MM

    Scheduled Pinned Locked Moved Troubleshooting
    24 Posts 4 Posters 3.3k Views 4 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.
    • J Offline
      JohnBachini @sdetweil
      last edited by

      @sdetweil

      oh ok, never mind, thanks for trying to help. :thumbs_up:

      just one question for my own peace of mind and try not get too technical, why does it work in servernode, what’s the difference ?

      Thanks again.

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

        @JohnBachini servermode doesn’t load the modulename.js file, which is what drags in the rest of the stuff…

        if u run servermode and then open a browser to the server ip, it will fail the same way

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          JohnBachini @sdetweil
          last edited by

          @sdetweil

          But it doesnt ,it works fine if i servermode and then connect via browser, no errors console at all and the module works as it connect to synology and reports as expected.
          Very strange.

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

            @JohnBachini is the browser ON the same system?

            how about opening chromium-browser on the same server to the server

            electron is all javascript…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              JohnBachini @sdetweil
              last edited by

              @sdetweil

              Just tried it and it works in chromium on server !?

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

                @JohnBachini different version of javascript inside chromium…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  JohnBachini @sdetweil
                  last edited by

                  @sdetweil

                  oh i see… Thanks again.

                  1 Reply Last reply Reply Quote 0
                  • bheplerB Offline
                    bhepler Module Developer
                    last edited by bhepler

                    Please use the markdown features of the forum when posting code and/or error messages.

                    lavolp3L 1 Reply Last reply Reply Quote 0
                    • lavolp3L Offline
                      lavolp3 Module Developer @bhepler
                      last edited by

                      @bhepler Added code tags for better readability

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

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

                        try this

                        cd ~/MagicMirror/modules/MMM-synology-ds
                        npm install mmmagic
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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