码迷,mamicode.com
首页 > 其他好文 > 详细

composer error when run composer update

时间:2015-11-23 18:43:53      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:

本篇文章由:http://xinpure.com/composer-error-when-run-composer-update/

错误

很多时候即使是常用的命令也会出现一些奇奇怪怪的错误, 难以预知。。。

Input:

composer update

Output:

PHP Fatal error: Call to undefined method Fxp\Composer\AssetPlugin\Package\Version\VersionParser::parseLinks() in /root/.composer/vendor/fxp/composer-asset-plugin/Repository/VcsPackageFilter.php on line 272

Fatal error: Call to undefined method Fxp\Composer\AssetPlugin\Package\Version\VersionParser::parseLinks() in /root/.composer/vendor/fxp/composer-asset-plugin/Repository/VcsPackageFilter.php on line 272

解决方法

rm -rf ~/.composer/vendor/fxp

参考链接

https://github.com/yiisoft/yii2/issues/9794

composer error when run composer update

标签:

原文地址:http://www.cnblogs.com/xinpureZhu/p/4989083.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!