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.

    Got error when run MM 2.14.0

    Scheduled Pinned Locked Moved Troubleshooting
    11 Posts 2 Posters 3.2k Views 2 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.
    • slametpsS Offline
      slametps @slametps
      last edited by

      @slametps said in Got error when run MM 2.14.0:

      @sdetweil : no, it is a fresh install.
      Here is the link to install.log

      The raspberry is also a fresh install, I created the disk using Raspberry Pi Imager.

      regards,

      Slamet PS

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @slametps
        last edited by

        @slametps ok, don’t know what happened… looks like u ran install 5 separate times…

        so lets do this

        cd ~/MagicMirror
        rm  package-lock.json
        rm -rf node_modules
        npm install --only=prod
        

        then try to start MM,

        npm start 
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        slametpsS 2 Replies Last reply Reply Quote 0
        • slametpsS Offline
          slametps @sdetweil
          last edited by

          @sdetweil said in Got error when run MM 2.14.0:

          @slametps ok, don’t know what happened… looks like u ran install 5 separate times…

          so lets do this

          cd ~/MagicMirror
          rm  package-lock.json
          rm -rf node_modules
          npm install --only=prod
          

          then try to start MM,

          npm start 
          

          Yap, the installation has failed several times. I’ll try re-install as your direction.

          regards,

          Slamet PS

          1 Reply Last reply Reply Quote 0
          • slametpsS Offline
            slametps @sdetweil
            last edited by

            @sdetweil said in Got error when run MM 2.14.0:

            @slametps ok, don’t know what happened… looks like u ran install 5 separate times…

            so lets do this

            cd ~/MagicMirror
            rm  package-lock.json
            rm -rf node_modules
            npm install --only=prod
            

            then try to start MM,

            npm start 
            

            I got the following error when execute
            npm install --only=prod

            pi@raspberrypi:~/MagicMirror $ npm install --only=prod
            npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha512-zd8xmga7H8fqb09boh5SICtctwp4gI+dLMANKCXpdihRn/ggW2ZimSQo/H3cBcfzsjljTDoAiOPc6deEOSWKDw== integrity checksum failed when using sha512: wanted sha512-zd8xmga7H8fqb09boh5SICtctwp4gI+dLMANKCXpdihRn/ggW2ZimSQo/H3cBcfzsjljTDoAiOPc6deEOSWKDw== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
            npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
            npm ERR! code EINTEGRITY
            npm ERR! errno EINTEGRITY
            npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/chai: sha512-zd8xmga7H8fqb09boh5SICtctwp4gI+dLMANKCXpdihRn/ggW2ZimSQo/H3cBcfzsjljTDoAiOPc6deEOSWKDw== integrity checksum failed when using sha512: wanted sha512-zd8xmga7H8fqb09boh5SICtctwp4gI+dLMANKCXpdihRn/ggW2ZimSQo/H3cBcfzsjljTDoAiOPc6deEOSWKDw== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/pi/.npm/_logs/2021-03-07T13_53_31_822Z-debug.log
            

            regards,

            Slamet PS

            S 1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @slametps
              last edited by

              @slametps fun…

              do

              cd ~
              sudo rm -rf  .npm
              rm -rf MagicMirror
              

              note the dot in front of npm

              then run the install script again.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              slametpsS 1 Reply Last reply Reply Quote 0
              • slametpsS Offline
                slametps @sdetweil
                last edited by

                @sdetweil said in Got error when run MM 2.14.0:

                @slametps fun…

                do

                cd ~
                sudo rm -rf  .npm
                rm -rf MagicMirror
                

                note the dot in front of npm

                then run the install script again.

                It works like a charm. Thx a lot @sdetweil .

                regards,

                Slamet PS

                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