This originally appeared on
composer install
after adding patterns to .gitignore and removing files from git using
git rm -r --cached <pattern>
To fix it, use
rm -rf <pattern>
on all removed files, then do
again.