SOSTheBlack / moip

Package para integrar sua aplicação em Laravel com o MoIP
19 stars 7 forks source link

Problema na instalação #14

Closed thiagobueno closed 9 years ago

thiagobueno commented 9 years ago

Olá Deu problema na minha instalação e realmente não sei o que ouve no meu composer.json coloquei o "sostheblack/moip": "1.*" no Node.js dei o composer update, ele mostrou na tela tudo instalado, ok Fiz a configuração do providers e aliases no /app.php quando fui usar deu Class 'SOSTheBlack\Moip\MoipServiceProvider' not found fui até a pasta vendor e busquei por "sostheblack" e "moip" e não foi encontrado nada fui fazer tudo novamente e fiz o seguinte no Node.js

C:\wamp\www\site\ovni>composer update
{"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Class 'SOSTheBlack\\Moip\\MoipServiceProvider' not found","file":"C:\\wamp\\www\\site\\ovni\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\ProviderRepository.php","line":123}}Script php artisan clear-compiled handling the pre-update-cmd event returned with an error

  [RuntimeException]
  Error Output:

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [packages1] ... [packagesN]
thiagobueno commented 9 years ago

Removi as configurações do providers e aliases Ainda não existe as pastas no vendor

C:\wamp\www\site\ovni>composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: remove laravel/framework 4.0.x-dev
    - Conclusion: don't install laravel/framework 4.0.x-dev
    - Conclusion: don't install laravel/framework v4.0.11
    - Conclusion: don't install laravel/framework v4.0.10
    - Conclusion: don't install laravel/framework v4.0.9
    - Conclusion: don't install laravel/framework v4.0.8
    - Conclusion: don't install laravel/framework v4.0.7
    - Conclusion: don't install laravel/framework v4.0.6
    - Conclusion: don't install laravel/framework v4.0.5
    - Conclusion: don't install laravel/framework v4.0.4
    - Conclusion: don't install laravel/framework v4.0.3
    - Conclusion: don't install laravel/framework v4.0.2
    - Conclusion: don't install laravel/framework v4.0.1
    - Conclusion: don't install laravel/framework v4.0.0
    - Conclusion: don't install laravel/framework v4.0.0-BETA4
    - Conclusion: don't install laravel/framework v4.0.0-BETA3
    - sostheblack/moip 1.7.x-dev requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.0.0 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.1.0 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.1.1 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.2.0 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.2.1 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.2.2 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.2.3 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.3.0 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.3.1 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.3.2 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.4.0 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.4.1 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.4.2 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.4.3 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.5.0 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.5.1 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.5.2 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.5.3 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.5.4 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.5.5 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.5.6 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.5.7 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - sostheblack/moip v1.6.0 requires illuminate/support 4.2.* -> satisfiable by laravel/framework[4.2.x-dev], illuminate/support[4.2.x-dev, v4.2.0-BETA1, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - don't install illuminate/support 4.2.x-dev|don't install laravel/framework v4.0.0-BETA2
    - don't install illuminate/support v4.2.0-BETA1|don't install laravel/framework v4.0.0-BETA2
    - don't install illuminate/support v4.2.1|don't install laravel/framework v4.0.0-BETA2
    - don't install illuminate/support v4.2.2|don't install laravel/framework v4.0.0-BETA2
    - don't install illuminate/support v4.2.3|don't install laravel/framework v4.0.0-BETA2
    - don't install illuminate/support v4.2.4|don't install laravel/framework v4.0.0-BETA2
    - don't install illuminate/support v4.2.5|don't install laravel/framework v4.0.0-BETA2
    - don't install illuminate/support v4.2.6|don't install laravel/framework v4.0.0-BETA2
    - don't install illuminate/support v4.2.7|don't install laravel/framework v4.0.0-BETA2
    - don't install illuminate/support v4.2.8|don't install laravel/framework v4.0.0-BETA2
    - don't install illuminate/support v4.2.9|don't install laravel/framework v4.0.0-BETA2
    - Can only install one of: laravel/framework[v4.0.0-BETA2, 4.2.x-dev].
    - Installation request for laravel/framework 4.0.* -> satisfiable by laravel/framework[4.0.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.11, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9].
    - Installation request for sostheblack/moip 1.* -> satisfiable by sostheblack/moip[1.7.x-dev, v1.0.0, v1.1.0, v1.1.1, v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.3.0, v1.3.1, v1.3.2, v1.4.0, v1.4.1, v1.4.2, v1.4.3, v1.5.0, v1.5.1, v1.5.2, v1.5.3, v1.5.4, v1.5.5, v1.5.6, v1.5.7, v1.6.0].
SOSTheBlack commented 9 years ago

Está dando esse erro por que a verssão do seu Laravel é 5 O package é para laravel 4

SOSTheBlack commented 9 years ago

Executa esses comando no seu terminal composer create/project laravel/laravel package --prefer-dist composer require sostheblack/moip

thiagobueno commented 9 years ago

Foi isso mesmo, usando composer create-project laravel/laravel package --prefer-dist composer require sostheblack/moip instalou tudo normalmente

SOSTheBlack commented 9 years ago

Ótimo! Fico feliz que tenha dado certo!