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

    Apathia

    @Apathia

    0
    Reputation
    129
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Apathia Unfollow Follow

    Latest posts made by Apathia

    • RE: Default calendary broke on v2.22.0 update

      @sdetweil said in Default calendary broke on v2.22.0 update:

      @Apathia sounds like the npm install was not successful.

      You are probably correct. After it failing even after going to the helper module directory and running npm install again, I decided to update both npm and nodejs which fixed the issue. I was on npm v7.21 and node v10.24, now on npm v9.2 and node v16.10.

      posted in Troubleshooting
      A
      Apathia
    • Default calendary broke on v2.22.0 update

      Upon starting Magicmirror, I’m met with the following errors:

      [ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/MagicMirror/node_modules/axios/index.js:1
      import axios from './lib/axios.js';
             ^^^^^
      SyntaxError: Unexpected identifier
          at Module._compile (internal/modules/cjs/loader.js:723:23)
          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)
          at Module.require (internal/modules/cjs/loader.js:692:17)
          at require (internal/modules/cjs/helpers.js:25:18)
      [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      

      I disabled addons until I could get Magicmirror to launch properly and found it was the default calendar module that was the issue with the config as follows:

      {
      module: "calendar",
        position: "top_left",
        disabled: false,
        config: {
          MaxTitleLength: 50,
          hideTime: true,
          maximumEntries: 10,
          showEnd: false,
          timeFormat: 'absolute',
          displaySymbol: false,
          getRelative: 48,
          fade: false,
          urgency: 7,
          titleReplace: {
              '(regional holiday)' : '',
              'Words word words'  : '',
              'More words words' : '',
              'Wooooorrrds' : ''
          },
          nextDaysRelative: true,
          calendars: [
              {
                  url: "https://calendar.google.com/calendar/ical/en.canadian%23holiday%40group.v.calendar.google.com/public/basic.ics",
              },
              {
                  url: "https://calendar.google.com/calendar/ical/%40gmail.com/private-/basic.ics"
              },
              {
                  url: "https://othermoredifferent.com/calendar/8C3446E21A9A4D5F42BD67625622D4E0.ics"
              }
          ],
          excludedEvents: [
              'Quebec','Prince Edward Island','Manitoba','Nova Scotia','Yukon','Alberta','British Columbia', 'Saskatchewan','Newfoundland and Labrador','Nunavut','New Brunswick','Commonwealth','Tartan','Vimy Ridge', 'Indigenous',''
              ],
          }
      },
      

      I tried commenting out everything except the public google calendar and even all the default config settings but it still fails to load. Any ideas why?

      posted in Troubleshooting
      A
      Apathia
    • RE: MMM-NOAA3

      Can we make requests here?

      If so, can you add the “feels like” temp?

      posted in Custom CSS
      A
      Apathia