composer diagnoseでMissing pubkeyのとき
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をコピペして(Dev
とTags
)貼り付けして完了。
Author And Source
この問題について(composer diagnoseでMissing pubkeyのとき), 我々は、より多くの情報をここで見つけました https://qiita.com/aberyotaro/items/782fd6ccc053e50f2e78著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .