Problem in updating Composer - Laravel

0

Good afternoon everyone

I'm trying to install a package by composer in laravel, and typing "composer require bert / ldap-authenticator" does the installation but produces the following result:

Using version ^0.2.4 for berg/ldap-authenticator
./composer.json has been updated
> php artisan clear-compiled
Loading composer repositories with package information
Updating dependencies <including require-dev)
- Removing doctrine/dbal (v2.5.1)
- Removing phpspec/php-diff (v1.0.2)
- Removing doctrine/common (v2.5.0)
- Removing doctrine/annotations (v1.2.6)
- Removing doctrine/cache (v1.4.1)
- Removing doctrine/collections (v1.3.0)
- Removing doctrine/lexer (v1.0.1)
- Removing spekkionu/laravel-zend-acl (2.0.2)
- Removing zendframework/zend-permissions-acl (2.3.9)
- Removing rmccue/requests (v1.6.1)
- Removing guzzlehttp/guzzle (6.0.2)
- Removing illuminate/html (v5.0.0)
- Removing guzzlehttp/psr7 (1.1.0)
- Removing psr/http-message (1.0)
- Removing guzzlehttp/promises (1.0.1)
- Removing danielstjules/stringy (1.10.0)
- Removing phpspec/phpspec (2.2.1)
- Removing xethron/migrations-generator (dev-15 e5e86ef)
- Removing way/generators (dev-feature/laravel-five-stable)

[RuntimeException]

Failed to execute git status --porcelain --untracked-files=no
'git' não é reconhecido como um comando interno
ou externo, um programa operável ou um arquivo em lotes.

require [--dev] [--prefer-source] [--prefer-dist] [--no-plugins] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-regs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...

From there I entered the system and everything stopped working. My luck that when I went to do the update I had made a backup just before.

What's going on? I do not believe it's any conflict with the package I'm installing.

    
asked by anonymous 19.02.2016 / 16:28

1 answer

-1

You probably do not have GIT installed, or git is not in the PATH of your system. Anyway I recommend you delete the VENDOR folder and run it again on composer install

    
19.02.2016 / 20:42