MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. jcklerk
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 11
    • Groups 0

    Posts

    Recent Best Controversial
    • npm install errors magicmirror@2.4.1 &
      root@smart-mirror-jcklerk:~/MagicMirror# npm install
      
      > uws@0.14.5 install /root/MagicMirror/node_modules/uws
      > node-gyp rebuild > build_log.txt 2>&1 || exit 0
      
      
      > electron-chromedriver@1.7.1 install /root/MagicMirror/node_modules/spectron/node_modules/electron-chromedriver
      > node ./download-chromedriver.js
      
      
      > electron@2.0.0 postinstall /root/MagicMirror/node_modules/electron
      > node install.js
      
      Downloading SHASUMS256.txt
      [============================================>] 100.0% of 5.33 kB (5.33 kB/s)
      npm WARN lifecycle magicmirror@2.4.1~install: cannot run in wd magicmirror@2.4.1 cd vendor && npm install (wd=/root/MagicMirror)
      npm WARN lifecycle magicmirror@2.4.1~postinstall: cannot run in wd magicmirror@2.4.1 sh installers/postinstall/postinstall.sh && npm run install-fonts (wd=/root/MagicMirror)
      npm WARN grunt-stylelint@0.10.0 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.
      
      added 188 packages from 255 contributors, removed 132 packages, updated 236 packages, moved 2 packages and audited 2540 packages in 257.166s
      found 72 vulnerabilities (30 low, 32 moderate, 9 high, 1 critical)
        run `npm audit fix` to fix them, or `npm audit` for details
      

      i have installd stylelint@^9.0.0 install after this error…

      I hope ome one can help me

      posted in Troubleshooting
      jcklerkJ
      jcklerk
    • RE: npm install errors magicmirror@2.4.1 &

      and tis are the errors when i start magicmirror the same as back screan when start up an errors…

      https://gyazo.com/be9187d769730cb5660ec20a762d8d2c

      https://gyazo.com/de3438265af95dc1cc17933879fdf6a6
      https://gyazo.com/e871e73e0e5dbac86b120641f337d208
      https://gyazo.com/5e98e4abd093e7f27cec581d4fbaffab

      Have sam one a fix for this ?? and npm start – --disable-gpu doesnt work so ja

      posted in Troubleshooting
      jcklerkJ
      jcklerk
    • RE: npm install errors magicmirror@2.4.1 &

      still have problems:

      nunjucks.min.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
      Roboto-Condensed-Regular.woff2:1 Failed to load resource: the server responded with a status of 404 (Not Found)
      Roboto-Condensed-Regular.woff:1 Failed to load resource: the server responded with a status of 404 (Not Found)
      nunjucks.min.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
      (index):1 Refused to execute script from 'http://ip.yukiegaming.nl:8989/vendor/node_modules/nunjucks/browser/nunjucks.min.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
      main.js:450 Initializing MagicMirror.
      translator.js:201 Loading core translation file: translations/nl.json
      translator.js:224 Loading core translation fallback file: translations/en.json
      loader.js:182 Load script: modules/default/alert//alert.js
      Roboto-Condensed-Regular.ttf:1 Failed to load resource: the server responded with a status of 404 (Not Found)
      module.js:477 Module registered: alert
      loader.js:152 Bootstrapping module: alert
      loader.js:182 Load script: modules/default/alert/classie.js
      loader.js:182 Load script: modules/default/alert/modernizr.custom.js
      loader.js:182 Load script: modules/default/alert/notificationFx.js
      loader.js:157 Scripts loaded for: alert
      loader.js:197 Load stylesheet: modules/default/alert/ns-default.css
      loader.js:159 Styles loaded for: alert
      translator.js:172 alert - Load translation: translations/nl.json
      translator.js:174 alert - Load translation fallback: translations/en.json
      loader.js:161 Translations loaded for: alert
      loader.js:182 Load script: modules/default/updatenotification//updatenotification.js
      module.js:477 Module registered: updatenotification
      loader.js:152 Bootstrapping module: updatenotification
      loader.js:157 Scripts loaded for: updatenotification
      loader.js:159 Styles loaded for: updatenotification
      loader.js:161 Translations loaded for: updatenotification
      loader.js:182 Load script: modules/default/clock//clock.js
      module.js:477 Module registered: clock
      loader.js:152 Bootstrapping module: clock
      loader.js:182 Load script: vendor/node_modules/moment/min/moment-with-locales.js
      :8989/vendor/node_modules/moment/min/moment-with-locales.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
      (index):1 Refused to execute script from 'http://ip.yukiegaming.nl:8989/vendor/node_modules/moment/min/moment-with-locales.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
      loader.js:190 Error on loading script: vendor/node_modules/moment/min/moment-with-locales.js
      script.onerror @ loader.js:190
      loader.js:182 Load script: vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js
      :8989/vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
      (index):1 Refused to execute script from 'http://ip.yukiegaming.nl:8989/vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
      loader.js:190 Error on loading script: vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js
      script.onerror @ loader.js:190
      loader.js:157 Scripts loaded for: clock
      loader.js:197 Load stylesheet: modules/default/clock/clock_styles.css
      loader.js:159 Styles loaded for: clock
      loader.js:161 Translations loaded for: clock
      loader.js:182 Load script: modules/default/calendar//calendar.js
      module.js:477 Module registered: calendar
      loader.js:152 Bootstrapping module: calendar
      loader.js:237 File already loaded: moment.js
      loader.js:157 Scripts loaded for: calendar
      loader.js:197 Load stylesheet: modules/default/calendar/calendar.css
      loader.js:197 Load stylesheet: vendor/node_modules/font-awesome/css/font-awesome.min.css
      (index):1 Refused to apply style from 'http://ip.yukiegaming.nl:8989/vendor/node_modules/font-awesome/css/font-awesome.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
      loader.js:206 Error on loading stylesheet: vendor/node_modules/font-awesome/css/font-awesome.min.css
      stylesheet.onerror @ loader.js:206
      loader.js:159 Styles loaded for: calendar
      loader.js:161 Translations loaded for: calendar
      loader.js:182 Load script: modules/default/compliments//compliments.js
      module.js:477 Module registered: compliments
      loader.js:152 Bootstrapping module: compliments
      loader.js:237 File already loaded: moment.js
      loader.js:157 Scripts loaded for: compliments
      loader.js:159 Styles loaded for: compliments
      loader.js:161 Translations loaded for: compliments
      loader.js:182 Load script: modules/default/currentweather//currentweather.js
      module.js:477 Module registered: currentweather
      loader.js:152 Bootstrapping module: currentweather
      loader.js:237 File already loaded: moment.js
      loader.js:157 Scripts loaded for: currentweather
      loader.js:197 Load stylesheet: vendor/node_modules/weathericons/css/weather-icons.css
      (index):1 Refused to apply style from 'http://ip.yukiegaming.nl:8989/vendor/node_modules/weathericons/css/weather-icons.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
      loader.js:206 Error on loading stylesheet: vendor/node_modules/weathericons/css/weather-icons.css
      stylesheet.onerror @ loader.js:206
      loader.js:197 Load stylesheet: modules/default/currentweather/currentweather.css
      loader.js:159 Styles loaded for: currentweather
      loader.js:161 Translations loaded for: currentweather
      loader.js:182 Load script: modules/default/weatherforecast//weatherforecast.js
      module.js:477 Module registered: weatherforecast
      loader.js:152 Bootstrapping module: weatherforecast
      loader.js:237 File already loaded: moment.js
      loader.js:157 Scripts loaded for: weatherforecast
      loader.js:237 File already loaded: weather-icons.css
      loader.js:197 Load stylesheet: modules/default/weatherforecast/weatherforecast.css
      loader.js:159 Styles loaded for: weatherforecast
      loader.js:161 Translations loaded for: weatherforecast
      loader.js:182 Load script: modules/default/newsfeed//newsfeed.js
      module.js:477 Module registered: newsfeed
      loader.js:152 Bootstrapping module: newsfeed
      loader.js:237 File already loaded: moment.js
      loader.js:157 Scripts loaded for: newsfeed
      loader.js:159 Styles loaded for: newsfeed
      loader.js:161 Translations loaded for: newsfeed
      loader.js:197 Load stylesheet: css/custom.css
      alert.js:153 Starting module: alert
      updatenotification.js:10 Start updatenotification
      clock.js:40 Starting module: clock
      clock.js:49 Uncaught ReferenceError: moment is not defined
          at Class.start (clock.js:49)
          at startModules (loader.js:55)
          at loader.js:40
          at HTMLLinkElement.stylesheet.onload (loader.js:203)
      15clock.js:77 Uncaught (in promise) ReferenceError: moment is not defined
          at Class.getDom (clock.js:77)
          at main.js:110
          at new Promise (<anonymous>)
          at updateDom (main.js:109)
          at Object.updateDom (main.js:514)
          at Class.updateDom (module.js:358)
          at clock.js:45
      (index):1 Refused to apply style from 'http://ip.yukiegaming.nl:8989/vendor/node_modules/font-awesome/css/font-awesome.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
      (index):1 Refused to apply style from 'http://ip.yukiegaming.nl:8989/vendor/node_modules/weathericons/css/weather-icons.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
      328clock.js:77 Uncaught (in promise) ReferenceError: moment is not defined
          at Class.getDom (clock.js:77)
          at main.js:110
          at new Promise (<anonymous>)
          at updateDom (main.js:109)
          at Object.updateDom (main.js:514)
          at Class.updateDom (module.js:358)
          at clock.js:45
      getDom @ clock.js:77
      (anonymous) @ main.js:110
      updateDom @ main.js:109
      updateDom @ main.js:514
      updateDom @ module.js:358
      (anonymous) @ clock.js:45
      
      posted in Troubleshooting
      jcklerkJ
      jcklerk
    • 1 / 1