【问题标题】:Composer install error after update to Cakephp 3.0.6更新到 Cakephp 3.0.6 后 Composer 安装错误
【发布时间】:2015-07-31 07:57:46
【问题描述】:

我刚刚运行composer update 并且Cakephp 已更新到3.0.6 版本,所以之后当我尝试运行composer install 时出现此错误:

Nothing to install or update
Generating autoload files
Script App\Console\Installer::postInstall handling the post-install-cmd event te
rminated with an exception



  [InvalidArgumentException]
  Maximum number of attempts must be a positive value.

【问题讨论】:

  • 检查 this issue 并应用 lorenzo 所做的提交。解决问题。

标签: cakephp-3.0


【解决方案1】:

看起来可能与 Composer packages update but don't install 重复

Composer 通过更新更新了 CakePHP 版本。没有什么可安装的。所以,只要在 3.0.6 中没有对您造成应用程序中断的更改,您应该会很好。 https://adamcod.es/2013/03/07/composer-install-vs-composer-update.html 告诉您如何锁定您的设置,这样您就不会意外升级版本。

【讨论】:

    猜你喜欢
    • 2017-07-23
    • 2020-04-20
    • 2016-05-10
    • 1970-01-01
    • 1970-01-01
    • 2017-10-14
    • 2013-07-20
    • 2014-12-07
    • 2017-02-14
    相关资源
    最近更新 更多