2013-09-26 9 views
5

Próbuję zainstalować FOSUserBundle na Symfony2.Symfony2 i kompozytor nie instalują pakietów

On próbuje uruchomić to polecenie w terminalu

composer update friendsofsymfony/user-bundle

ja przedstawiane z tego błędu:

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 - symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it. - symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it. - Installation request for symfony/icu == 1.2.0.0 -> satisfiable by symfony/icu[v1.2.0].

czytałem o przedłużeniu INTL nie jest zainstalowany poprawny, więc po these instructions , zrestartował MAMP i problem jest nadal obecny!

Sprawdziłem również za pomocą phpinfo() i potwierdzono, że zostało zainstalowane oprogramowanie INTL. Nie mam pojęcia, jak pozbyć się tych błędów!

Odpowiedz

7

Problem nadal występuje, ponieważ aktualizacja kompozytor jest uruchamiana tylko dla FOSUserBundle.

Najpierw spróbuj uruchomić composer update symfony/icu, a następnie uruchom composer update friendsofsymfony/user-bundle.

Jeśli to nie zadziała, spróbuj aktualizacji wszystkich sprzedawców z composer update

+1

Próbowałem przez kilka dni i dokładną instrukcje go rozwiązać. Dziękuję @edwines! – Ben

Powiązane problemy