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

Works with Node Serveronly but not npm start MM

Scheduled Pinned Locked Moved Troubleshooting
24 Posts 4 Posters 2.9k 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 Apr 27, 2020, 7:16 PM

    @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 Apr 27, 2020, 7:21 PM Reply Quote 0
    • S Away
      sdetweil @JohnBachini
      last edited by Apr 27, 2020, 7:21 PM

      @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 Apr 27, 2020, 7:36 PM Reply Quote 0
      • J Offline
        JohnBachini @sdetweil
        last edited by Apr 27, 2020, 7:36 PM

        @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 Apr 27, 2020, 7:42 PM Reply Quote 0
        • S Away
          sdetweil @JohnBachini
          last edited by Apr 27, 2020, 7:42 PM

          @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 Apr 27, 2020, 7:50 PM Reply Quote 0
          • J Offline
            JohnBachini @sdetweil
            last edited by Apr 27, 2020, 7:50 PM

            @sdetweil

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

            S 1 Reply Last reply Apr 27, 2020, 7:57 PM Reply Quote 0
            • S Away
              sdetweil @JohnBachini
              last edited by Apr 27, 2020, 7:57 PM

              @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 Apr 27, 2020, 7:57 PM Reply Quote 0
              • J Offline
                JohnBachini @sdetweil
                last edited by Apr 27, 2020, 7:57 PM

                @sdetweil

                oh i see… Thanks again.

                1 Reply Last reply Reply Quote 0
                • B Offline
                  bhepler Module Developer
                  last edited by bhepler Apr 28, 2020, 12:00 PM Apr 28, 2020, 11:59 AM

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

                  L 1 Reply Last reply Apr 28, 2020, 12:09 PM Reply Quote 0
                  • L Offline
                    lavolp3 Module Developer @bhepler
                    last edited by Apr 28, 2020, 12:09 PM

                    @bhepler Added code tags for better readability

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

                    1 Reply Last reply Reply Quote 1
                    • S Away
                      sdetweil
                      last edited by Apr 28, 2020, 1:12 PM

                      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 Apr 28, 2020, 1:40 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        13/24
                        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