MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Update is not working..I need help please

    Scheduled Pinned Locked Moved Solved Troubleshooting
    41 Posts 5 Posters 10.5k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • StoffbeuteluweS Offline
      Stoffbeuteluwe Project Sponsor @sdetweil
      last edited by

      @sdetweil
      i have done this

      /* MagicMirror²
       * Node Helper: Calendar - CalendarFetcher
       *
       * By Michael Teeuw https://michaelteeuw.nl
       * MIT Licensed.
       */
      const CalendarUtils = require("./calendarutils");
      const Log = require("logger");
      const NodeHelper = require("node_helper");
      const ical = require("node-ical");
      //const fetch = require("fetch");
      const digest = require("digest-fetch");
      const https = require("https");
      
      /**
       *
       * @param {string} url The url of the calendar to fetch
       * @param {number} reloadInterval Time in ms the calendar is fetched again
       * @param {string[]} excludedEvents An array of words / phrases from event titles that will be excluded from being shown.
       * @param {number} maximumEntries The maximum number of events fetched.
       * @param {number} maximumNumberOfDays The maximum number of days an event should be in the future.
       * @param {object} auth The object containing options for authentication against the calendar.
       * @param {boolean} includePastEvents If true events from the past maximumNumberOfDays will be fetched too
       * @param {boolean} selfSignedCert If true, the server certificate is not verified against the list of supplied CAs.
       * @class
       */
      

      but it still does not work

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Stoffbeuteluwe
        last edited by

        @Stoffbeuteluwe you are on the wrong level of code

        neither are there in 2.25

        do

        cd ~/MagicMirror
        git checkout modules/default/calendar/calendarfetcher.js
        

        then

        git status
        

        show the results

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        karsten13K StoffbeuteluweS 2 Replies Last reply Reply Quote 0
        • karsten13K Online
          karsten13 @sdetweil
          last edited by

          @sdetweil

          MMM-MyCalendar is a mess, the author copied (meanwhile old) versions of our code into his repo, so the problem is calendarfetcher.js of the module.

          1 Reply Last reply Reply Quote 0
          • StoffbeuteluweS Offline
            Stoffbeuteluwe Project Sponsor @sdetweil
            last edited by

            @sdetweil said in Update is not working..I need help please:

            git status

            patrickhahn@Mac-mini MM % git checkout modules/default/calendar/calendarfetcher.js
            Updated 0 paths from the index
            patrickhahn@Mac-mini MM % git status
            On branch master
            Your branch is up to date with 'origin/master'.
            
            Untracked files:
              (use "git add <file>..." to include in what will be committed)
            	css/icons/
            	new_package.json
            	run-start.sh
            
            nothing added to commit but untracked files present (use "git add" to track)
            patrickhahn@Mac-mini MM % 
            
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Stoffbeuteluwe
              last edited by

              @Stoffbeuteluwe ok, now do

              cd ~/MagicMirror
              git pull
              npm run install-mm
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              StoffbeuteluweS 1 Reply Last reply Reply Quote 0
              • StoffbeuteluweS Offline
                Stoffbeuteluwe Project Sponsor @sdetweil
                last edited by

                @sdetweil it is still the same problem…

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Stoffbeuteluwe
                  last edited by

                  @Stoffbeuteluwe can you show me the output of

                  git status
                  git pull
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                  • StoffbeuteluweS Offline
                    Stoffbeuteluwe Project Sponsor @sdetweil
                    last edited by

                    @sdetweil

                    patrickhahn@Mac-mini MM % git status
                    On branch master
                    Your branch is up to date with 'origin/master'.
                    
                    Untracked files:
                      (use "git add <file>..." to include in what will be committed)
                    	css/icons/
                    	new_package.json
                    	run-start.sh
                    
                    nothing added to commit but untracked files present (use "git add" to track)
                    patrickhahn@Mac-mini MM % git pull
                    Already up to date.
                    patrickhahn@Mac-mini MM % patrickhahn@Mac-mini MM % git status
                    On branch master
                    Your branch is up to date with 'origin/master'.
                    
                    Untracked files:
                      (use "git add <file>..." to include in what will be committed)
                            css/icons/
                            new_package.json
                            run-start.sh
                    
                    nothing added to commit but untracked files present (use "git add" to track)
                    patrickhahn@Mac-mini MM % 
                    
                    
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Stoffbeuteluwe
                      last edited by

                      @Stoffbeuteluwe ok, next, lets check the version of the code, should be 2.25.0

                      cd ~/MagicMirror
                      grep version package.json
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                      • StoffbeuteluweS Offline
                        Stoffbeuteluwe Project Sponsor @sdetweil
                        last edited by

                        @sdetweil

                        Last login: Thu Oct 12 16:43:21 on ttys000
                        patrickhahn@Mac-mini ~ % cd MM
                        patrickhahn@Mac-mini MM % grep version package.json
                        	"version": "2.25.0",
                        patrickhahn@Mac-mini MM % 
                        
                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 2 / 5
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy