• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-ResRobot - Public transport information for Sweden

Scheduled Pinned Locked Moved Transport
138 Posts 27 Posters 152.1k Views 28 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
    sweup
    last edited by Sep 21, 2020, 2:40 PM

    Hi, how do i update?, i tried
    cd ~/MagicMirror/modules/MMM-ResRobot
    git pull
    npm install

    But frontend still says a newer update is found…

    S A 2 Replies Last reply Sep 21, 2020, 2:47 PM Reply Quote 0
    • S Away
      sdetweil @sweup
      last edited by Sep 21, 2020, 2:47 PM

      @sweup what was the output of git pull?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Sep 21, 2020, 3:29 PM Reply Quote 0
      • A Offline
        Alvinger @sweup
        last edited by Sep 21, 2020, 3:20 PM

        @sweup did you restart the MagicMirror service after you updated?

        1 Reply Last reply Reply Quote 0
        • S Offline
          sweup @sdetweil
          last edited by sweup Sep 21, 2020, 3:29 PM Sep 21, 2020, 3:29 PM

          @sdetweil - I only got this

          pi@raspberrypi:~ $ cd ~/MagicMirror/modules/MMM-ResRobot
          pi@raspberrypi:~/MagicMirror/modules/MMM-ResRobot $ git pull
          Updating 1618fcc..695f70d
          error: Your local changes to the following files would be overwritten by merge:
          	package.json
          Please commit your changes or stash them before you merge.
          Aborting
          pi@raspberrypi:~/MagicMirror/modules/MMM-ResRobot $ npm install
          npm WARN npm npm does not support Node.js v10.21.0
          npm WARN npm You should probably upgrade to a newer version of node as we
          npm WARN npm can't make any promises that npm will work with this version.
          npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
          npm WARN npm You can find the latest version at https://nodejs.org/
          up to date in 1.083s
          pi@raspberrypi:~/MagicMirror/modules/MMM-ResRobot $ 
          
          

          @Alvinger - I did a sudo reboot

          A 1 Reply Last reply Sep 21, 2020, 3:30 PM Reply Quote 0
          • A Offline
            Alvinger @sweup
            last edited by Sep 21, 2020, 3:30 PM

            @sweup it seems you have changed the file package.json

            Stash it away with “git stash” and try the update again.

            S 1 Reply Last reply Sep 21, 2020, 3:34 PM Reply Quote 0
            • S Offline
              sweup @Alvinger
              last edited by sweup Sep 21, 2020, 3:35 PM Sep 21, 2020, 3:34 PM

              @Alvinger said in MMM-ResRobot - Public transport information for Sweden:

              git stash

              Like this?

              cd ~/MagicMirror/modules/MMM-ResRobot
              git stash
              npm install
              

              Edit:misspell

              A 1 Reply Last reply Sep 21, 2020, 3:36 PM Reply Quote 0
              • A Offline
                Alvinger @sweup
                last edited by Alvinger Sep 21, 2020, 3:36 PM Sep 21, 2020, 3:36 PM

                @sweup
                git stash
                git pull
                npm install

                S 1 Reply Last reply Sep 21, 2020, 3:42 PM Reply Quote 0
                • S Offline
                  sweup @Alvinger
                  last edited by Sep 21, 2020, 3:42 PM

                  @Alvinger - hmm something email adress. Any advice?

                  pi@raspberrypi:~ $ cd ~/MagicMirror/modules/MMM-ResRobot
                  pi@raspberrypi:~/MagicMirror/modules/MMM-ResRobot $ git stash
                  
                  *** Please tell me who you are.
                  
                  Run
                  
                    git config --global user.email "you@example.com"
                    git config --global user.name "Your Name"
                  
                  to set your account's default identity.
                  Omit --global to set the identity only in this repository.
                  
                  fatal: unable to auto-detect email address (got 'pi@raspberrypi.(none)')
                  Cannot save the current index state
                  pi@raspberrypi:~/MagicMirror/modules/MMM-ResRobot $ git pull
                  Updating 1618fcc..695f70d
                  error: Your local changes to the following files would be overwritten by merge:
                  	package.json
                  Please commit your changes or stash them before you merge.
                  Aborting
                  pi@raspberrypi:~/MagicMirror/modules/MMM-ResRobot $ npm install
                  npm WARN npm npm does not support Node.js v10.21.0
                  npm WARN npm You should probably upgrade to a newer version of node as we
                  npm WARN npm can't make any promises that npm will work with this version.
                  npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
                  npm WARN npm You can find the latest version at https://nodejs.org/
                  up to date in 1.02s
                  
                  
                  S 1 Reply Last reply Sep 21, 2020, 3:51 PM Reply Quote 0
                  • S Away
                    sdetweil @sweup
                    last edited by Sep 21, 2020, 3:51 PM

                    @sweup let’s find out what u changed
                    do

                    git diff

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    S 1 Reply Last reply Sep 21, 2020, 4:05 PM Reply Quote 0
                    • S Offline
                      sweup @sdetweil
                      last edited by Sep 21, 2020, 4:05 PM

                      @sdetweil - sry I’m a bit lost, do I do “git diff” after?

                      cd ~/MagicMirror/modules/MMM-ResRobot
                      git stash
                      git pull
                      npm install
                      
                      S 1 Reply Last reply Sep 21, 2020, 4:16 PM Reply Quote 0
                      • 1
                      • 2
                      • 9
                      • 10
                      • 11
                      • 12
                      • 13
                      • 14
                      • 11 / 14
                      11 / 14
                      • First post
                        102/138
                        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