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.6k 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.
    • 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
                    • 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
                      • StoffbeuteluweS Offline
                        Stoffbeuteluwe Project Sponsor @sdetweil
                        last edited by

                        @sdetweil
                        I have installed the newest version of node the 20

                        
                        
                        patrickhahn@Mac-mini MM % node-v
                        zsh: command not found: node-v
                        patrickhahn@Mac-mini MM % npm-v
                        zsh: command not found: npm-v
                        patrickhahn@Mac-mini MM % rm -rf node_modules
                        patrickhahn@Mac-mini MM % rm package-lock.json
                        patrickhahn@Mac-mini MM % npm run install-mm
                        
                        > magicmirror@2.25.0 install-mm
                        > npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev
                        
                        npm WARN config only Use `--omit=dev` to omit dev dependencies from the install.
                        
                        > magicmirror@2.25.0 postinstall
                        > npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully! 
                        > "
                        
                        
                        > magicmirror@2.25.0 install-vendor
                        > echo "Installing vendor files ...
                        > " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
                        
                        Installing vendor files ...
                        
                        
                        up to date in 106ms
                        
                        > magicmirror@2.25.0 install-fonts
                        > echo "Installing fonts ...
                        > " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
                        
                        Installing fonts ...
                        
                        
                        up to date in 100ms
                        MagicMirror² installation finished successfully! 
                        
                        
                        > magicmirror@2.25.0 prepare
                        > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed.
                        
                        no husky installed.
                        
                        added 334 packages in 33s
                        patrickhahn@Mac-mini MM % 
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 4 / 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