The first code is as follows.
➜~ php/usr/local/bin/composer global require "fxp/composer-asset-plugin:~1.1.0" Changed current directory To/users/mac /.composerphp Fatal error:call to undefined method Composer\package\version\versionparser::p arselinks () in/users/mac/ . composer/vendor/fxp/composer-asset-plugin/repository/vcspackagefilter.php on line 270Fatal error:call to undefined Method Composer\package\version\versionparser::p arselinks () in/users/mac/.composer/vendor/fxp/ composer-asset-plugin/repository/vcspackagefilter.php on line 270➜~ php/usr/local/bin/composer global require "fxp/co Mposer-asset-plugin:~1.1.4-bata "Changed current directory to/users/mac/.composerphp Fatal error:call to undefined meth OD composer\package\version\versionparser::p arselinks () in/users/mac/.composer/vendor/fxp/composer-asset-plugin/ repository/vcspackagefilter.php on line 270Fatal error:call to undefined method composer\package\version\versionparser ::p arselinks () in/users/mac/.composer/vendor/fxp/composer-asset-plugin/Repository/vcspackagefilter.php on line 270
I just started installing Composerasset 1.0.0 version of the time no problem, After installing the 1.0.4-bata version after the success, I will composer the global installation, but then do this to report the above error, search for a lot of information, but seemingly useless, delete Composer.phar after the global installation, or no change, error as always, so can only seek guidance.
Reply content:
The first code is as follows.
➜~ php/usr/local/bin/composer global require "fxp/composer-asset-plugin:~1.1.0" Changed current directory To/users/mac /.composerphp Fatal error:call to undefined method Composer\package\version\versionparser::p arselinks () in/users/mac/ . composer/vendor/fxp/composer-asset-plugin/repository/vcspackagefilter.php on line 270Fatal error:call to undefined Method Composer\package\version\versionparser::p arselinks () in/users/mac/.composer/vendor/fxp/ composer-asset-plugin/repository/vcspackagefilter.php on line 270➜~ php/usr/local/bin/composer global require "fxp/co Mposer-asset-plugin:~1.1.4-bata "Changed current directory to/users/mac/.composerphp Fatal error:call to undefined meth OD composer\package\version\versionparser::p arselinks () in/users/mac/.composer/vendor/fxp/composer-asset-plugin/ repository/vcspackagefilter.php on line 270Fatal error:call to undefined method composer\package\version\versionparser ::p arselinks () in/users/mac/.composer/vendor/fxp/composer-asset-plugin/Repository/vcspackagefilter.php on line 270
I just started installing Composerasset 1.0.0 version of the time no problem, After installing the 1.0.4-bata version after the success, I will composer the global installation, but then do this to report the above error, search for a lot of information, but seemingly useless, delete Composer.phar after the global installation, or no change, error as always, so can only seek guidance.
https://github.com/francoispluchino/composer-asset-plugin/pull/133
Linux:rm -rf ~/.composer/vendor/fxp
Windows:rm -r%APPDATA%\Composer\vendor\fxp
composer global require "fxp/composer-asset-plugin:~1.1.1"