[noob question] command for updating
Closed this issue · 2 comments
papinist commented
Hi,
I know that this is a noob question, but how do I update this module?
I have some modules that requires "git pull" command and others "npm run update".
I tried "git pull" but got an error so before breaking something I thought it's better to ask :)
Thanks!
randomBrainstormer commented
Running git pull
from the plugin should be enough. You might need to re-run the setup steps again. What kind of error did you get? most likely is git conflict with a modified file, try resetting the state before pulling:
git reset --hard
git pull
node authorize.js
papinist commented
Yes that's exactly the error I got:
Updating 37d2169..840903c
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.
Aborting
Using your commands did the job, thank you!