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.

    Having a blackscreen with no modules.

    Scheduled Pinned Locked Moved Troubleshooting
    5 Posts 2 Posters 746 Views 2 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.
    • Y Offline
      yaboi
      last edited by

      So I just freshly installed MM on Windows, (no installation error) now I want to it on windows/in browser to costumize/change things easier.

      This had worked before the “BIG 1.11 Update” but doesnt now.

      The weird things is, when I do “npm run server” the server starts (localhost:8080), the LOG says the modules are loaded, but I dont see them in my browser.

      I tried to fix it, but I dont really know what to do.

      I’d really appreciate the help and have anice day (:

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

        @yaboi u had it on windows, now did an update to 2.11?

        did

        git pull
        npm install
        

        AND in EVERY module folder that has a package,json file do

        npm install  
        

        then on browser, ctrl-shift-i or f12 to open developers window, and find the console tab

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        Y 1 Reply Last reply Reply Quote 0
        • Y Offline
          yaboi @sdetweil
          last edited by yaboi

          @sdetweil Well, it installed it fresh, so did do any update? I mean “git pull” is unnecessary if I freshly installed?
          And for which reason should I open the console?

          And since I only have the defualt modules, none has a “package.json” file.

          Thanks for your reply.

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

            @yaboi oh, fresh install on windows, black screen

            the developers window will give you errors that caused the black screen

            but on windows do this

            cd MagicMirror
            cd vendor
            npm install
            cd ..\fonts
            npm install
            cd ..\MagicMirror
            

            edit package.json
            change the start line from

                "start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
            

            to this

                "start": "node_modules/.bin/electron js/electron.js",
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            Y 1 Reply Last reply Reply Quote 0
            • Y Offline
              yaboi @sdetweil
              last edited by

              @sdetweil Wow, you are a true legend, I had this issue with “DISPLAY” before, but since in the error message it only said something is wrong in the “electron js”, I never found it.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

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