01
2020
03

关于composer遇到的问题

  1. 使用升级命令update的问题

composer update

2.提示下面的错误

1、Warning: This development build of composer is over 60 days old. It is recommended to update it by running "C:\ProgramData\ComposerSetup\bin\composer.phar self-update" to get the latest version.

3正确的命令是下面这个:

composer selfupdate

提示版本太低不支持

The "yiisoft/yii2-composer" plugin was skipped because it requires a Plugin API
version ("1.0.0") that does not match your Composer installation ("1.1.0"). You
may need to run composer update with the "--no-plugins" option.

使用下面命令更新

composer selfupdate --no-plugins


« 上一篇 下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。