Read the statement by Michael Teeuw here.
Update magic mirror error
-
Trying to run the update but get the following error:
Your local changes to the following files would be overwritten by merge: package-lock.json
Please commit your changes or stash them before you merge,
AbortingI have only edited my config.js and cloned modules to module folder.
Tried the following commands and got same error
Git pull
Git pull && npm install
-
@StewartBaird86 yeh, what a apin
run my update script see
https://github.com/sdetweil/MagicMirror_scriptsread the readme for the 2 commands u will have to issue
it will tell u you don’t need to save the package-lock.json files
-
@sdetweil I am doing this remotely on a laptop. I am also a noob to all of this and don’t understand the bash portion.
I have typed your script in using brackets, quotations etc and nothing happens in my terminal.
what are the steps to execute the scripts -
@StewartBaird86 you just cut/paste the whole line… nothing to think about
what do you mean ‘remotely’… via ssh??
just paste the line into the ssh session window
this is the test run command
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
if all looks good, then u would execute this command
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply