MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Having a blackscreen with no modules.

    Troubleshooting
    2
    5
    132
    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
      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
        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

        Create a working config
        How to add modules

        Y 1 Reply Last reply Reply Quote 0
        • Y
          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
            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

            Create a working config
            How to add modules

            Y 1 Reply Last reply Reply Quote 0
            • Y
              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
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy