MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Module update

    Troubleshooting
    update module
    2
    5
    20048
    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.
    • M
      MM-Hans last edited by

      I’m afraid this is a newbie question but after long time searching and nothing found I need to ask. My MagicMirror shows there is an update for the MMM-Traffic module but I don’t know how to update this module. Does anyone have an advice or the correct SSH command to update?

      1 Reply Last reply Reply Quote 0
      • Nystro0m
        Nystro0m last edited by Nystro0m

        Navigate to your module folder:
        § cd ~/MagicMirror/modules/MMM-Traffic
        use command to pull new git from:
        § git pull

        If you are experiencing the following message “your local changes to the following files would be overwritten by merge” because you have done local edits run this before (NOTE! backup the files you have edited in case you will need to pull some edits back, for exampel the CSS file if you have customized the look of the module:
        § git reset --hard

        Im not sure but someone can please correct me in on this one:
        Sometime you will need to install after git pull by:
        § npm install
        (This also inside the module folder)

        Is not needed, edited out

        1 Reply Last reply Reply Quote 3
        • M
          MM-Hans last edited by

          Thank you for your advice, after following your instructions (git pull AND npm install) everything looks okay now and my mirror is up to date 🙂

          Nystro0m 1 Reply Last reply Reply Quote 0
          • Nystro0m
            Nystro0m @MM-Hans last edited by

            @MM-Hans I have updated my post, npm install is not needed. Also added some more information that you may need to now.

            M 1 Reply Last reply Reply Quote 0
            • M
              MM-Hans @Nystro0m last edited by

              @Nystro0m Thanks again!

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy