MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Johanba
    • Profile
    • Following 3
    • Followers 0
    • Topics 6
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    Johanba

    @Johanba

    0
    Reputation
    9
    Profile views
    13
    Posts
    0
    Followers
    3
    Following
    Joined Last Online
    Email jbarkhuizen@gmail.com

    Johanba Unfollow Follow

    Latest posts made by Johanba

    • Module not found error

      Hi All

      A few modules after install, in this case both MMM-Homeassistant & MMM-Awesome Alexa on startup indicate "module not found
      Yes, I do run npm install in the folder
      I have checked my config, reinstalled, updated the module but cannot get it working
      If I comment the module out all is fine

      Any help will be appreciated

      [07.05.2022 23:14.30.436] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request'
      Require stack:
      - /home/johanba/MagicMirror/modules/MMM-HomeAssistant/node_helper.js
      - /home/johanba/MagicMirror/js/app.js
      - /home/johanba/MagicMirror/js/electron.js
      - /home/johanba/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
      [07.05.2022 23:14.30.439] [LOG]   Loading module helpers ...
      [07.05.2022 23:14.30.440] [LOG]   No helper found for module: MMM-pages.
      [07.05.2022 23:14.30.441] [LOG]   No helper found for module: alert.
      [07.05.2022 23:14.30.442] [LOG]   No helper found for module: clock.
      [07.05.2022 23:14.30.444] [LOG]   No helper found for module: MMM-COVID19.
      [07.05.2022 23:14.30.444] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.445] [LOG]   Module helper loaded: EXT-Alert
      [07.05.2022 23:14.30.445] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.446] [LOG]   Module helper loaded: Gateway
      [07.05.2022 23:14.30.447] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.447] [LOG]   Module helper loaded: MMM-Todoist
      [07.05.2022 23:14.30.448] [LOG]   No helper found for module: MMM-WebView.
      [07.05.2022 23:14.30.448] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.449] [LOG]   Module helper loaded: MMM-NowPlayingOnSpotify
      [07.05.2022 23:14.30.450] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.451] [LOG]   Module helper loaded: EXT-Detector
      [07.05.2022 23:14.30.451] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.452] [LOG]   Module helper loaded: MMM-GoogleAssistant
      [07.05.2022 23:14.30.452] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.453] [LOG]   Module helper loaded: EXT-Pir
      [07.05.2022 23:14.30.454] [LOG]   Initializing new module helper ...
      [07.05.2022 23:14.30.455] [LOG]   Module helper loaded: MMM-MacAddressScan
      [07.05.2022 23:14.30.457] [ERROR] App threw an error during load
      [07.05.2022 23:14.30.459] [ERROR] Error: Cannot find module 'request'
      Require stack:
      - /home/johanba/MagicMirror/modules/MMM-HomeAssistant/node_helper.js
      - /home/johanba/MagicMirror/js/app.js
      - /home/johanba/MagicMirror/js/electron.js
      - /home/johanba/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
          at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
          at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105)
          at Function.Module._resolveFilename (/home/johanba/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (node:internal/modules/cjs/loader:785:27)
          at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
          at Module.require (node:internal/modules/cjs/loader:1012:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/home/johanba/MagicMirror/modules/MMM-HomeAssistant/node_helper.js:2:17)
          at Module._compile (node:internal/modules/cjs/loader:1116:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
      [07.05.2022 23:14.30.461] [ERROR] Whoops! There was an uncaught exception...
      [07.05.2022 23:14.30.468] [ERROR] Error: Cannot find module 'request'
      Require stack:
      - /home/johanba/MagicMirror/modules/MMM-HomeAssistant/node_helper.js
      - /home/johanba/MagicMirror/js/app.js
      - /home/johanba/MagicMirror/js/electron.js
      - /home/johanba/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
          at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
          at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105)
          at Function.Module._resolveFilename (/home/johanba/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (node:internal/modules/cjs/loader:785:27)
          at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
          at Module.require (node:internal/modules/cjs/loader:1012:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/home/johanba/MagicMirror/modules/MMM-HomeAssistant/node_helper.js:2:17)
          at Module._compile (node:internal/modules/cjs/loader:1116:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) {
        code: 'MODULE_NOT_FOUND',
        requireStack: [
          '/home/johanba/MagicMirror/modules/MMM-HomeAssistant/node_helper.js',
          '/home/johanba/MagicMirror/js/app.js',
          '/home/johanba/MagicMirror/js/electron.js',
          '/home/johanba/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
          undefined
        ]
      }
      [07.05.2022 23:14.30.472] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [07.05.2022 23:14.30.473] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [07.05.2022 23:14.30.770] [LOG]   Launching application.
      ^C/home/johanba/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      
      
      posted in Troubleshooting
      Johanba
      Johanba
    • MMM-Webview

      Is it possible to run multiple instances of Webview
      I have MMM Pages installed
      Page 3 = my Solar web page
      and I want to add my tracking device webpage on Page 4

      Is there a trick to do this

      posted in Utilities
      Johanba
      Johanba
    • Google Tasks

      Hi
      Need some help please
      I have installed Google Tasks
      But the list show inverted on the MM

      Should be
      Name

      • list item 1
      • list item 2

      Any support will be appreciated

      Johan

      Picture on MM
      4794bcd6-fa8c-4987-bd7a-c3ff175e51d4-image.png

      View on Google Tasks
      6238a78a-b768-452c-873c-b8ad733596f8-image.png

      posted in Troubleshooting
      Johanba
      Johanba
    • RE: Add 3rd page to MMM-Pages

      @assassins Thanks Sorted

      posted in Troubleshooting
      Johanba
      Johanba
    • RE: Multiple ics files to 1 calender support requested

      @sdetweil Thanks, worked

      posted in General Discussion
      Johanba
      Johanba
    • RE: Add 3rd page to MMM-Pages

      @sdetweil I suspect I still have some issue
      Below is my code
      It does not add the 3rd Page, even the Page indicator only show 2 dots
      What am I missing
      Did I get the code past right this time 😁

      {
      				module: 'MMM-pages',
      					config: {
      						rotationTime: 30000,
      						rotationDelay: 30000,
      						modules:
      							[
      							//Page 1
      							[ "calendar","newsfeed","MMM-Weather","Alerts","MMM-UpdateNotification","MMM-connection-status","MMM-NetworkConnection","MMM-GoogleTasks" ],
      							//Page 2
      							[ "MMM-RTSPStream","MMM-NowPlayingOnSpotify","MMM-Tools","MMM-iFrame","MMM-WebView","MMM-TomTomTraffic"]
      							//Page 3
      							["MMM-HomeAssistant"]
      							],
      							//Fixed Pages
      							fixed: ["MMM-BackgroundSlideshow","MMM-TelegramBot","MMM-PIR-Sensor","clock","MMM-Weather","MMM-page-indicator","MMM-Alexa","MMM-GoogleAssistant","MMM-Detector"],
      							//Hidden Pages
      							hiddenPages: {
      								"screenSaver": ["clock"],
      								"admin": ["MMM-Config", "MMM-pages"],
      							},
      					}
      				},
      
      posted in Troubleshooting
      Johanba
      Johanba
    • RE: Add 3rd page to MMM-Pages

      @sdetweil Noted, Thanks for the support
      I am new to this an learning faster than expected

      posted in Troubleshooting
      Johanba
      Johanba
    • Add 3rd page to MMM-Pages

      Hi All
      Need some help
      My Mirror use 2 pages at present
      I tried added a 3rd Page , but then the Mirror dont load
      This is my code, will appreciate advise

      {
      				module: 'MMM-pages',
      					config: {
      						rotationTime: 30000,
      						rotationDelay: 30000,
      						modules:
      							[[ "MMM-HomeAssistant","calendar","newsfeed","MMM-Weather","Alerts","MMM-UpdateNotification","MMM-connection-status","MMM-NetworkConnection","MMM-GoogleTasks" ],
      							[ "MMM-RTSPStream","MMM-NowPlayingOnSpotify","MMM-Tools","MMM-iFrame","MMM-WebView","MMM-TomTomTraffic"]],
      							fixed: ["MMM-TelegramBot","MMM-PIR-Sensor","clock","MMM-Weather","MMM-page-indicator","MMM-Alexa","MMM-GoogleAssistant","MMM-Detector"],
      							hiddenPages: {
      								"screenSaver": ["clock"],
      								"admin": [ , "MMM-Config",  "MMM-pages" ],
      							},
      					}
      				},
      
      posted in Troubleshooting
      Johanba
      Johanba
    • Multiple ics files to 1 calender support requested

      Hi All

      I have added the standard calendar module, and have linked my google calendar, but only items in the main calendar shows, Items from added calenders does not show, it seems I have to add multiple versions and add each ics file, but that defeats the objective of have 1 calender

      Will appreciate any recommendation on a solution

      posted in General Discussion
      Johanba
      Johanba
    • Unable to upgrade MM to 2.27.1

      Hi

      Getting this error
      pi@raspberrypi:~/MagicMirror $ git pull && npm install
      error: Pulling is not possible because you have unmerged files.
      hint: Fix them up in the work tree, and then use ‘git add/rm ’
      hint: as appropriate to mark resolution and make a commit.
      fatal: Exiting because of an unresolved conflict.

      Will appreciate any assistance

      posted in Troubleshooting
      Johanba
      Johanba