์ค๋๋ composer install
๋ช
๋ น์ ์๋ฃํ๋ ๋ฐ ๋ง์ ์๊ฐ์ด ๊ฑธ๋ฆฝ๋๋ค. ์ ์ญ ๋ฐ ์ง์ญ ์๊ตฌ ์ฌํญ ๋ชจ๋์์ ๋ฐ์ํฉ๋๋ค.
composer diagnose
๋ชจ๋ ๊ด์ฐฎ์ต๋๋ค.
์ด ๋ช ๋ น์ ์คํํ ๋(ํ์ง๋ง ๋ก์ปฌ ์ค์น ํ๋ก๊ทธ๋จ๊ณผ ๋์ผํจ):
$ composer global require hirak/prestissimo --profile -vvv
๋ค์ ์ถ๋ ฅ์ ์ป์ต๋๋ค.
[1.4MB/0.00s] Changed current directory to /home/vagrant/.config/composer
Failed to initialize global composer: Composer could not find the config file: /home/vagrant/.config/composer/composer.json
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
Running 1.4.2 (2017-05-17 08:17:52) with PHP 7.1.5-1+deb.sury.org~xenial+2 on Linux / 4.4.0-31-generic
[1.7MB/0.01s] Reading ./composer.json
[1.7MB/0.01s] Loading config file ./composer.json
[2.0MB/0.01s] Checked CA file /etc/ssl/certs/ca-certificates.crt: valid
[1.9MB/0.02s] Executing command (/home/vagrant/.config/composer): git branch --no-color --no-abbrev -v
[1.9MB/0.03s] Executing command (/home/vagrant/.config/composer): git describe --exact-match --tags
[1.9MB/0.03s] Executing command (/home/vagrant/.config/composer): git log --pretty="%H" -n1 HEAD
[1.9MB/0.04s] Executing command (/home/vagrant/.config/composer): hg branch
[1.9MB/0.04s] Executing command (/home/vagrant/.config/composer): fossil branch list
[1.9MB/0.04s] Executing command (/home/vagrant/.config/composer): fossil tag list
[1.9MB/0.05s] Executing command (/home/vagrant/.config/composer): svn info --xml
[2.4MB/0.09s] Downloading https://packagist.org/packages.json
[2.4MB/7.84s] Writing /home/vagrant/.cache/composer/repo/https---packagist.org/packages.json into cache
[2.4MB/7.84s] Downloading http://packagist.org/p/provider-2013%24442e1d5fa0fdbf77855cc363b024994a3e92a2f5099e5138b9c5777ae486703c.json
[2.5MB/108.65s] Downloading http://packagist.org/p/provider-2013%24442e1d5fa0fdbf77855cc363b024994a3e92a2f5099e5138b9c5777ae486703c.json
๋ง์ง๋ง ํ์์ ์ฐจ๋จ๋์ง๋ง ๋งค์ฐ ์์์ ์ ๋๋ค. ~30๋ถ ๋์ ๊ทธ๋๋ก ๋๋ฉด ๋ค๋ฅธ URI๋ฅผ ๊ณ์ ๊ฐ์ ธ์ค์ง๋ง ๋ค๋ฅธ URI๋ก ๋ฌด์์๋ก ์ค์ง๋๊ณ ๋๋๋ก 30๋ถ ์ด์ ๊ฑธ๋ฆฌ๊ธฐ ๋๋ฌธ์ ๋๋ค.
์ ๊ทธ๋ฐ ์ผ์ด ์ผ์ด๋๋์ง ์์ธ์? ๋ด ์ปดํจํฐ(๋ฐฉ๋์ ๋ฐ ๋ก์ปฌ ์ปดํจํฐ ๋ชจ๋)์๋ง ํด๋น๋๋ ๊ฒ์ฒ๋ผ ๋ณด์ด์ง๋ง ๋ค๋ฅธ ์ปดํจํฐ์์ ์๋ํ๋ฉด ์ ์์ ์ผ๋ก ์๋ํฉ๋๋ค. ๋ฌด์์ ํ์ธํ ์ ์์ต๋๊น?
๋๋ ์ ์
Failed to decode response: zlib_decode(): data error
Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info
ํธ๋๋น์ค ๋น๋์ ํจ๊ป
ํ์ฌ ๋ฌธ์ ๋ https://github.com/composer/composer/issues/6342 ๋ฅผ
์ด์จ๋ ๋ ธํธ๋ถ์ ์์ ํ ๋ค์ ์์ํ ํ ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋์์ต๋๋ค! ์ด์ ๋ ๋ชจ๋ฅด๊ฒ ์ง๋ง ์ง๊ธ์ ๊ด์ฐฎ์ต๋๋ค. ๊ทธ๋๋ ๋ค๋ฅธ ๋ฌธ์ ๋ฅผ ๋ฐ๋ฅด๊ฒ ์ต๋๋ค. ๊ฐ์ฌํฉ๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
ํ์ฌ ๋ฌธ์ ๋ https://github.com/composer/composer/issues/6342 ๋ฅผ