• 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.

upgrade to new NPM version?

Scheduled Pinned Locked Moved General Discussion
11 Posts 4 Posters 3.2k Views 4 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 @KristjanESPERANTO
    last edited by sdetweil Oct 28, 2022, 1:07 PM Oct 9, 2022, 12:14 PM

    @KristjanESPERANTO if they are running fine, no reason to upgrade. when a new mm release comes that needs a new node or npm, then my script will upgrade that too

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    E 1 Reply Last reply Oct 27, 2022, 8:33 PM Reply Quote 0
    • E Offline
      eltonnascimento @sdetweil
      last edited by Oct 27, 2022, 8:33 PM

      @sdetweil how to update npm version?my MM is on the last version, but my raspian already has a better version of npm than my Magic mirror, but my MM doesnt see that.

      S 1 Reply Last reply Oct 27, 2022, 9:36 PM Reply Quote 0
      • S Offline
        sdetweil @eltonnascimento
        last edited by Oct 27, 2022, 9:36 PM

        @eltonnascimento sudo npm i npm@version-numnumber

        note that I may have to npm install in every module folder that has a package.json and the base

        I would ignore the message.

        my upgrade script will be upgraded to install npm 8 on the next release (jan, 1)

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        E 1 Reply Last reply Oct 28, 2022, 11:27 AM Reply Quote 0
        • E Offline
          eltonnascimento @sdetweil
          last edited by Oct 28, 2022, 11:27 AM

          @sdetweil I ran the command sudo npm i npm@8.19 inside the /MagicMirror folder, but it didn’t update the npm version. then I ran the command npm install inside MMM-Tools, without success.
          Ashampoo_Snap_sexta-feira, 28 de outubro de 2022_08h19m12s_001_.png
          Ashampoo_Snap_sexta-feira, 28 de outubro de 2022_08h26m03s_003_.png Ashampoo_Snap_sexta-feira, 28 de outubro de 2022_08h24m40s_002_.png

          do you have any other tips?

          S 1 Reply Last reply Oct 28, 2022, 1:04 PM Reply Quote 0
          • S Offline
            sdetweil @eltonnascimento
            last edited by Oct 28, 2022, 1:04 PM

            @eltonnascimento but it did. npm is 8 now

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            E 1 Reply Last reply Oct 28, 2022, 3:48 PM Reply Quote 0
            • E Offline
              eltonnascimento @sdetweil
              last edited by Oct 28, 2022, 3:48 PM

              @sdetweil but the MM-Tools module, indicates that npm is v6.14.12…as in the first picture above. I already did the npm install inside the MMM-Tools directory as well.

              S 1 Reply Last reply Oct 28, 2022, 4:12 PM Reply Quote 0
              • S Offline
                sdetweil @eltonnascimento
                last edited by sdetweil Oct 28, 2022, 4:15 PM Oct 28, 2022, 4:12 PM

                @eltonnascimento I don’t know about mmm-tools.

                you don’t install npm in any folder

                -g means global

                ah I forgot the -g

                 sudo npm i -g npm@version_number
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 1 / 2
                • 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