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

    Posts

    Recent Best Controversial
    • Bring Forward/Send Back

      If I have two modules , each of which occupies a different zone is there a way to set which module overlays the other?
      I have iframe module set top_center then stock ticker in bottom bar.
      Ticker runs behind iframe but I want to run it in front of iframe.

      posted in Custom CSS
      ankonaskiff17A
      ankonaskiff17
    • RE: NPM Vulnerabilities Alert.

      @sdetweil That MMM-MoonPhase module just seems hugely bloated compared to the rest of the modules. It’s like writer used some pre-built package to write module and most of it is not being used.
      Was wondering how to remove some of that, I know how to comment out a line of code. Is there a way to do same but at the directory level?
      It runs so probably not worth the effort.

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: NPM Vulnerabilities Alert.

      @sdetweil Is there a way to tell what libraries, dependencies, files, whatever, that a given module is using?

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • NPM Vulnerabilities Alert.

      I installed a module yesterday MMM-MoonPhase and after I ran npm install I got a whole host of alerts talking about high severity vulnerabilities tied to underscore.js
      NPM also offered up a solution npm audit fix --force which I ran. It took me a little bit to figure out what I was being told and I can’t replicate because it appeared to resolve those vulnerabilities.
      What I perceive the below to be telling me is that if I am using underscore from version 1.3.2 to 1.12.0 that is where the vulnerability lies. I installed underscorejs version 1.13.1 so I should be in the clear?

      pi@mirror:~/MagicMirror/modules/MMM-MoonPhase $ npm audit
      # npm audit report

      underscore 1.3.2 - 1.12.0
      Severity: high
      Arbitrary Code Execution in underscore - https://github.com/advisories/GHSA-cf4h-3jhx-xvhq
      fix available via `npm audit fix
      node_modules/nomnom/node_modules/underscore
      nomnom >=1.6.0
      Depends on vulnerable versions of underscore
      node_modules/nomnom

      2 high severity vulnerabilities

      To address all issues, run:
      npm audit fix

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: Update script not updating

      @sdetweil That is standard/typical of how to update a module?

      Resolved notification

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: Update script not updating

      @sdetweil I found a different module with update instructions and did git pull in MMM-Jast but git pull yielded the following

      From https://github.com/jalibu/MMM-Jast
      5a5f781..8b771b6 main -> origin/main
      * [new tag] v2.6.3 -> v2.6.3
      Updating 5a5f781..8b771b6
      error: Your local changes to the following files would be overwritten by merge:
      package-lock.json
      Please commit your changes or stash them before you merge.
      Aborting
      pi@mirror:~/MagicMirror/modules/MMM-Jast $

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: Update script not updating

      @sdetweil First thing I did with the MMM-Jast notification was to look if there was a section in the Readme about updating module but I think it was triggered externally.

      On Github the dates are older but there is this at very top, How do I address that?

      dependency.jpg

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • Update script not updating

      @sdetweil I used the scripts you provide but I’m having some issues and want to get some clarification so I don’t break the MM I just got running yesterday.

      First script is a run through but with no changes being applied
      Second script is same as first script but with apply attached to end of script which will update any modules or core components that are out of date is how I understand. Is that accurate?

      Also, what are ramifications of answering n to question below?
      I know what the mm.sh issue is and I caused it but it doesn’t cause any functional problems.

      installers/mm.sh
      modules/default/calendar/calendar.js
      do you want to save these files for later (Y/n)?

      I ran the second apply script but it doesn’t seem to be doing anything. I am getting a notification in top banner for update to MMM-Jast but it is not being found by the scripts.
      Shouldn’t calendar.js have been repaired? Shouldn’t it have picked up the MMM-Jast out of date?

      posted in Troubleshooting
      ankonaskiff17A
      ankonaskiff17
    • RE: Text wrapping in table

      @sdetweil I cheated hideTime: true,
      For what I needed it gives the exact view I want.
      Doing that showed a problem that I think is at the Outlook calendar end but some dates are shown as June 3rd while others show as 6 23 with the / missing.

      posted in Custom CSS
      ankonaskiff17A
      ankonaskiff17
    • Text wrapping in table

      I am working on a second instance of default calendar which is pulling in information from a personal calendar.
      I am trying to get it to quit wrapping text but with no success.
      Excel part of my brain says table is two columns wide and I don’t mind if the info in a table cell is truncated. I know what event is but just want visual cue.

      Having same basic problem with the date and time column but not sure where to find how to format the date and time

      posted in Custom CSS
      ankonaskiff17A
      ankonaskiff17
    • 1 / 1