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 12.0k 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.
    • 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 Offline
        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
                      • S Offline
                        sdetweil @Stoffbeuteluwe
                        last edited by

                        @Stoffbeuteluwe and

                        node -v, npm -v

                        if node v18 or v20 then

                        cd ~/MagicMirror
                        rm -rf node_modules
                        rm package-lock.json
                        npm run install-mm
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        StoffbeuteluweS 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 5 / 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