Backslider
(Developer)
February 15, 2016, 9:55pm
1
How can I update Composer and not end up with the following error each time I try to install a package:
PHP Fatal error: Call to undefined method Fxp\Composer\AssetPlugin\Package\Version\VersionParser::parseLinks()
I am currently getting this error whenever I try to install a package with the old version of Composer:
rmrevin/yii2-fontawesome Invalid version string "v4.1.*"
alirz23
(Alirz23)
February 16, 2016, 6:26am
2
do you have composer assets plugin installed?
composer global require "fxp/composer-asset-plugin:~1.1.1"
achertovsky
(Alexander Chertovsky)
February 16, 2016, 9:23am
3
Backslider:
How can I update Composer and not end up with the following error each time I try to install a package:
PHP Fatal error: Call to undefined method Fxp\Composer\AssetPlugin\Package\Version\VersionParser::parseLinks()
I am currently getting this error whenever I try to install a package with the old version of Composer:
rmrevin/yii2-fontawesome Invalid version string "v4.1.*"
looks like i already have same issue in past. please, check the link. in the end of topic i described solution which helps me
jacmoe
(Jacob Moen)
February 16, 2016, 9:38am
4
Yes, this is due to the Composer asset plugin being out of order.
Install version 1.1.1 as Alirz23 said. That will fix the error.
Before doing that, update Composer itself.
Backslider
(Developer)
February 20, 2016, 6:59pm
5
The problem was that one of the packages I had installed had a dependency with another package and there was a typo in the entry for it in composer.json