Replies: 2 comments
-
What do you mean by resolve the situation? Do you want to update your packages on this machine to match the lockfile, or do you want to update the lockfile to match what you have on this machine? If the former - you've used the wrong command, you want If you just want to update every package to the latest available version, there is |
Beta Was this translation helpful? Give feedback.
-
Well, I was looking for guidance in this, but as I wrote above I guess the answer is "neither":
First of all, I have no idea how any of this happened. My assumption was that if I have a lockfile, straight would ensure that the versions of packages I have are consistent with it. Otherwise what good is the lockfile (and how appropriate is the name)? I don't want to downgrade anything but it seemed safest to stick with versions I have used somewhere. Updating everything to the latest version is an option. |
Beta Was this translation helpful? Give feedback.
-
I assume this means that the versions I have checked out on this machine apparently are way out of sync with the version lockfile. I don't know how to resolve this situation. I think I'd prefer not to roll any versions in the lockfile back, and instead choose the later of the two options each place there's a change. Any advice for me? Is there a good way to avoid this situation in future?
Beta Was this translation helpful? Give feedback.
All reactions