Rumah  >  Artikel  >  alat pembangunan  >  Composer更新依赖报错Fatal error解决方案

Composer更新依赖报错Fatal error解决方案

little bottle
little bottleke hadapan
2019-04-22 14:14:445036semak imbas

本篇文章主要讲述更新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教程


Atas ialah kandungan terperinci Composer更新依赖报错Fatal error解决方案. Untuk maklumat lanjut, sila ikut artikel berkaitan lain di laman web China PHP!

Kenyataan:
Artikel ini dikembalikan pada:cnblogs.com. Jika ada pelanggaran, sila hubungi admin@php.cn Padam