Composer环境混乱引起--Fatal error: Call to undefined method Fxp

 

Fatal error: Call to undefined method Fxp\Composer\AssetPlugin\Package\Version\V
ersionParser::parseLinks() in C:\Documents and Settings\Administrator\Applicatio
n Data\Composer\vendor\fxp\composer-asset-plugin\Repository\VcsPackageFilter.php
on line 272

解决办法:

删除composer资源插件,再重新安装

Linux : rm -rf ~/.composer/vendor/fxp

Windows : rm -r %APPDATA%\Composer\vendor\fxp

 

posted @ 2018-06-26 00:38  QinXiao.Shou  阅读(216)  评论(0编辑  收藏  举报