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

Error on update to MM 2.11.0

Scheduled Pinned Locked Moved Solved Troubleshooting
32 Posts 2 Posters 5.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.
  • S Away
    sdetweil @killing joke
    last edited by Nov 17, 2021, 11:40 PM

    @killing-joke but u missed a step right at the beginning

    cd ~/MagicMirror
    

    so u didn’t erase the bad folder which is causing all the problems

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • K Offline
      killing joke @sdetweil
      last edited by killing joke Nov 18, 2021, 4:03 PM Nov 18, 2021, 3:54 PM

      @sdetweil said in Error on update to MM 2.11.0:

      @killing-joke you need to be IN the MagicMirror folder to do npm start

      Oh my gosh, same mistake twice a week? Shame on me!!!

      Did as described before (but IN the correct folder now) :beaming_face_with_smiling_eyes:

      pi@raspberrypi:~ $ cd ~/MagicMirror
      pi@raspberrypi:~/MagicMirror $ sudo rm -rf node_modulespi@raspberrypi:~/MagicMirror $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
      No LSB modules are available.
      doing test run = false
      update log will be in /home/pi/MagicMirror/installers/upgrade.log
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v14.0.0
      Installed Node version: v14.18.1
      No Node.js upgrade necessary.
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      Minimum npm version: V6.0.0
      Installed npm version: V6.14.15
      No npm upgrade necessary.
      
      (23) Failed writing body
      upgrading from version 2.17.1 to 2.17.1
      fetching latest revisions
      updating MagicMirror runtime, please wait
      npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
      
      > core-js@3.15.2 postinstall /home/pi/MagicMirror/node_modules/core-js
      > node -e "try{require('./postinstall')}catch(e){}"
      
      Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
      
      The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
      > https://opencollective.com/core-js 
      > https://www.patreon.com/zloirock 
      
      Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
      
      
      > electron@13.5.1 postinstall /home/pi/MagicMirror/node_modules/electron
      > node install.js
      
      
      > magicmirror@2.17.1 install /home/pi/MagicMirror
      > echo "Installing vendor files ...
      " && cd vendor && npm install --loglevel=error
      
      Installing vendor files ...
      
      audited 9 packages in 1.163s
      found 0 vulnerabilities
      
      
      > magicmirror@2.17.1 postinstall /home/pi/MagicMirror
      > npm run install-fonts && echo "MagicMirror installation finished successfully! 
      "
      
      
      > magicmirror@2.17.1 install-fonts /home/pi/MagicMirror
      > echo "Installing fonts ...
      " && cd fonts && npm install --loglevel=error
      
      Installing fonts ...
      
      audited 1 package in 1.367s
      found 0 vulnerabilities
      
      MagicMirror installation finished successfully! 
      
      added 294 packages from 243 contributors and audited 918 packages in 94.737s
      
      20 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      Checking for modules with removed libraries
      processing dependency changes for active modules with package.json files
      
      processing for module MMM-Carousel please wait
      ----------------------------------
      npm notice created a lockfile as package-lock.json. You should commit this file.
      up to date in 0.782s
      found 0 vulnerabilities
      
      processing complete for module MMM-Carousel
      
      processing for module MMM-DWD-WarnWeather please wait
      ----------------------------------
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm notice created a lockfile as package-lock.json. You should commit this file.
      added 47 packages from 58 contributors and audited 47 packages in 9.188s
      
      2 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      processing complete for module MMM-DWD-WarnWeather
      
      processing for module MMM-SunRiseSet please wait
      ----------------------------------
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm notice created a lockfile as package-lock.json. You should commit this file.
      added 47 packages from 58 contributors and audited 47 packages in 6.346s
      
      2 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      processing complete for module MMM-SunRiseSet
      
      processing for module MMM-AVStock please wait
      ----------------------------------
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
      npm notice created a lockfile as package-lock.json. You should commit this file.
      added 53 packages from 62 contributors and audited 54 packages in 9.937s
      
      2 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      processing complete for module MMM-AVStock
      
      processing for module MMM-Fuel please wait
      ----------------------------------
      npm WARN deprecated @stylelint/postcss-markdown@0.36.2: Use the original unforked package instead: postcss-markdown
      npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
      npm notice created a lockfile as package-lock.json. You should commit this file.
      added 464 packages from 298 contributors and audited 464 packages in 72.299s
      
      101 packages are looking for funding
        run `npm fund` for details
      
      found 6 moderate severity vulnerabilities
        run `npm audit fix` to fix them, or `npm audit` for details
      processing complete for module MMM-Fuel
      
      pi@raspberrypi:~/MagicMirror $ 
      
      

      npm start works fine, but two more questions:

      • What should I do with the 6 moderate severity vulnerabilities? (last block of the code)
      • how should I update my MM or the modules in future?

      Thank you very much for your help / support!!!

      S 2 Replies Last reply Nov 18, 2021, 4:06 PM Reply Quote 0
      • S Away
        sdetweil @killing joke
        last edited by Nov 18, 2021, 4:06 PM

        @killing-joke said in Error on update to MM 2.11.0:

        What should I do with the 6 moderate severity vulnerabilities? (last block of the code)

        nothing you can do… not our code

        how should I update my MM or the modules in future?

        MM run my upgarde script

        modules, u have to go to each module folder that NEEDS update and do

        git pull 
        

        IF the module has a package.json file then also do , IN the module folder,

        rm -rf node_modules
        npm install
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @killing joke
          last edited by Nov 18, 2021, 4:08 PM

          @killing-joke said in Error on update to MM 2.11.0:

          /home/pi/MagicMirror/installers/upgrade.log

          can u send the log file to me via email, same userid at gmail…

          I want to look at the one error reported

          (23) Failed writing body
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Nov 18, 2021, 9:37 PM Reply Quote 0
          • S Away
            sdetweil @sdetweil
            last edited by sdetweil Nov 19, 2021, 2:28 PM Nov 18, 2021, 9:37 PM

            @sdetweil thanks… the error reported was related to timing of part of the script… nothing damaged, and I never knew this error could occur… so fun times!!

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            K 1 Reply Last reply Nov 19, 2021, 6:58 PM Reply Quote 0
            • K Offline
              killing joke @sdetweil
              last edited by Nov 19, 2021, 6:58 PM

              @sdetweil glad to help ;-)

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 3
              • 4
              • 4 / 4
              4 / 4
              • First post
                31/32
                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