加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

Laravel Composer不会更新/安装

发布时间:2020-12-14 19:49:38 所属栏目:大数据 来源:网络整理
导读:我最近在视图中更改了2行,并将代码推送到 github.当我在Laravel Forge上部署(大约2周后没有更新)我收到以下错误: "error":{ "type":"ErrorException","message":"Declaration of IlluminateViewEnginesCompilerEngine::handleViewException() should
我最近在视图中更改了2行,并将代码推送到 github.当我在Laravel Forge上部署(大约2周后没有更新)&我收到以下错误:
"error":{
    "type":"ErrorException","message":"Declaration of IlluminateViewEnginesCompilerEngine::handleViewException() should be compatible with IlluminateViewEnginesPhpEngine::handleViewException($e)","file":"/home/forge/default/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php","line":100
}

我甚至不能做php artisan -v而没有得到那个错误.然后我运行作曲家诊断并获得:

Checking composer.json: FAIL
require.damianromanowski/simplecdn : unbound version constraints (dev-master) should be avoided
require.roumen/feed : unbound version constraints (dev-master) should be avoided
require.themonkeys/error-emailer : unbound version constraints (dev-master) should be avoided
require.abodeo/laravel-stripe : unbound version constraints (dev-master) should be avoided
require.mattbrown/laracurl : unbound version constraints (dev-master) should be avoided
require.themonkeys/cachebuster : unbound version constraints (dev-master) should be avoided
Checking platform settings: FAIL
The xdebug extension is loaded,this can slow down Composer a little.
Disabling it when using Composer is recommended,but should not cause issues beyond slowness.
Checking git settings: OK
Checking http connectivity: OK
Checking disk free space: OK
Checking composer version: OK

我怎么会让这个错误消失?从来没有见过,也不确定是什么问题.

由#laravel的AndreasLutro友情提供:

尝试删除bootstrap / compiled.php.

那为我修好了.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读