我已经使用命令安装了VichUploaderBundle
composer require vich/uploader-bundle 但是我忘了像上图一样输入yes (默认值是no)。我在我的应用程序中看到了任何VichUploaderBundle包。如何在不重新安装的情况下重新启动?
发布于 2020-05-17 19:35:39
由于vich/uploader-bundle是通过a recipe安装的,因此您可以重新启动此方法。
在不删除的情况下强制重新安装,然后要求重新安装:
composer recipes:install vich/uploader-bundle --force -v以下是与食谱一起使用的其他一些有用的命令:
#List all recipes
composer recipes
#See detailed information about your bundle
composer recipes vich/uploader-bundle发布于 2021-04-17 07:54:28
没有其他解决方案,只能删除它,然后使用以下命令重新安装它
composer remove vich/uploader-bundle
cache:clear
composer require vich/uploader-bundlehttps://stackoverflow.com/questions/61843638
复制相似问题