@sdetweil ok, thanks for your help!
Read the statement by Michael Teeuw here.
Posts
-
RE: Update got me cannot lock ref
Thanks! I had to make a git stash but then it worked out.
Unrelated - is it “safe” to update Node.js and do a sudo apt update and sudo apt upgrade of the Rpi, or could I expect issues? Sorry for noob Qs
npm WARN npm npm does not support Node.js v10.23.1 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. npm WARN npm You can find the latest version at https://nodejs.org/
-
RE: Update got me cannot lock ref
@sdetweil said in Update got me cannot lock ref:
git remote prune origin
thx, I tried this
pi@raspberrypi:~/MagicMirror $ git remote prune origin pi@raspberrypi:~/MagicMirror $ git pull && npm install error: cannot lock ref 'refs/tags/v2.13.0': unable to resolve reference 'refs/tags/v2.13.0': reference broken From https://github.com/MichMich/MagicMirror ! [new tag] v2.13.0 -> v2.13.0 (unable to update local ref) error: cannot lock ref 'refs/tags/v2.14.0': unable to resolve reference 'refs/tags/v2.14.0': reference broken ! [new tag] v2.14.0 -> v2.14.0 (unable to update local ref)
-
Update got me cannot lock ref
Got this error message when trying to update, I tried some Google suggestions but none worked. Any suggestions?
pi@raspberrypi:~/MagicMirror $ git pull && npm install error: cannot lock ref 'refs/tags/v2.13.0': unable to resolve reference 'refs/tags/v2.13.0': reference broken From https://github.com/MichMich/MagicMirror ! [new tag] v2.13.0 -> v2.13.0 (unable to update local ref) error: cannot lock ref 'refs/tags/v2.14.0': unable to resolve reference 'refs/tags/v2.14.0': reference broken ! [new tag] v2.14.0 -> v2.14.0 (unable to update local ref)
-
RE: MMM-ResRobot - Public transport information for Sweden
@Alvinger - thx for you work in this module!
Sidenote, after updated my Rpi (3B) my wifi reception is far worst, never had problem with it before but now it’s loosing connection after a couple of minutes - but I was fast and manage to update to latest ResRobot :) working nicely -
RE: MMM-ResRobot - Public transport information for Sweden
@sdetweil @Alvinger - thx guys, after
$ git config --global user.email "you@example.com" $ git config --global user.name "Your Name"
I could solve it with git stash
-
RE: MMM-ResRobot - Public transport information for Sweden
@sdetweil - sry I’m a bit lost, do I do “git diff” after?
cd ~/MagicMirror/modules/MMM-ResRobot git stash git pull npm install
-
RE: MMM-ResRobot - Public transport information for Sweden
@Alvinger - hmm something email adress. Any advice?
pi@raspberrypi:~ $ cd ~/MagicMirror/modules/MMM-ResRobot pi@raspberrypi:~/MagicMirror/modules/MMM-ResRobot $ git stash *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got 'pi@raspberrypi.(none)') Cannot save the current index state pi@raspberrypi:~/MagicMirror/modules/MMM-ResRobot $ git pull Updating 1618fcc..695f70d error: Your local changes to the following files would be overwritten by merge: package.json Please commit your changes or stash them before you merge. Aborting pi@raspberrypi:~/MagicMirror/modules/MMM-ResRobot $ npm install npm WARN npm npm does not support Node.js v10.21.0 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. npm WARN npm You can find the latest version at https://nodejs.org/ up to date in 1.02s
-
RE: MMM-ResRobot - Public transport information for Sweden
@Alvinger said in MMM-ResRobot - Public transport information for Sweden:
git stash
Like this?
cd ~/MagicMirror/modules/MMM-ResRobot git stash npm install
Edit:misspell
-
RE: MMM-ResRobot - Public transport information for Sweden
@sdetweil - I only got this
pi@raspberrypi:~ $ cd ~/MagicMirror/modules/MMM-ResRobot pi@raspberrypi:~/MagicMirror/modules/MMM-ResRobot $ git pull Updating 1618fcc..695f70d error: Your local changes to the following files would be overwritten by merge: package.json Please commit your changes or stash them before you merge. Aborting pi@raspberrypi:~/MagicMirror/modules/MMM-ResRobot $ npm install npm WARN npm npm does not support Node.js v10.21.0 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. npm WARN npm You can find the latest version at https://nodejs.org/ up to date in 1.083s pi@raspberrypi:~/MagicMirror/modules/MMM-ResRobot $
@Alvinger - I did a sudo reboot