I am currently getting this error when I try to do a composer update.
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
My require block is:
"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.*"
},
I have no idea what the error means. I have tried to search via google but havent been able to solve my issue. I event tried to remove the package "leafo/lessphp": "v0.3.9" and run update again but even that throws the same error.
I tried to run "composer status https://github.com/leafo/lessphp.git" that gives me the error:
fatal: Not a git repository (or any of the parent directories): .git
But I can open the link through the browser. The link was found in the composer.lock