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.

    some modules are not showing on screen

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    23 Posts 5 Posters 7.1k Views 5 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 @Guest
      last edited by sdetweil

      @stephen on your remote console, do

      ssh to the pi, no gui

      cd MagicMirror
      export DISPLAY=:0
      npm start dev  
      

      and, of course, you need a monitor on the PI

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        Thanks!
        I’ve connected a monitor and keyboard. Connected via ssh and started like you’ve posted.

        Uh great output. Never seen :) … but I am not a node-nerd yet. Anyway…

        There are errors to the modules I’ve missing.

        In every case there is an error loading the skripts. In the log I saw there is a “/” too much while executing. For example:
        GET http://0.0.0.0:8080/modules/internet-monitor//internet-monitor.js

        Same at the other modules. But why? Where to correct this?

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

          Oh I saw its on all the paths (the running also).
          But the error at all the modules are

          ERROR on loading script XYZ
          

          The scripts are in the given folder.

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

            @stephen a file system problem again.

            U need to run fsck , the Unix chkdsk.
            But u can’t run on the boot drive while system is running …

            Google search ‘fsck raspberry pi’

            I have another Linux system i can use.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              oh lord… I quess I have something…
              WTF.

              I quess it was my mistake… Was it?

              Some modules are in /MagicMirror/node_modules/
              and some are in /MagicMirror/modules

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

                @stephen node_modules are the ones download by install in support of the mirror… all good

                modules are the add ons to the MagicMirror

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  Maybe it has something to do with the

                  npm install

                  sometimes I had to run (as discribed at the mod-pages)?

                  I’ll try to pull the modules in the right folder and give it a try

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

                    @stephen no… don’t change anything… npm install built the node_modules folder… it is ok…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      Hell…thats it!

                      I’ve reinstalled the “not-working” / not showing modules INTO the /modules folder and it simply works!

                      Have a big thanks @sdetweil !

                      Its not always a filesystem-problem, sometimes the problem is right in front of the keyboard :D

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

                        @stephen cool

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