LoginSignup
6
7

More than 5 years have passed since last update.

composer diagnoseでMissing pubkeyのとき

Posted at

composerが急に調子が悪くなったので、composer diagnoseで診断した。
すると、下記のようなエラー。

$ composer diagnose
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys: FAIL
Missing pubkey for tags verification
Missing pubkey for dev verification
Run composer self-update --update-keys to set them up
Checking composer version: OK

Missing pubkeyと言われているので、下記コマンドを実行。

$ composer self-update --update-keys to set them up

https://composer.github.io/pubkeys.html
からkeyをコピペして(DevTags)貼り付けして完了。

6
7
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
6
7