我想安装带有文件 deps 的学说装置。我将此行添加到我的文件 deps 中:
[doctrine-fixtures]
git=http://github.com/doctrine/data-fixtures.git
[DoctrineFixturesBundle]
git=http://github.com/symfony/DoctrineFixturesBundle.git
target=/bundles/Symfony/Bundle/DoctrineFixturesBundle
如果我跑
php bin/vendors install
我有错误:
>Installing/Updating doctrine-fixtures
fatal: Not a git repository <or any of parent directories>: .git
fatal: Not a git repository <or any of parent directories>: .git
fatal: Not a git repository <or any of parent directories>: .git
我也尝试过php bin/vendors install --reinstall
,git=https://github.com/doctrine/data-fixtures.git
但没有帮助。