繁体   English   中英

尝试更新时,laravel composer更新失败

[英]laravel composer update fail when trying to update illuminate

当我试图更新照明,但失败了。

sudo composer.phar require "illuminate/html":"5.0.*"

它表明错误,

Script php artisan optimize handling the post-update-cmd event returned with an error

Installation failed, reverting ./composer.json to its original content.


[RuntimeException]  
Error Output:   

请帮我。

Illuminate / Html已被弃用,你可以在这里看到它。 现在这个包的作者说你应该使用laravelcollective / html

composer require laravelcollective/html

然后在providers数组中的config.app中:

Collective\Html\HtmlServiceProvider::class,

并且在同一个文件中的别名数组中:

'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,

希望这可以帮助。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM