首頁  >  文章  >  開發工具  >  Composer更新依賴報錯Fatal error解決方案

Composer更新依賴報錯Fatal error解決方案

little bottle
little bottle轉載
2019-04-22 14:14:445059瀏覽

本篇文章主要講述更新Composer依賴報錯處理方案,有相同問題的朋友也來了解一下吧。

Fatal error: Declaration of Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRe
    pository::search() must be compatible with Composer\Repository\RepositoryInterfa
    ce::search($query, $mode = 0, $type = NULL) in C:\Users\Arthur\AppData\Roaming\C
    omposer\vendor\fxp\composer-asset-plugin\Repository\AbstractAssetsRepository.php
     on line 334

解決方案:

composer global remove fxp/composer-asset-plugin --no-plugins

相關推薦:【composer教學


以上是Composer更新依賴報錯Fatal error解決方案的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文轉載於:cnblogs.com。如有侵權,請聯絡admin@php.cn刪除