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

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 Apr 18, 2019, 4:13 PM

    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 Apr 18, 2019, 4:15 PM

      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 Apr 18, 2019, 5:51 PM Reply Quote 0
      • S Offline
        sdetweil @Adrian_O
        last edited by Apr 18, 2019, 5:51 PM

        @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 Apr 18, 2019, 6:00 PM

          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 Apr 18, 2019, 6:01 PM

            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
            1 / 1
            • First post
              7/7
              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