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

    Posts

    Recent Best Controversial
    • RE: MMM-PGA

      Getting this error now…can anyone help? Tried update uninstall/reinstall etc

      1|MagicMirror  | [2020-12-05 17:02:23.100] [ERROR]  App threw an error during load
      1|MagicMirror  | [2020-12-05 17:02:23.102] [ERROR]  Error: Cannot find module 'jsdom'
      1|MagicMirror  | Require stack:
      1|MagicMirror  | - /home/pi/MagicMirror/modules/MMM-PGA/OWGR.js
      1|MagicMirror  | - /home/pi/MagicMirror/modules/MMM-PGA/node_helper.js
      1|MagicMirror  | - /home/pi/MagicMirror/js/app.js
      1|MagicMirror  | - /home/pi/MagicMirror/js/electron.js
      1|MagicMirror  | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      1|MagicMirror  | -
      1|MagicMirror  |     at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
      1|MagicMirror  |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
      1|MagicMirror  |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
      1|MagicMirror  |     at Function.Module._load (internal/modules/cjs/loader.js:531:27)
      1|MagicMirror  |     at Module.require (internal/modules/cjs/loader.js:685:19)
      1|MagicMirror  |     at require (internal/modules/cjs/helpers.js:16:16)
      1|MagicMirror  |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PGA/OWGR.js:3:15)
      1|MagicMirror  |     at Module._compile (internal/modules/cjs/loader.js:786:30)
      1|MagicMirror  |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
      1|MagicMirror  |     at Module.load (internal/modules/cjs/loader.js:645:32)
      1|MagicMirror  | [2020-12-05 17:02:23.105] [ERROR]  Whoops! There was an uncaught exception...
      1|MagicMirror  | [2020-12-05 17:02:23.106] [ERROR]
      1|MagicMirror  | Error: Cannot find module 'jsdom'
      1|MagicMirror  | Require stack:
      1|MagicMirror  | - /home/pi/MagicMirror/modules/MMM-PGA/OWGR.js
      1|MagicMirror  | - /home/pi/MagicMirror/modules/MMM-PGA/node_helper.js
      1|MagicMirror  | - /home/pi/MagicMirror/js/app.js
      1|MagicMirror  | - /home/pi/MagicMirror/js/electron.js
      1|MagicMirror  | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      1|MagicMirror  | -
      1|MagicMirror  |     at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
      1|MagicMirror  |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
      1|MagicMirror  |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
      1|MagicMirror  |     at Function.Module._load (internal/modules/cjs/loader.js:531:27)
      1|MagicMirror  |     at Module.require (internal/modules/cjs/loader.js:685:19)
      1|MagicMirror  |     at require (internal/modules/cjs/helpers.js:16:16)
      1|MagicMirror  |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PGA/OWGR.js:3:15)
      1|MagicMirror  |     at Module._compile (internal/modules/cjs/loader.js:786:30)
      1|MagicMirror  |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
      1|MagicMirror  |     at Module.load (internal/modules/cjs/loader.js:645:32) {
      1|MagicMirror  |   code: 'MODULE_NOT_FOUND',
      1|MagicMirror  |   requireStack: [
      1|MagicMirror  |     '/home/pi/MagicMirror/modules/MMM-PGA/OWGR.js',
      1|MagicMirror  |     '/home/pi/MagicMirror/modules/MMM-PGA/node_helper.js',
      1|MagicMirror  |     '/home/pi/MagicMirror/js/app.js',
      1|MagicMirror  |     '/home/pi/MagicMirror/js/electron.js',
      1|MagicMirror  |     '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
      1|MagicMirror  |     undefined
      1|MagicMirror  |   ]
      1|MagicMirror  | }
      1|MagicMirror  | [2020-12-05 17:02:23.119] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      1|MagicMirror  | [2020-12-05 17:02:23.120] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      
      
      posted in Sport
      swvalentiS
      swvalenti
    • RE: MMM-News

      @Bugsounet Ok thanks for the detailed explanation. Here is my config now so hopefully this should resolve it.

      },
      		{
        		module: "MMM-News",
        		position: "bottom_bar",
        		config: {
          		apiKey : "XXXXXXXXXXXXXXXXXXX",
          		type: "horizontal",
          		query : [
            		{
              country: "us",
              className: "redTitle",
            },
          ],
      	touchable: false,
      	scanInterval: 1000*60*30
        }
      },
      
      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-News

      Not sure what it means but says initialized with 10 query

      /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
      1|MagicMir | [2020-11-22 18:00:23.595] [LOG]    MMM-PGA Retrieving Tounament List
      1|MagicMir | [2020-11-22 18:00:24.198] [LOG]    MMM-PGA retrieving Tournament Data
      1|MagicMir | [2020-11-22 18:05:22.126] [LOG]    Use existing calendar fetcher for url: https://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics
      1|MagicMir | [2020-11-22 18:05:22.134] [INFO]   Calendar-Fetcher: Broadcasting 2 events.
      1|MagicMir | [2020-11-22 18:05:22.391] [INFO]   Calendar-Fetcher: Broadcasting 2 events.
      1|MagicMir | [2020-11-22 18:05:24.044] [LOG]    MMM-PGA retrieving Tournament Data
      1|MagicMir | [2020-11-22 18:05:24.437] [LOG]    MMM-PGA Retrieving Tounament List
      1|MagicMir | [2020-11-22 18:07:49.476] [LOG]    Use existing calendar fetcher for url: https://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics
      1|MagicMir | [2020-11-22 18:07:49.477] [INFO]   Calendar-Fetcher: Broadcasting 2 events.
      1|MagicMir | [2020-11-22 18:07:49.481] [LOG]    MMM-PGA config received
      1|MagicMir | [2020-11-22 18:07:49.485] [LOG]    [NEWS] MMM-News Version: 2.1.2
      1|MagicMir | [2020-11-22 18:07:49.486] [LOG]    [NEWS] Initialized with 10 query
      1|MagicMir | [2020-11-22 18:07:49.720] [LOG]    MMM-PGA Retrieving Tounament List
      1|MagicMir | [2020-11-22 18:07:49.804] [INFO]   Calendar-Fetcher: Broadcasting 2 events.
      1|MagicMir | [2020-11-22 18:07:50.969] [LOG]    MMM-PGA retrieving Tournament Data
      
      
      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-News

      @Bugsounet still getting the same error in the logs and news not displaying because of it. Below is my config. Any ideas?

      },
      		{
        		module: "MMM-News",
        		position: "bottom_bar",
        		config: {
          		apiKey : "XXXXXXXXX",
          		type: "horizontal",
          		query : [
            		{
              	sources: "fox-news, fox-sports",
      },
            {
              country: "us",
              className: "redTitle",
            },
          ],
      	touchable: false,
      	scanInterval: 1000*60*15
        }
      },
      
      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-News

      @Bugsounet thank you very much

      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-News

      @sdetweil I don’t see that as an option in the config…

      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-News

      Thanks Sam, checked the pm2 logs and unbeknownst to me…they now went to a paid tier api it seems!

      
      1|MagicMir | [2020-11-17 16:23:16.523] [LOG]    [NEWS] Error :  https://newsapi.org/v2/top-headlines?country=us&pageSize=20&apiKey=99d1bd76c7f140f58c237d54c41ab334 result.code:You have made too many requests recently. Developer accounts are limited to 100 requests over a 24 hour period (50 requests available every 12 hours). Please upgrade to a paid plan if you need more requests.
      
      
      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-News

      @Bugsounet Just circling back on this…would it be easier if I created an issue on github or leave it here?

      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-News

      Anything I can do in the mean time to troubleshoot to help get this resolved. It is happening now, I looked in the dev window but didn’t see any errors. I don’t know where else to look. Attached should show the news on the bottom bar but nothing there. Thanks, Scott

      Capture.PNG

      posted in Utilities
      swvalentiS
      swvalenti
    • RE: MMM-News

      @Bugsounet ok thanks, let me know if I can do anything to help.

      posted in Utilities
      swvalentiS
      swvalenti
    • 1
    • 2
    • 18
    • 19
    • 20
    • 21
    • 22
    • 29
    • 30
    • 20 / 30