[Yii2]Fix : Error failed to open stream: HTTP request failed!

kasus punya teman dikantor , saat instal yii2 advanced, muncul error

[Composer\Downloader\TransportException]
The “http://packagist.org/p/provider-2013%24e5f8127bd37cccb779a4f23f8eef0ef9823564e51570204776e43c3dd83e1e37.json” file could not be downloaded: failed
to open stream: HTTP request failed!

and fixnya


composer config --global repo.packagist composer https://packagist.org/

ketemu solusinya ada disini

https://github.com/composer/composer/issues/4772

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: