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

Help with Update to 2.7.0

Scheduled Pinned Locked Moved Solved Troubleshooting
13 Posts 5 Posters 4.5k Views 5 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
    swvalenti Project Sponsor
    last edited by Apr 5, 2019, 9:31 PM

    pi@raspberrypi:~ $ cd MagicMirror
    pi@raspberrypi:~/MagicMirror $ git stash
    fatal: Unable to create '/home/pi/MagicMirror/.git/index.lock': File exists.
    
    Another git process seems to be running in this repository, e.g.
    an editor opened by 'git commit'. Please make sure all processes
    are terminated then try again. If it still fails, a git process
    may have crashed in this repository earlier:
    remove the file manually to continue.
    Cannot save the current index state
    pi@raspberrypi:~/MagicMirror $ git pull
    Updating de57daa..b508a62
    pi@raspberrypi:~/MagicMirror $ npm install
    
    > magicmirror@2.6.0 install /home/pi/MagicMirror
    > cd vendor && npm install
    
    npm notice created a lockfile as package-lock.json. You should commit this file.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
    
    audited 220 packages in 11.323s
    found 4 low severity vulnerabilities
      run `npm audit fix` to fix them, or `npm audit` for details
    
    > magicmirror@2.6.0 postinstall /home/pi/MagicMirror
    > sh installers/postinstall/postinstall.sh && npm run install-fonts
    
    MagicMirror installation successful!
    
    > magicmirror@2.6.0 install-fonts /home/pi/MagicMirror
    > cd fonts && npm install
    
    audited 1 package in 2.065s
    found 0 vulnerabilities
    
    npm notice created a lockfile as package-lock.json. You should commit this file.
    npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.
    
    audited 2427 packages in 54.343s
    found 12 vulnerabilities (6 low, 6 moderate)
      run `npm audit fix` to fix them, or `npm audit` for details
    pi@raspberrypi:~/MagicMirror $ 
    
    

    still not working…

    1 Reply Last reply Reply Quote 0
    • S Away
      sdetweil
      last edited by Apr 5, 2019, 9:45 PM

      @swvalenti said in Help with Update to 2.7.0:

      /home/pi/MagicMirror/.git/index.lock

      ok, erase that file, or rename it out of the way

      then
      git pull

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 1
      • S Offline
        swvalenti Project Sponsor
        last edited by Apr 5, 2019, 11:13 PM

        Thanks @sdetweil had to remove all the .json/locks and the .git after I had to enable show hidden files as I couldn’t find same. You da man Sam.

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