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.

    Setup from scratch for beginners?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    7 Posts 2 Posters 1.2k 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.
    • A Offline
      Adrian_O
      last edited by

      Hi there

      I really appreciate all the work you guys put in the software and the help in the forums.

      I am an absolute beginner with raspberry pi. And it is 30 years ago I did some pascal programming. (Yes at Highschool I got an A+ - but this helps little here in real life).

      So I went through the very detailed step by step tutorial to setup Magic Mirror. Easy enough, I thought.

      Unfortunately I get a black screen when running MM.
      So I went through all the forum to see how to possibly set up Magic Mirror and getting no blank screen. Going back to older versions of software did not help.

      Is there any chance there will be a new step by step setup tutorial which will lead to a running system sometime soon?

      And again, I admire your commitment and your efforts. And will gladly consider a donation.

      I redid the installation of raspbian and the setup of MagicMirror software 3 times. Some frustration coming up and not yet the good feeling overcoming those obstacles…

      4.19.34-v/+ #1211
      Caspian GNU Linux 9
      MM all non-default modules disabled

      tried with latest electron and with electron beta.

      So right now, a Magic Mirror may not be set up with the help of the step by step tutorial, right? As there is ongoing troubles with latest electron versions?

      Thank you very much

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

        first, lets see if there is an error

        on the black screen, using keyboard press crtl-shift-i to open the developers window
        then using mouse select the console tab, and scroll up to see if there are any errors…(red text)

        black screen is usually caused by some fatal error in the UI components

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • A Offline
          Adrian_O
          last edited by

          Thank you Sam

          These are the errors

          Seems, the access on those links not possible.
          When I manually click on those links, I see them.

          (Do I have a problem with port 8080 being blocked and used by other applications)

          I may ask stupid questions. Please be patient with a beginner like me…

          But I see a lot of users having similar problems after latest updates.

          Failed to load resource: the server responded with a status of 404 (Not Found)
          http://localhost:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2 Failed to load resource: the server responded with a status of 404 (Not Found)
          http://localhost:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff Failed to load resource: the server responded with a status of 404 (Not Found)
          http://localhost:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.ttf Failed to load resource: the server responded with a status of 404 (Not Found)
          http://localhost:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/all.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
          http://localhost:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
          loader.js:206 Error on loading stylesheet: vendor/css/font-awesome.css
          http://localhost:8080/vendor/node_modules/moment/min/moment-with-locales.js Failed to load resource: the server responded with a status of 404 (Not Found)
          loader.js:190 Error on loading script: vendor/node_modules/moment/min/moment-with-locales.js
          http://localhost:8080/vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js Failed to load resource: the server responded with a status of 404 (Not Found)
          loader.js:190 Error on loading script: vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js
          http://localhost:8080/vendor/node_modules/weathericons/css/weather-icons.css Failed to load resource: the server responded with a status of 404 (Not Found)
          loader.js:206 Error on loading stylesheet: vendor/node_modules/weathericons/css/weather-icons.css
          clock.js:49 Uncaught ReferenceError: moment is not defined
          clock.js:77 Uncaught (in promise) ReferenceError: moment is not defined(…)
          clock.js:77 Uncaught (in promise) ReferenceError: moment is not defined(…)
          clock.js:77 Uncaught (in promise) ReferenceError: moment is not defined(…)
          clock.js:77 Uncaught (in promise) ReferenceError: moment is not defined(…)
          clock.js:77 Uncaught (in promise) ReferenceError: moment is not defined(…)
          clock.js:77 Uncaught (in promise) ReferenceError: moment is not defined(…)
          clock.js:77 Uncaught (in promise) ReferenceError: moment is not defined(…)
          clock.js:77 Uncaught (in promise) ReferenceError: moment is not defined(…)
          clock.js:77 Uncaught (in promise) ReferenceError: moment is not defined(…)
          http://localhost:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/all.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
          http://localhost:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css Failed to load resource: the server responded with a status of 404 (Not Found)
          http://localhost:8080/vendor/node_modules/weathericons/css/weather-icons.css Failed to load resource: the server responded with a status of 404 (Not Found)
          clock.js:77 Uncaught (in promise) ReferenceError: moment is not defined(…)
          clock.js:77 Uncaught (in promise) ReferenceError: moment is not defined(…)
          …
          (repeat latest error again and again)

          thanks for your kind help

          Adrian

          1 Reply Last reply Reply Quote 0
          • A Offline
            Adrian_O
            last edited by

            1032:0418/181017:ERROR:CONSOLE(0)] “Font from origin ‘http://localhost:8080’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘chrome-devtools://devtools’ is therefore not allowed access. The response had HTTP status code 404.”, source: chrome-devtools://devtools/bundled/inspector.html?remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@f33d44362232c20d1ce2111c53ea8730698f3c88/&can_dock=true&toolbarColor=rgba(223,223,223,1)&textColor=rgba(0,0,0,1)&experiments=true (0)

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

              @Adrian_O can u do

              in MM folder

              ls fonts -laF
              

              did u do sudo npm install?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                oh, and can u show the config entry for

                var config = {
                  address: "0.0.0.0", // 
                

                spammers have ruined everything…

                there is a security check now… localhost == 0.0.0.0 when false, results in the cross-site-scripting rejection

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  what modules did u install? beyond the defaults?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  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 Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy