当我尝试进行作曲家更新时,我目前收到此错误。
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Updating leafo/lessphp (dev-master c6cd043 => v0.3.9)
[RuntimeException]
Failed to execute git status --porcelain --untracked-files=no
我的要求块是:
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.3.*",
"twig/extensions": "1.0.*",
"symfony/assetic-bundle": "2.3.*",
"symfony/swiftmailer-bundle": "2.3.*",
"symfony/monolog-bundle": "2.3.*",
"sensio/distribution-bundle": "2.3.*",
"sensio/framework-extra-bundle": "2.3.*",
"sensio/generator-bundle": "2.3.*",
"knplabs/knp-menu": "2.0.*@dev",
"knplabs/knp-menu-bundle": "2.0.*@dev",
"incenteev/composer-parameter-handler": "~2.0",
"leafo/lessphp": "v0.3.9",
"twbs/bootstrap": "2.3.*",
"jquery/jquery": "1.9.*",
"FortAwesome/Font-Awesome": "3.2.1",
"egeloen/ckeditor-bundle": "2.*"
},
我不知道错误是什么意思。我试图通过谷歌搜索,但无法解决我的问题。我试图删除包“leafo/lessphp”:“v0.3.9”并再次运行更新,但即使这样也会引发同样的错误。
我试图运行“composer status https://github.com/leafo/lessphp.git ”,这给了我错误:
fatal: Not a git repository (or any of the parent directories): .git
但是我可以通过浏览器打开链接。该链接在 composer.lock 中找到