Problem z instalacją composera |
Problem z instalacją composera |
21.01.2016, 14:33:28
Post
#1
|
|
Grupa: Zarejestrowani Postów: 87 Pomógł: 1 Dołączył: 3.01.2010 Ostrzeżenie: (0%) |
Witajcie.
Chciałem zainstalować Symfony 2 przez Composera, ale pojawił się komunikat o konieczności jego aktualizacji. Komenda update nic nie dawała więc odistalowałem composera ręcznie (tzn usunąłem plik composer.phar). Teraz gdy chce zainstalować ponownie najnowszego composera komendą "php -r "readfile('https://getcomposer.org/installer');" | php" to dostaje taki oto błąd: C:\xampp\htdocs\symfony>php -r "readfile('https://getcomposer.org/installer');" | php All settings correct for using Composer Fatal error: Uncaught exception 'RuntimeException' with message 'The APPDATA or COMPOSER_HOME environment variable must be set for composer to install correctly ' in -:554 Stack trace: #0 -(364): getHomeDir() #1 -(111): installComposer(false, false, 'composer.phar', false, false, false) #2 -(13): process(Array) #3 {main} thrown in - on line 554 Reinstalowałem nawet XAMPP, ale to nic nie dało. Proszę o pomoc. Próbowałem też instalować composer przez plik .exe, ale w trakcie wyskakuje nieoczekiwany błąd (255). |
|
|
21.01.2016, 14:41:05
Post
#2
|
|
Grupa: Zarejestrowani Postów: 8 068 Pomógł: 1414 Dołączył: 26.10.2005 Ostrzeżenie: (0%) |
Google trudna rzecz...
https://github.com/composer/composer/issues/2033 |
|
|
Wersja Lo-Fi | Aktualny czas: 24.04.2024 - 03:25 |