【发布时间】:2012-07-02 03:58:31
【问题描述】:
我正在尝试在 WAMP 上安装 Sonata Admin Bundle。首先,将依赖包添加到 vendor/bundles 目录。将以下行添加到文件 deps。
[SonatajQueryBundle]
git=http://github.com/sonata-project/SonatajQueryBundle.git
target=/bundles/Sonata/jQueryBundle
[SonataUserBundle]
git=http://github.com/sonata-project/SonataUserBundle.git
target=/bundles/Sonata/UserBundle
[SonataAdminBundle]
git=http://github.com/sonata-project/SonataAdminBundle.git
target=/bundles/Sonata/AdminBundle
[KnpMenuBundle]
git=https://github.com/KnpLabs/KnpMenuBundle.git
target=/bundles/Knp/Bundle/MenuBundle
[KnpMenu]
git=https://github.com/KnpLabs/KnpMenu.git
target=/knp/menu
[SonataDoctrineORMAdminBundle]
git=http://github.com/sonata-project/SonataDoctrineORMAdminBundle.git
target=/bundles/Sonata/DoctrineORMAdminBundle
现在在供应商中安装这些捆绑包时出现问题。我运行此推荐 php bin/vendors install 但它显示 Try to run ./bin/vendors install --reinstall
我的 Bundle 有问题吗?我真的不知道该怎么办。请帮忙。
感谢所有帮助。
谢谢!
【问题讨论】:
-
您是否尝试运行建议的命令? php bin/vendors install --reinstall?
-
是的,我也在运行这个 ./bin/vendors install --reinstall 但它仍然是同样的问题!
-
完全删除整个/vendor目录并运行bin/vendors install
标签: php symfony github cmd symfony-sonata