Read the statement by Michael Teeuw here.
-
@jocke-almgren just to make sure: you have registered for an API key at Trafiklab?
-
@Alvinger Hi - thanks for your reply. Turns out i was a total idiot and placed the module in the “modules/default” directory instead of the modules root :man_facepalming: Moved the folder and all is good.
Thanks for the support anyways -
Hi, how do i update?, i tried
cd ~/MagicMirror/modules/MMM-ResRobot
git pull
npm installBut frontend still says a newer update is found…
-
@sweup what was the output of git pull?
-
@sweup did you restart the MagicMirror service after you updated?
-
@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
-
@sweup it seems you have changed the file package.json
Stash it away with “git stash” and try the update again.
-
@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
-
@sweup
git stash
git pull
npm install -
@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