I'm trying to update magento-2 from 2.1.9 to 2.2. I get the following error:
Source directory /chroot/home/minimoon/staging.ochosbags.com/html/vendor/zendframework/zend-stdlib has uncommitted changes.
How can I fix this?
If you did not run composer in non-interactive mode, it should give you some options:
If you are sure, you did not change anything in
vendor, you can discard the changes. It might be something irrelevant like changed file permissions.
If you DID change something (which you should never do) and you want to keep the changes, try "stash". The changes will be saved, and git will try to re-apply them after the update.
If you are not sure, view the changes and then decide.