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

    Arzeg

    @Arzeg

    3
    Reputation
    424
    Profile views
    18
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Arzeg Unfollow Follow

    Best posts made by Arzeg

    • RE: MMM-voice

      Hey guys,
      first of all thank u so much for creating this module @strawberry-3-141 i love it!
      and @Mykle1 thanks for the solution it works perfect for me with

      LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
      

      I wasted a half year ago a couple of weeks with this module because it does not work for me, till now!
      Yesterday i’ve reinstalled the Whole MM on a fresh Raspbian system and read all the comments here.

      But there is one question still alive, i am in struggle with the commands i am not sure if i say it right.

      MAGIC MIRROR -> VOICE = (going to Voice Mode)
      (VOICE flashing) -> HIDE MODULES, SHOW MODULES, GOING TO SLEEP, WAKE UP

      That works fine.

      But what should i do if (VOICE) don’t flashing?
      and are there different modes instead of VOICE?
      oh and last but not least if i say (in flashing voice mode) Open Help or Close Help nothing happens :/

      posted in Utilities
      ArzegA
      Arzeg
    • RE: MMM-Fuel black screen

      @sdetweil Okay.

      Unfortunately, there is still an error with the workaround. I have requested a new API key (which works by calling it from the address bar of a browser) but now I get an error message from the module that the API key has expired.

      0|mm     | MMM-Fuel: Failed to retrieve prices FetchError: request to https://creativecommons.tankerkoenig.de/json/list.php?lat=51.40488&lng=8.06148&rad=5&type=all&apikey=xxxxxx-xxxxx-xxxxx-xxxxx&sort=dist failed, reason: certificate has expired
      0|mm     |     at ClientRequest.<anonymous> (/home/pi/MagicMirror/modules/MMM-Fuel/node_modules/node-fetch/lib/index.js:1491:11)
      0|mm     |     at ClientRequest.emit (events.js:200:13)
      0|mm     |     at TLSSocket.socketErrorListener (_http_client.js:402:9)
      0|mm     |     at TLSSocket.emit (events.js:200:13)
      0|mm     |     at emitErrorNT (internal/streams/destroy.js:91:8)
      0|mm     |     at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
      0|mm     |     at processTicksAndRejections (internal/process/task_queues.js:84:9) {
      0|mm     |   message: 'request to ' +
      0|mm     |     'https://creativecommons.tankerkoenig.de/json/list.php?lat=51.40488&lng=8.06148&rad=5&type=all&apikey=xxxxxxx-xxxxx-xxxxx-xxxxx-xxxxx&sort=dist ' +
      0|mm     |     'failed, reason: certificate has expired',
      0|mm     |   type: 'system',
      0|mm     |   errno: 'CERT_HAS_EXPIRED',
      0|mm     |   code: 'CERT_HAS_EXPIRED'
      0|mm     | }
      
      posted in Troubleshooting
      ArzegA
      Arzeg
    • MMM-Fuel black screen

      Hey guys,

      after updating to MM version 2.21.0 I had a black screen. I have previously saved the config.js file as well as the module folder and the main.css file and reinstalled after the update. The logs then showed that the module “MMM-Fuel” apparently makes problems, when I removed the inclusion from the config.js, it ran again. I then reinstalled the MMM-Fuel module, but the error remains.

      Logs:

      0|mm     | [02.10.2022 16:21.50.820] [ERROR] 
      0|mm     | WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'fs/promises'
      0|mm     | Require stack:
      0|mm     | - /home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js
      0|mm     | - /home/pi/MagicMirror/js/app.js
      0|mm     | - /home/pi/MagicMirror/js/electron.js
      0|mm     | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      0|mm     | - 
      0|mm     | [02.10.2022 16:21.50.823] [LOG]   Loading module helpers ...
      0|mm     | [02.10.2022 16:21.50.827] [LOG]   No helper found for module: alert.
      0|mm     | [02.10.2022 16:21.50.831] [LOG]   Initializing new module helper ...
      0|mm     | [02.10.2022 16:21.50.834] [LOG]   Module helper loaded: updatenotification
      0|mm     | [02.10.2022 16:21.50.838] [LOG]   No helper found for module: clock.
      0|mm     | [02.10.2022 16:21.50.842] [LOG]   No helper found for module: weather.
      0|mm     | [02.10.2022 16:21.50.845] [LOG]   Initializing new module helper ...
      0|mm     | [02.10.2022 16:21.50.848] [LOG]   Module helper loaded: newsfeed
      0|mm     | [02.10.2022 16:21.50.857] [ERROR] 
      0|mm     | App threw an error during load
      0|mm     | [02.10.2022 16:21.50.861] [ERROR] Error: Cannot find module 'fs/promises'
      0|mm     | Require stack:
      0|mm     | - /home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js
      0|mm     | - /home/pi/MagicMirror/js/app.js
      0|mm     | - /home/pi/MagicMirror/js/electron.js
      0|mm     | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      0|mm     | - 
      0|mm     |     at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
      0|mm     |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
      0|mm     |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
      0|mm     |     at Function.Module._load (internal/modules/cjs/loader.js:531:27)
      0|mm     |     at Module.require (internal/modules/cjs/loader.js:685:19)
      0|mm     |     at require (internal/modules/cjs/helpers.js:16:16)
      0|mm     |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js:26:12)
      0|mm     |     at Module._compile (internal/modules/cjs/loader.js:786:30)
      0|mm     |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
      0|mm     |     at Module.load (internal/modules/cjs/loader.js:645:32)
      0|mm     | [02.10.2022 16:21.50.869] [ERROR] 
      0|mm     | Whoops! There was an uncaught exception...
      0|mm     | [02.10.2022 16:21.50.901] [ERROR] 
      0|mm     | Error: Cannot find module 'fs/promises'
      0|mm     | Require stack:
      0|mm     | - /home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js
      0|mm     | - /home/pi/MagicMirror/js/app.js
      0|mm     | - /home/pi/MagicMirror/js/electron.js
      0|mm     | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      0|mm     | - 
      0|mm     |     at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
      0|mm     |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
      0|mm     |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
      0|mm     |     at Function.Module._load (internal/modules/cjs/loader.js:531:27)
      0|mm     |     at Module.require (internal/modules/cjs/loader.js:685:19)
      0|mm     |     at require (internal/modules/cjs/helpers.js:16:16)
      0|mm     |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js:26:12)
      0|mm     |     at Module._compile (internal/modules/cjs/loader.js:786:30)
      0|mm     |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
      0|mm     |     at Module.load (internal/modules/cjs/loader.js:645:32) {
      0|mm     |   code: 'MODULE_NOT_FOUND',
      0|mm     |   requireStack: [
      0|mm     |     '/home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js',
      0|mm     |     '/home/pi/MagicMirror/js/app.js',
      0|mm     |     '/home/pi/MagicMirror/js/electron.js',
      0|mm     |     '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
      0|mm     |     undefined
      0|mm     |   ]
      0|mm     | }
      0|mm     | [02.10.2022 16:21.50.906] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|mm     | [02.10.2022 16:21.50.909] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|mm     | [02.10.2022 16:21.51.317] [LOG]   
      0|mm     | Launching application.
      0|mm     | [29573:1002/162153.771840:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
      
      

      what am i missing?

      posted in Troubleshooting
      ArzegA
      Arzeg

    Latest posts made by Arzeg

    • RE: MMM-Fuel black screen

      @sdetweil Still works ;-)

      bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
      No LSB modules are available.
      doing test run = false
      update log will be in /home/pi/MagicMirror/installers/upgrade.log
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v16.9.1
      Installed Node version: v16.15.1
      No Node.js upgrade necessary.
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      Minimum npm version: V7.11.2
      Installed npm version: V8.11.0
      No npm upgrade necessary.
      
      (23) Failed writing body
      upgrading from version 2.21.0 to 2.21.0
      fetching latest revisions
      updating MagicMirror runtime, please wait
      npm WARN invalid config omit="dev --no-audit --no-fund --no-update-notifier" set in command line options
      npm WARN invalid config Must be one or more of: dev, optional, peer
      
      > magicmirror@2.21.0 postinstall
      > npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully! 
      > "
      
      
      > magicmirror@2.21.0 install-vendor
      > echo "Installing vendor files ...
      > " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
      
      Installing vendor files ...
      
      
      up to date in 2s
      
      > magicmirror@2.21.0 install-fonts
      > echo "Installing fonts ...
      > " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
      
      Installing fonts ...
      
      
      up to date in 2s
      MagicMirror² installation finished successfully! 
      
      
      > magicmirror@2.21.0 prepare
      > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed.
      
      husky - Git hooks installed
      
      up to date, audited 754 packages in 55s
      
      91 packages are looking for funding
        run `npm fund` for details
      
      3 moderate severity vulnerabilities
      
      To address all issues (including breaking changes), run:
        npm audit fix --force
      
      Run `npm audit` for details.
      Checking for modules with removed libraries
       
               require for request in module MMM-Reddit not found in package.json package.json for module MMM-Reddit
      installing request for module MMM-Reddit
      npm WARN old lockfile 
      npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      npm WARN old lockfile 
      npm WARN old lockfile This is a one-time fix-up, please be patient...
      npm WARN old lockfile 
      npm ERR! code ENOTEMPTY
      npm ERR! syscall rename
      npm ERR! path /home/pi/MagicMirror/modules/MMM-Reddit/node_modules/ajv
      npm ERR! dest /home/pi/MagicMirror/modules/MMM-Reddit/node_modules/.ajv-s6Phgkfd
      npm ERR! errno -39
      npm ERR! ENOTEMPTY: directory not empty, rename '/home/pi/MagicMirror/modules/MMM-Reddit/node_modules/ajv' -> '/home/pi/MagicMirror/modules/MMM-Reddit/node_modules/.ajv-s6Phgkfd'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2022-10-02T17_33_12_018Z-debug-0.log
      processing dependency changes for active modules with package.json files
      
      processing for module MMM-Fuel please wait
      ----------------------------------
      npm WARN invalid config omit="dev --no-audit --no-fund --no-update-notifier" set in command line options
      npm WARN invalid config Must be one or more of: dev, optional, peer
      npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
      
      added 537 packages, and audited 538 packages in 2m
      
      89 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      processing complete for module MMM-Fuel
      
      processing for module MMM-Strava please wait
      ----------------------------------
      npm WARN invalid config omit="dev --no-audit --no-fund --no-update-notifier" set in command line options
      npm WARN invalid config Must be one or more of: dev, optional, peer
      npm WARN deprecated @stylelint/postcss-markdown@0.36.2: Use the original unforked package instead: postcss-markdown
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      
      added 441 packages, and audited 442 packages in 2m
      
      81 packages are looking for funding
        run `npm fund` for details
      
      2 moderate severity vulnerabilities
      
      To address all issues (including breaking changes), run:
        npm audit fix --force
      
      Run `npm audit` for details.
      processing complete for module MMM-Strava
      
      processing for module MMM-Todoist please wait
      ----------------------------------
      npm WARN invalid config omit="dev --no-audit --no-fund --no-update-notifier" set in command line options
      npm WARN invalid config Must be one or more of: dev, optional, peer
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      
      added 50 packages, and audited 51 packages in 16s
      
      3 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      processing complete for module MMM-Todoist
      
      

      oh, and electron is also now on version 19.1.0

      posted in Troubleshooting
      ArzegA
      Arzeg
    • RE: MMM-Fuel black screen

      @sdetweil
      with no params:

      install log being saved to /home/pi/install.log
      Installing helper tools ...
      Updating packages ...
      [           <=>                                                                                                     ]
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v16.9.1
      Installed Node version: v16.15.1
      No Node.js upgrade necessary.
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      Minimum npm version: V7.11.2
      Installed npm version: V8.11.0
      No npm upgrade necessary.
      It seems like MagicMirror is already installed.
      To prevent overwriting, the installer will be aborted.
      Please rename the ~/MagicMirror folder and try again.
      

      with force:

      bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
      No LSB modules are available.
      doing test run = false
      update log will be in /home/pi/MagicMirror/installers/upgrade.log
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v16.9.1
      Installed Node version: v16.15.1
      No Node.js upgrade necessary.
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      Minimum npm version: V7.11.2
      Installed npm version: V8.11.0
      No npm upgrade necessary.
      
      upgrading from version 2.21.0 to 2.21.0
      fetching latest revisions
      updating MagicMirror runtime, please wait
      npm WARN invalid config omit="dev --no-audit --no-fund --no-update-notifier" set in command line options
      npm WARN invalid config Must be one or more of: dev, optional, peer
      
      > magicmirror@2.21.0 postinstall
      > npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully! 
      > "
      
      
      > magicmirror@2.21.0 install-vendor
      > echo "Installing vendor files ...
      > " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
      
      Installing vendor files ...
      
      
      up to date in 2s
      
      > magicmirror@2.21.0 install-fonts
      > echo "Installing fonts ...
      > " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
      
      Installing fonts ...
      
      
      up to date in 2s
      MagicMirror² installation finished successfully! 
      
      
      > magicmirror@2.21.0 prepare
      > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed.
      
      husky - Git hooks installed
      
      up to date, audited 754 packages in 58s
      
      91 packages are looking for funding
        run `npm fund` for details
      
      3 moderate severity vulnerabilities
      
      To address all issues (including breaking changes), run:
        npm audit fix --force
      
      Run `npm audit` for details.
      Checking for modules with removed libraries
       
               require for request in module MMM-Reddit not found in package.json package.json for module MMM-Reddit
      installing request for module MMM-Reddit
      npm WARN old lockfile 
      npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      npm WARN old lockfile 
      npm WARN old lockfile This is a one-time fix-up, please be patient...
      npm WARN old lockfile 
      npm ERR! code ENOTEMPTY
      npm ERR! syscall rename
      npm ERR! path /home/pi/MagicMirror/modules/MMM-Reddit/node_modules/ajv
      npm ERR! dest /home/pi/MagicMirror/modules/MMM-Reddit/node_modules/.ajv-s6Phgkfd
      npm ERR! errno -39
      npm ERR! ENOTEMPTY: directory not empty, rename '/home/pi/MagicMirror/modules/MMM-Reddit/node_modules/ajv' -> '/home/pi/MagicMirror/modules/MMM-Reddit/node_modules/.ajv-s6Phgkfd'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2022-10-02T16_46_07_715Z-debug-0.log
      processing dependency changes for active modules with package.json files
      
      processing for module MMM-Fuel please wait
      ----------------------------------
      npm WARN invalid config omit="dev --no-audit --no-fund --no-update-notifier" set in command line options
      npm WARN invalid config Must be one or more of: dev, optional, peer
      npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
      
      added 537 packages, and audited 538 packages in 3m
      
      89 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      processing complete for module MMM-Fuel
      
      processing for module MMM-Strava please wait
      ----------------------------------
      npm WARN invalid config omit="dev --no-audit --no-fund --no-update-notifier" set in command line options
      npm WARN invalid config Must be one or more of: dev, optional, peer
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
      npm WARN deprecated @stylelint/postcss-markdown@0.36.2: Use the original unforked package instead: postcss-markdown
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      
      added 441 packages, and audited 442 packages in 3m
      
      81 packages are looking for funding
        run `npm fund` for details
      
      2 moderate severity vulnerabilities
      
      To address all issues (including breaking changes), run:
        npm audit fix --force
      
      Run `npm audit` for details.
      processing complete for module MMM-Strava
      
      processing for module MMM-Todoist please wait
      ----------------------------------
      npm WARN invalid config omit="dev --no-audit --no-fund --no-update-notifier" set in command line options
      npm WARN invalid config Must be one or more of: dev, optional, peer
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      
      added 50 packages, and audited 51 packages in 19s
      
      3 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      processing complete for module MMM-Todoist
      

      This was the second time i run the command with force, because at the first time, it stuck for about 30 minutes at the same point

      ⠸ reify:lodash: timing reify:audit Completed in 125567ms
      

      so i decided to restart the script with force.

      I restartet the mm and it works now! Thanks!

      Do you still want to see the upgrade.log?

      posted in Troubleshooting
      ArzegA
      Arzeg
    • RE: MMM-Fuel black screen

      @sdetweil manual with pull and npm install

      posted in Troubleshooting
      ArzegA
      Arzeg
    • RE: MMM-Fuel black screen

      @sdetweil ehm … i copied your command:

      grep  version ~/MagicMirror/node_modules/electron/package.json
        "version": "6.1.12",
      

      But that’s weird, I completely rebuilt the mirror about half a year ago. I can’t imagine that in that time the versions have moved from 6 to 19.

      posted in Troubleshooting
      ArzegA
      Arzeg
    • RE: MMM-Fuel black screen

      @sdetweil My version is: 6.1.12 how can i update this?

      posted in Troubleshooting
      ArzegA
      Arzeg
    • RE: MMM-Fuel black screen

      @sdetweil Thanks for your help. How can I check if electron is up to date. Possibly that is where the problem lies

      posted in Troubleshooting
      ArzegA
      Arzeg
    • RE: MMM-Fuel black screen

      @sdetweil Okay.

      Unfortunately, there is still an error with the workaround. I have requested a new API key (which works by calling it from the address bar of a browser) but now I get an error message from the module that the API key has expired.

      0|mm     | MMM-Fuel: Failed to retrieve prices FetchError: request to https://creativecommons.tankerkoenig.de/json/list.php?lat=51.40488&lng=8.06148&rad=5&type=all&apikey=xxxxxx-xxxxx-xxxxx-xxxxx&sort=dist failed, reason: certificate has expired
      0|mm     |     at ClientRequest.<anonymous> (/home/pi/MagicMirror/modules/MMM-Fuel/node_modules/node-fetch/lib/index.js:1491:11)
      0|mm     |     at ClientRequest.emit (events.js:200:13)
      0|mm     |     at TLSSocket.socketErrorListener (_http_client.js:402:9)
      0|mm     |     at TLSSocket.emit (events.js:200:13)
      0|mm     |     at emitErrorNT (internal/streams/destroy.js:91:8)
      0|mm     |     at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
      0|mm     |     at processTicksAndRejections (internal/process/task_queues.js:84:9) {
      0|mm     |   message: 'request to ' +
      0|mm     |     'https://creativecommons.tankerkoenig.de/json/list.php?lat=51.40488&lng=8.06148&rad=5&type=all&apikey=xxxxxxx-xxxxx-xxxxx-xxxxx-xxxxx&sort=dist ' +
      0|mm     |     'failed, reason: certificate has expired',
      0|mm     |   type: 'system',
      0|mm     |   errno: 'CERT_HAS_EXPIRED',
      0|mm     |   code: 'CERT_HAS_EXPIRED'
      0|mm     | }
      
      posted in Troubleshooting
      ArzegA
      Arzeg
    • RE: MMM-Fuel black screen

      Thanks for the fast reply.

      node version: 16.15.1
      npm version: 8.11.0

      Changed the line in the node_helper.js file.

      looks good now, but i need to Update my API key.

      What confuses me a bit is that the other modules are not affected, since I have the node_helper.js file in each module.

      Oh and thank you for opening the issue on github

      posted in Troubleshooting
      ArzegA
      Arzeg
    • MMM-Fuel black screen

      Hey guys,

      after updating to MM version 2.21.0 I had a black screen. I have previously saved the config.js file as well as the module folder and the main.css file and reinstalled after the update. The logs then showed that the module “MMM-Fuel” apparently makes problems, when I removed the inclusion from the config.js, it ran again. I then reinstalled the MMM-Fuel module, but the error remains.

      Logs:

      0|mm     | [02.10.2022 16:21.50.820] [ERROR] 
      0|mm     | WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'fs/promises'
      0|mm     | Require stack:
      0|mm     | - /home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js
      0|mm     | - /home/pi/MagicMirror/js/app.js
      0|mm     | - /home/pi/MagicMirror/js/electron.js
      0|mm     | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      0|mm     | - 
      0|mm     | [02.10.2022 16:21.50.823] [LOG]   Loading module helpers ...
      0|mm     | [02.10.2022 16:21.50.827] [LOG]   No helper found for module: alert.
      0|mm     | [02.10.2022 16:21.50.831] [LOG]   Initializing new module helper ...
      0|mm     | [02.10.2022 16:21.50.834] [LOG]   Module helper loaded: updatenotification
      0|mm     | [02.10.2022 16:21.50.838] [LOG]   No helper found for module: clock.
      0|mm     | [02.10.2022 16:21.50.842] [LOG]   No helper found for module: weather.
      0|mm     | [02.10.2022 16:21.50.845] [LOG]   Initializing new module helper ...
      0|mm     | [02.10.2022 16:21.50.848] [LOG]   Module helper loaded: newsfeed
      0|mm     | [02.10.2022 16:21.50.857] [ERROR] 
      0|mm     | App threw an error during load
      0|mm     | [02.10.2022 16:21.50.861] [ERROR] Error: Cannot find module 'fs/promises'
      0|mm     | Require stack:
      0|mm     | - /home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js
      0|mm     | - /home/pi/MagicMirror/js/app.js
      0|mm     | - /home/pi/MagicMirror/js/electron.js
      0|mm     | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      0|mm     | - 
      0|mm     |     at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
      0|mm     |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
      0|mm     |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
      0|mm     |     at Function.Module._load (internal/modules/cjs/loader.js:531:27)
      0|mm     |     at Module.require (internal/modules/cjs/loader.js:685:19)
      0|mm     |     at require (internal/modules/cjs/helpers.js:16:16)
      0|mm     |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js:26:12)
      0|mm     |     at Module._compile (internal/modules/cjs/loader.js:786:30)
      0|mm     |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
      0|mm     |     at Module.load (internal/modules/cjs/loader.js:645:32)
      0|mm     | [02.10.2022 16:21.50.869] [ERROR] 
      0|mm     | Whoops! There was an uncaught exception...
      0|mm     | [02.10.2022 16:21.50.901] [ERROR] 
      0|mm     | Error: Cannot find module 'fs/promises'
      0|mm     | Require stack:
      0|mm     | - /home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js
      0|mm     | - /home/pi/MagicMirror/js/app.js
      0|mm     | - /home/pi/MagicMirror/js/electron.js
      0|mm     | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      0|mm     | - 
      0|mm     |     at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
      0|mm     |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
      0|mm     |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
      0|mm     |     at Function.Module._load (internal/modules/cjs/loader.js:531:27)
      0|mm     |     at Module.require (internal/modules/cjs/loader.js:685:19)
      0|mm     |     at require (internal/modules/cjs/helpers.js:16:16)
      0|mm     |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js:26:12)
      0|mm     |     at Module._compile (internal/modules/cjs/loader.js:786:30)
      0|mm     |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
      0|mm     |     at Module.load (internal/modules/cjs/loader.js:645:32) {
      0|mm     |   code: 'MODULE_NOT_FOUND',
      0|mm     |   requireStack: [
      0|mm     |     '/home/pi/MagicMirror/modules/MMM-Fuel/node_helper.js',
      0|mm     |     '/home/pi/MagicMirror/js/app.js',
      0|mm     |     '/home/pi/MagicMirror/js/electron.js',
      0|mm     |     '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
      0|mm     |     undefined
      0|mm     |   ]
      0|mm     | }
      0|mm     | [02.10.2022 16:21.50.906] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|mm     | [02.10.2022 16:21.50.909] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|mm     | [02.10.2022 16:21.51.317] [LOG]   
      0|mm     | Launching application.
      0|mm     | [29573:1002/162153.771840:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
      
      

      what am i missing?

      posted in Troubleshooting
      ArzegA
      Arzeg
    • RE: MMM-voice + MMM-Podcast

      @AxLed
      Thats good to know. I am gonna try it in the next days

      @sdetweil
      The problem is im not a JS Developer the only and first time with JS was the mirror. But im gonna try it in the next days with the new module from @AxLed

      Thanks for the fast answer ;)

      Hendrik

      posted in Troubleshooting
      ArzegA
      Arzeg