php - Symfony 4: Re-install VichUploaderBundle?Get the solution ↓↓↓
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?
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
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
People are also looking for solutions of the problem: port 80 in use by "unable to open process" with pid 4!
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.
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.