php - Symfony 4: Re-install VichUploaderBundle?

I have installed VichUploaderBundle with command
composer require vich/uploader-bundle
but I forgot enter yes like the above image (default is no). And I see any VichUploaderBundle package in my app. How can I relaunch it without reinstall it?
Answer
Solution:
As vich/uploader-bundle is installed via a recipe, you could relaunch this recipe.
Force reinstallation without removing then requiring it:
composer recipes:install vich/uploader-bundle --force -v
Here is some other useful command to use with recipes:
#List all recipes
composer recipes
#See detailed information about your bundle
composer recipes vich/uploader-bundle
Answer
Solution:
There is no other solution than remove it and then re-install it again using these commands
composer remove vich/uploader-bundle
cache:clear
composer require vich/uploader-bundle
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: object not found by the @paramconverter annotation.
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.