LoginSignup
0
0

More than 5 years have passed since last update.

composer の 「secure-http false」(global 対応)

Posted at

composer 使うたびに

Your configuration does not allow connections to http://packagist.jp/packages.json. See https://getcomposer.org/doc/06-config.md#secure-http for details.

って出て、その都度

composer.json
    "config": {
        "secure-http": false
    }

ってするのがめんどくさくなったので、グローバルに突っ込むことにしました。
で、忘れるので、メモ。

composer config --global secure-http false

そのうち、外せるんかなぁ。。。良い子は真似しちゃいけない設定ですw

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0