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

    Posts

    Recent Best Controversial
    • RE: Cannot find module "moment"

      @sdetweil Bad news
      npm install log

      pi@raspberrypi:~/MagicMirror $ npm install uuid
      
      > husky@4.2.5 preuninstall /home/pi/MagicMirror/node_modules/husky
      > node husky uninstall
      
      internal/modules/cjs/loader.js:638
          throw err;
          ^
      
      Error: Cannot find module 'please-upgrade-node'
          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
          at Function.Module._load (internal/modules/cjs/loader.js:562:25)
          at Module.require (internal/modules/cjs/loader.js:692:17)
          at require (internal/modules/cjs/helpers.js:25:18)
          at Object.<anonymous> (/home/pi/MagicMirror/node_modules/husky/husky.js:3:27)
          at Module._compile (internal/modules/cjs/loader.js:778:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
          at Module.load (internal/modules/cjs/loader.js:653:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
          at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      npm WARN lifecycle husky@4.2.5~preuninstall: continuing anyway husky@4.2.5 preuninstall: `node husky uninstall`
      npm WARN lifecycle Exit status 1
      
      > electron-chromedriver@11.0.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
      > node ./download-chromedriver.js
      
      (node:1464) UnhandledPromiseRejectionWarning: HTTPError: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v11.0.0/chromedriver-v11.0.0-linux-armv6l.zip
          at EventEmitter.emitter.on.response (/home/pi/MagicMirror/node_modules/got/source/as-stream.js:35:24)
          at EventEmitter.emit (events.js:198:13)
          at module.exports (/home/pi/MagicMirror/node_modules/got/source/get-response.js:22:10)
          at ClientRequest.handleResponse (/home/pi/MagicMirror/node_modules/got/source/request-as-event-emitter.js:155:5)
          at Object.onceWrapper (events.js:286:20)
          at ClientRequest.emit (events.js:203:15)
          at ClientRequest.origin.emit.args [as emit] (/home/pi/MagicMirror/node_modules/@szmarczak/http-timer/source/index.js:37:11)
          at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:565:21)
          at HTTPParser.parserOnHeadersComplete (_http_common.js:111:17)
          at TLSSocket.socketOnData (_http_client.js:451:20)
      (node:1464) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
      (node:1464) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      
      > electron@11.4.9 postinstall /home/pi/MagicMirror/node_modules/electron
      > node install.js
      
      HTTPError: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v11.4.9/electron-v11.4.9-linux-armv6l.zip
          at EventEmitter.emitter.on.response (/home/pi/MagicMirror/node_modules/got/source/as-stream.js:35:24)
          at EventEmitter.emit (events.js:198:13)
          at module.exports (/home/pi/MagicMirror/node_modules/got/source/get-response.js:22:10)
          at ClientRequest.handleResponse (/home/pi/MagicMirror/node_modules/got/source/request-as-event-emitter.js:155:5)
          at Object.onceWrapper (events.js:286:20)
          at ClientRequest.emit (events.js:203:15)
          at ClientRequest.origin.emit.args [as emit] (/home/pi/MagicMirror/node_modules/@szmarczak/http-timer/source/index.js:37:11)
          at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:565:21)
          at HTTPParser.parserOnHeadersComplete (_http_common.js:111:17)
          at TLSSocket.socketOnData (_http_client.js:451:20)
      
      > spectron@13.0.0 postinstall /home/pi/MagicMirror/node_modules/spectron
      > node lib/rpath-fix.js
      
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: electron@11.4.9 (node_modules/electron):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: electron@11.4.9 postinstall: `node install.js`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      
      + uuid@8.3.2
      added 334 packages from 707 contributors, updated 144 packages and audited 924 packages in 1278.767s
      
      110 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      

      MM Log

      /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
      0|MagicMir | [26.07.2021 01:29.53.118] [WARN]  The module 'currentweather' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path
      0|MagicMir | [26.07.2021 01:29.53.151] [WARN]  The module 'weatherforecast' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path
      
      /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
      0|MagicMir | [26.07.2021 01:29.53.135] [LOG] Connecting socket for: weatherforecast
      0|MagicMir | [26.07.2021 01:29.53.160] [LOG] Connecting socket for: newsfeed
      0|MagicMir | [26.07.2021 01:29.53.172] [LOG] Starting node helper for: newsfeed
      0|MagicMir | [26.07.2021 01:29.53.185] [LOG] Connecting socket for: MMM-cryptocurrency
      0|MagicMir | [26.07.2021 01:29.53.202] [LOG] Cryptocurrency module loaded!
      0|MagicMir | [26.07.2021 01:29.53.214] [LOG] Connecting socket for: MMM-MyPrayerTimes
      0|MagicMir | [26.07.2021 01:29.53.223] [LOG] Starting node_helper for: MMM-MyPrayerTimes
      0|MagicMir | [26.07.2021 01:29.53.236] [LOG] Connecting socket for: MMM-LICE
      0|MagicMir | [26.07.2021 01:29.53.251] [LOG] Starting node_helper for: MMM-LICE
      0|MagicMir | [26.07.2021 01:29.53.263] [LOG] Connecting socket for: MMM-PIR
      0|MagicMir | [26.07.2021 01:29.53.280] [LOG] Starting module helper: MMM-PIR
      0|MagicMir | [26.07.2021 01:29.53.289] [LOG] Sockets connected & modules started ...
      0|MagicMir | [26.07.2021 01:29.53.303] [LOG]
      0|MagicMir | Ready to go! Please point your browser to: http://0.0.0.0:8080
      0|MagicMir | Starting chromium browser now, have patience, it takes a minute
      
      0|MagicMirror  | [26.07.2021 01:31.55.275] [LOG]
      0|MagicMirror  | Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/10s0ee0h3tb1ko7fqhpf71sfgs%40group.calendar.google.com/private-d3794e10c136ecfea3ad72fe63078acd/basic.ics - Interval: 300000
      0|MagicMirror  | [26.07.2021 01:31.57.499] [LOG]
      0|MagicMirror  | Create new newsfetcher for url: https://www.cnnturk.com/feed/rss/turkiye/news - Interval: 300000
      0|MagicMirror  | [26.07.2021 01:31.58.207] [LOG]
      0|MagicMirror  | Create new newsfetcher for url: https://www.birgun.net/xml/rss.xml - Interval: 300000
      0|MagicMirror  | [26.07.2021 01:31.58.335] [LOG]
      0|MagicMirror  | Create new newsfetcher for url: https://tr.cointelegraph.com/google.xml - Interval: 300000
      0|MagicMirror  | [26.07.2021 01:32.08.343] [ERROR]
      0|MagicMirror  | Newsfeed Error. Could not fetch newsfeed:  https://tr.cointelegraph.com/google.xml Error: Feed type not recognized
      0|MagicMirror  |     at SAXStream.openf1 (/home/pi/MagicMirror/node_modules/feedme/dist/xmlfeedparser.js:99:38)
      0|MagicMirror  |     at SAXStream.emit (events.js:198:13)
      0|MagicMirror  |     at SAXStream._parser.parser.emit.args [as emit] (/home/pi/MagicMirror/node_modules/feedme/dist/feedme.js:24:24)
      0|MagicMirror  |     at SAXParser.me._parser.(anonymous function) [as onopentag] (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:258:17)
      0|MagicMirror  |     at emit (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:624:35)
      0|MagicMirror  |     at emitNode (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:629:5)
      0|MagicMirror  |     at openTag (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:825:5)
      0|MagicMirror  |     at SAXParser.write (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:1391:13)
      0|MagicMirror  |     at SAXStream.write (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:239:18)
      0|MagicMirror  |     at XMLFeedParser._write (/home/pi/MagicMirror/node_modules/feedme/dist/xmlfeedparser.js:159:21)
      0|MagicMirror  | [26.07.2021 01:32.08.796] [ERROR]
      0|MagicMirror  | Whoops! There was an uncaught exception...
      0|MagicMirror  | [26.07.2021 01:32.08.851] [ERROR]
      0|MagicMirror  | TypeError: $ is not a function
      0|MagicMirror  |     at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-LICE/node_helper.js:27:27)
      0|MagicMirror  |     at Request.self.callback (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:185:22)
      0|MagicMirror  |     at Request.emit (events.js:198:13)
      0|MagicMirror  |     at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:1154:10)
      0|MagicMirror  |     at Request.emit (events.js:198:13)
      0|MagicMirror  |     at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:1076:12)
      0|MagicMirror  |     at Object.onceWrapper (events.js:286:20)
      0|MagicMirror  |     at IncomingMessage.emit (events.js:203:15)
      0|MagicMirror  |     at endReadableNT (_stream_readable.js:1145:12)
      0|MagicMirror  |     at process._tickCallback (internal/process/next_tick.js:63:19)
      0|MagicMirror  | [26.07.2021 01:32.08.884] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|MagicMirror  | [26.07.2021 01:32.08.907] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|MagicMirror  | [26.07.2021 01:32.09.574] [LOG]
      0|MagicMirror  | 200[object Object]
      0|MagicMirror  | [26.07.2021 01:32.45.860] [ERROR]
      0|MagicMirror  | Whoops! There was an uncaught exception...
      0|MagicMirror  | [26.07.2021 01:32.45.891] [ERROR] TypeError: $ is not a function
      0|MagicMirror  |     at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-LICE/node_helper.js:27:27)
      0|MagicMirror  |     at Request.self.callback (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:185:22)
      0|MagicMirror  |     at Request.emit (events.js:198:13)
      0|MagicMirror  |     at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:1154:10)
      0|MagicMirror  |     at Request.emit (events.js:198:13)
      0|MagicMirror  |     at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:1076:12)
      0|MagicMirror  |     at Object.onceWrapper (events.js:286:20)
      0|MagicMirror  |     at IncomingMessage.emit (events.js:203:15)
      0|MagicMirror  |     at endReadableNT (_stream_readable.js:1145:12)
      0|MagicMirror  |     at process._tickCallback (internal/process/next_tick.js:63:19)
      0|MagicMirror  | [26.07.2021 01:32.45.904] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|MagicMirror  | [26.07.2021 01:32.45.926] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      
      

      But the good side is now i can see screen. Waiting for loading other modules. Maybe it will working.

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil Sorry to hear it. I try not to receive the screenshot sorry.

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil Screenshot is a habit for me to take. easier than copying

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil I am connected with SSH. I always did pm2 stop 0, pm2 flush, do my work and pm2 start 0. But PI0 is so slow still doing npm :D

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil Yeah. I also solved the other Raspberry and I know how to solve it here. We would try less if I don’t realize later. I’m sorry to have been ranting. I’m currently installing Uuid if the problem I will write again. Thanks for your labor Sam.

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil
      Now another module give an error

      0|MagicMir | [26.07.2021 00:57.11.255] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'uuid/v4'
      0|MagicMir | [26.07.2021 00:57.11.503] [ERROR] Whoops! There was an uncaught exception...
      0|MagicMir | [26.07.2021 00:57.11.562] [ERROR] { Error: Cannot find module 'uuid/v4'
      0|MagicMir |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
      0|MagicMir |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
      0|MagicMir |     at Function.Module._load (internal/modules/cjs/loader.js:562:25)
      0|MagicMir |     at Module.require (internal/modules/cjs/loader.js:692:17)
      0|MagicMir |     at require (internal/modules/cjs/helpers.js:25:18)
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/node_modules/request/lib/auth.js:4:12)
      0|MagicMir |     at Module._compile (internal/modules/cjs/loader.js:778:30)
      0|MagicMir |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
      0|MagicMir |     at Module.load (internal/modules/cjs/loader.js:653:32)
      0|MagicMir |     at tryModuleLoad (internal/modules/cjs/loader.js:593:12) code: 'MODULE_NOT_FOUND' }
      0|MagicMir | [26.07.2021 00:57.11.573] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|MagicMir | [26.07.2021 00:57.11.584] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      
      /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
      0|MagicMir | [26.07.2021 00:57.08.308] [LOG] Module helper loaded: newsfeed
      0|MagicMir | [26.07.2021 00:57.11.270] [LOG] Loading module helpers ...
      0|MagicMir | [26.07.2021 00:57.11.284] [LOG] No helper found for module: alert.
      0|MagicMir | [26.07.2021 00:57.11.294] [LOG] Initializing new module helper ...
      0|MagicMir | [26.07.2021 00:57.11.307] [LOG] Module helper loaded: updatenotification
      0|MagicMir | [26.07.2021 00:57.11.316] [LOG] No helper found for module: clock.
      0|MagicMir | [26.07.2021 00:57.11.330] [LOG] Initializing new module helper ...
      0|MagicMir | [26.07.2021 00:57.11.340] [LOG] Module helper loaded: calendar
      0|MagicMir | [26.07.2021 00:57.11.355] [LOG] Initializing new module helper ...
      0|MagicMir | [26.07.2021 00:57.11.361] [LOG] Module helper loaded: currentweather
      0|MagicMir | [26.07.2021 00:57.11.372] [LOG] Initializing new module helper ...
      0|MagicMir | [26.07.2021 00:57.11.382] [LOG] Module helper loaded: weatherforecast
      0|MagicMir | [26.07.2021 00:57.11.396] [LOG] Initializing new module helper ...
      0|MagicMir | [26.07.2021 00:57.11.405] [LOG] Module helper loaded: newsfeed
      0|MagicMir | Starting chromium browser now, have patience, it takes a minute
      
      

      Internet is fine.
      3245614a-1538-4e08-96a3-3ce8e4a04c62-image.png
      Package.json
      483d4e57-6a7a-4ac7-b28a-adfb32b4affb-image.png

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil
      Seems fine. Thanks now i rebooting machine and watch if there is a error.

      pi@raspberrypi:~ $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetwe                                                                                                             il/MagicMirror_scripts/master/upgrade-script.sh)" apply
      No LSB modules are available.
      doing test run = false
      update log will be in /home/pi/MagicMirror/installers/upgrade.log
      
      saving custom.css
      upgrading from version 2.12.0 to 2.16.0
      fetching latest revisions
      remote: Enumerating objects: 4413, done.
      remote: Counting objects: 100% (3550/3550), done.
      remote: Compressing objects: 100% (1006/1006), done.
      remote: Total 2836 (delta 1962), reused 2490 (delta 1660), pack-reused 0
      Receiving objects: 100% (2836/2836), 967.15 KiB | 156.00 KiB/s, done.
      Resolving deltas: 100% (1962/1962), completed with 207 local objects.
      From https://github.com/MichMich/MagicMirror
         10dc315f..26a76f80  master     -> origin/master
       * [new tag]           v2.16.0    -> v2.16.0
       * [new tag]           v2.15.0    -> v2.15.0
      updating MagicMirror runtime, please wait
      npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@                                                                                                             1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my                                                                                                              best with it!
      
      > core-js@3.15.1 postinstall /home/pi/MagicMirror/node_modules/core-js
      > node -e "try{require('./postinstall')}catch(e){}"
      
      Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfill                                                                                                             ing JavaScript standard library!
      
      The project needs your help! Please consider supporting of core-js on Open Colle                                                                                                             ctive or Patreon:
      > https://opencollective.com/core-js
      > https://www.patreon.com/zloirock
      
      Also, the author of core-js ( https://github.com/zloirock ) is looking for a goo                                                                                                             d job -)
      
      
      > electron@11.4.9 postinstall /home/pi/MagicMirror/node_modules/electron
      > node install.js
      
      HTTPError: Response code 404 (Not Found) for https://github.com/electron/electro                                                                                                             n/releases/download/v11.4.9/electron-v11.4.9-linux-armv6l.zip
          at EventEmitter.emitter.on.response (/home/pi/MagicMirror/node_modules/got/s                                                                                                             ource/as-stream.js:35:24)
          at EventEmitter.emit (events.js:198:13)
          at module.exports (/home/pi/MagicMirror/node_modules/got/source/get-response                                                                                                             .js:22:10)
          at ClientRequest.handleResponse (/home/pi/MagicMirror/node_modules/got/sourc                                                                                                             e/request-as-event-emitter.js:155:5)
          at Object.onceWrapper (events.js:286:20)
          at ClientRequest.emit (events.js:203:15)
          at ClientRequest.origin.emit.args [as emit] (/home/pi/MagicMirror/node_modul                                                                                                             es/@szmarczak/http-timer/source/index.js:37:11)
          at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:565:21                                                                                                             )
          at HTTPParser.parserOnHeadersComplete (_http_common.js:111:17)
          at TLSSocket.socketOnData (_http_client.js:451:20)
      
      > magicmirror@2.16.0 install /home/pi/MagicMirror
      > echo "Installing vendor files ...
      " && cd vendor && npm install --loglevel=error
      
      Installing vendor files ...
      
      
      > @fortawesome/fontawesome-free@5.15.3 postinstall /home/pi/MagicMirror/vendor/n                                                                                                             ode_modules/@fortawesome/fontawesome-free
      > node attribution.js
      
      Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com
      License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL                                                                                                              1.1, Code: MIT License)
      
      added 1 package from 1 contributor, removed 74 packages, updated 5 packages and                                                                                                              audited 9 packages in 83.089s
      found 0 vulnerabilities
      
      
      > magicmirror@2.16.0 postinstall /home/pi/MagicMirror
      > npm run install-fonts && echo "MagicMirror installation finished successfully!                                                                                                             
      "
      
      
      > magicmirror@2.16.0 install-fonts /home/pi/MagicMirror
      > echo "Installing fonts ...
      " && cd fonts && npm install --loglevel=error
      
      Installing fonts ...
      
      audited 1 package in 7.24s
      found 0 vulnerabilities
      
      MagicMirror installation finished successfully!
      
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: electron@11.4.9 (node_modules/el                                                                                                             ectron):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: electron@11.4.9 postinstall: `no                                                                                                             de install.js`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      
      added 67 packages from 88 contributors, removed 489 packages, updated 98 package                                                                                                             s and audited 923 packages in 621.679s
      
      34 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      processing dependency changes for active modules with package.json files
      
      processing for module MMM-MyPrayerTimes please wait
      ----------------------------------
      npm notice created a lockfile as package-lock.json. You should commit this file.
      added 2 packages from 6 contributors and audited 2 packages in 16.096s
      found 0 vulnerabilities
      
      processing complete for module MMM-MyPrayerTimes
      
      processing for module MMM-LICE please wait
      ----------------------------------
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm notice created a lockfile as package-lock.json. You should commit this file.
      added 64 packages from 69 contributors and audited 64 packages in 71.651s
      
      13 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      processing complete for module MMM-LICE
      
      processing for module MMM-PIR please wait
      ----------------------------------
      
      > epoll@2.0.10 install /home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll
      > node-gyp rebuild
      
      make: Entering directory '/home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll/build'
        CXX(target) Release/obj.target/epoll/src/epoll.o
        SOLINK_MODULE(target) Release/obj.target/epoll.node
        COPY Release/epoll.node
      make: Leaving directory '/home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll/build'
      npm notice created a lockfile as package-lock.json. You should commit this file.
      added 6 packages from 9 contributors and audited 6 packages in 72.078s
      found 0 vulnerabilities
      
      processing complete for module MMM-PIR
      
      restoring custom.css
      
      
      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil AHHHHHHH! Just remembered my other raspberry is stuck on internet too. I change my router so my router adress is changed from 192.168.1.1 to 192.168.1.3 but in my /etc/dhcpcd.conf 37c38ff5-5fcd-4f9b-83c0-5dac86ded6f4-image.png still 192.168.1.1 here sorry for bother you. Trying again.

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil said in Cannot find module "moment":

      MagicMirror/installers/upgrade-script.sh apply

      d3b8ef45-0c75-4b56-8579-62f0d55c9c2f-image.png

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil 0ac068d6-c12e-4b8a-8052-f77778b56ae2-image.pngAccess denied

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil Okey im sorry. Now run just

      curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh
      

      c9ccfe87-2fd2-464c-843d-e3b2620af791-image.png

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil said in Cannot find module "moment":

      grep version package.json

      Version 2.12.0
      85bb21bf-e3ae-4175-a147-e431cedf5e7f-image.png

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil 7183d73a-87b7-41e7-8c98-3a25969d7361-image.png It is not normal i think. I am about to cry. How can i check my MagicMirror version?

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil said in Cannot find module "moment":

      git checkout master

      847faa1d-349e-4b1f-a0b5-001649266609-image.png

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil said in Cannot find module "moment":

      grep start package.json

      Can you give me a Reputation. I cant reply you fast.
      31483e95-2057-497c-bd12-49872056b715-image.png

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil 7e1e4032-421e-410f-bbc7-ec8c6047657f-image.png

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil said in Cannot find module "moment":

      git checkout master

      92298f58-d93c-47df-9fc9-e1e738027342-image.png

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil said in Cannot find module "moment":

      git status

      0a50865f-1373-4f7c-9c6e-378320f1d7d4-image.png

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil Nothing Happened.
      4e142fda-f592-4c81-b156-e7f60e0c0ec7-image.png
      My Log again:

      
      Upgrade started - Paz Tem 12 22:41:23 +03 2020
      system is Linux raspberrypi 4.19.118+ #1311 Mon Apr 27 14:16:15 BST 2020 armv6l GNU/Linux
      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
      user requested to apply changes
      doing test run = false
      
      saving custom.css
      remote name = origin
      upgrading from version 2.11.0 to 2.12.0
      fetching latest revisions
      git fetch rc=0
      current branch = master
      On branch master
      Your branch is up to date with 'origin/master'.
      
      Changes not staged for commit:
        (use "git add <file>..." to update what will be committed)
        (use "git checkout -- <file>..." to discard changes in working directory)
      
      	modified:   installers/mm.sh
      	modified:   modules/default/newsfeed/newsfeed.js
      	modified:   package-lock.json
      	modified:   package.json
      
      Untracked files:
        (use "git add <file>..." to include in what will be committed)
      
      	0
      	core
      	css/icons/
      	css/save_custom.css
      	fonts/LemonMilk.otf
      	installers/pm2_MagicMirror.json
      	run-start.sh
      
      no changes added to commit (use "git add" and/or "git commit -a")
      there are 4 local files that are different than the master repo
      
         installers/mm.sh
         modules/default/newsfeed/newsfeed.js
         package-lock.json
         package.json
      
      save/restore files selection = n
      restoring installers/mm.sh from repo
      restoring modules/default/newsfeed/newsfeed.js from repo
      restoring package-lock.json from repo
      restoring package.json from repo
      test merge result rc='' , if empty, no conflicts
      executing merge, apply specified
      merge result rc= 0
       Already up to date.
      processor architecture is armv6l
      updating MagicMirror runtime, please wait
      
      > magicmirror@2.12.0 install /home/pi/MagicMirror
      > echo "Installing vendor files ...
      " && cd vendor && npm install --loglevel=error
      
      Installing vendor files ...
      
      audited 150 packages in 44.188s
      found 8 vulnerabilities (7 low, 1 high)
        run `npm audit fix` to fix them, or `npm audit` for details
      
      > magicmirror@2.12.0 postinstall /home/pi/MagicMirror
      > npm run install-fonts && echo "MagicMirror installation finished successfully! 
      "
      
      
      > magicmirror@2.12.0 install-fonts /home/pi/MagicMirror
      > echo "Installing fonts ...
      " && cd fonts && npm install --loglevel=error
      
      Installing fonts ...
      
      updated 1 package and audited 1 package in 19.099s
      found 0 vulnerabilities
      
      MagicMirror installation finished successfully! 
      
      audited 1050 packages in 275.039s
      
      74 packages are looking for funding
        run `npm fund` for details
      
      found 62 vulnerabilities (61 low, 1 moderate)
        run `npm audit fix` to fix them, or `npm audit` for details
      npm install completed - Paz Tem 12 22:46:48 +03 2020 on base
      package.json update for armv6l completed ok
      downloading dumpactivemodules script
      
      processing dependency changes for active modules with package.json files
      processing for module MMM-MyPrayerTimes please wait
      ----------------------------------
      npm notice created a lockfile as package-lock.json. You should commit this file.
      added 2 packages from 6 contributors and audited 2 packages in 12.29s
      found 0 vulnerabilities
      
      processing complete for module MMM-MyPrayerTimes
      processing for module MMM-PIR please wait
      ----------------------------------
      
      > epoll@2.0.10 install /home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll
      > node-gyp rebuild
      
      make: Entering directory '/home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll/build'
        CXX(target) Release/obj.target/epoll/src/epoll.o
        SOLINK_MODULE(target) Release/obj.target/epoll.node
        COPY Release/epoll.node
      make: Leaving directory '/home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll/build'
      npm notice created a lockfile as package-lock.json. You should commit this file.
      added 6 packages from 9 contributors and audited 6 packages in 57.611s
      found 0 vulnerabilities
      
      processing complete for module MMM-PIR
      restoring custom.css
      removing git alias
      Upgrade ended - Paz Tem 12 22:48:25 +03 2020
      
      Upgrade started - Sal Tem 14 17:31:45 +03 2020
      system is Linux raspberrypi 4.19.118+ #1311 Mon Apr 27 14:16:15 BST 2020 armv6l GNU/Linux
      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
      user requested to apply changes
      doing test run = false
      
      saving custom.css
      remote name = origin
      local version 2.12.0 already same as master 2.12.0
      restoring custom.css
      removing git alias
      Upgrade ended - Sal Tem 14 17:31:48 +03 2020
      
      Upgrade started - Cum Eki 30 11:24:00 +03 2020
      system is Linux raspberrypi 4.19.118+ #1311 Mon Apr 27 14:16:15 BST 2020 armv6l GNU/Linux
      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
      user requested to apply changes
      doing test run = false
      
      saving custom.css
      restoring file    package.json before switch back to master branch
      package-lock.json: needs merge
      remote name = origin
      local version 2.13.0 already same as master 2.13.0
      restoring custom.css
      removing git alias
      Upgrade ended - Cum Eki 30 11:24:05 +03 2020
      
      Upgrade started - Paz Tem 18 13:21:20 +03 2021
      system is Linux raspberrypi 4.19.118+ #1311 Mon Apr 27 14:16:15 BST 2020 armv6l GNU/Linux
      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
      doing test run = true, NO updates will be applied!
      
      saving custom.css
      reverting to master branch from develop, saving changed files
      would restore file package.json before switch back to master branch
      package-lock.json: needs merge
      Upgrade ended - Paz Tem 18 13:21:23 +03 2021
      
      Upgrade started - Paz Tem 18 13:44:35 +03 2021
      system is Linux raspberrypi 4.19.118+ #1311 Mon Apr 27 14:16:15 BST 2020 armv6l GNU/Linux
      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
      doing test run = true, NO updates will be applied!
      
      saving custom.css
      reverting to master branch from develop, saving changed files
      would restore file package.json before switch back to master branch
      package-lock.json: needs merge
      Upgrade ended - Paz Tem 18 13:44:37 +03 2021
      
      Upgrade started - Paz Tem 18 13:44:39 +03 2021
      system is Linux raspberrypi 4.19.118+ #1311 Mon Apr 27 14:16:15 BST 2020 armv6l GNU/Linux
      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
      user requested to apply changes
      doing test run = false
      
      saving custom.css
      reverting to master branch from develop, saving changed files
      saving file package.json as package.json.save before switch back to master branch
      restoring file package.json before switch back to master branch
      package-lock.json: needs merge
      Upgrade ended - Paz Tem 18 13:44:41 +03 2021
      
      

      Raspberry’s date is wrong

      posted in Troubleshooting
      U
      uok825
    • RE: Cannot find module "moment"

      @sdetweil said in Cannot find module "moment":

      @uok825 ok, now,

      git checkout master

      ef71e6c6-1c86-49bf-812d-f554dcf47aa2-image.png

      posted in Troubleshooting
      U
      uok825
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 2 / 6