nguyendh
(Duynguyen0511)
July 28, 2015, 1:27am
1
I cant install the Advance Application at all.
[b]C:\Ampps3\www>composer --version[/b]
Composer version 1.0-dev <c6cc6dd...> 2015-07-21 13:46:38
[b]C:\Ampps3\www>composer global require "fxp/composer-asset-plugin:~1.0.0"[/b]
Changed current directory to C:/Users/Michael/AppData/Roaming/Composer
Deprecation Notice: Composer\Package\Version\VersionParser::parseLinks is deprecated.
Use \Composer\Package\Loader\ArrayLoader::parseLinks() instead in phar://C:/ProgramData/ComposerSetup/
bin/composer.phar/src/Composer/Package/Version/Versi
onParser.php:226
[b]C:\Ampps3\www>composer create-project --prefer-dist yiisoft/yii2-app-advanced yii-application[/b]
Installing yiisoft/yii2-app-advanced (2.0.4)
- Installing yiisoft/yii2-app-advanced (2.0.4)
Loading from cache
Created project in yii-application
Loading composer repositories with package information
Installing dependencies (including require-dev)
[UnexpectedValueException]
Could not parse version constraint <=2.*: Invalid version string "2.*"
create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repos
itory-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--n
o-scripts] [--no-progress] [--keep-vcs] [--no-install] [--ignore-platform-reqs]
[package] [directory] [version]
I have the same problem. I cannot run composer update:
Early everything worked well. But today i try
composer require phpoffice/phpexcel
and get the error.
bober
(Aatitarenko)
July 28, 2015, 1:27pm
3
Someone decided this issue. Today, I also can not be updated. Even I can not install
[UnexpectedValueException]
Could not parse version constraint <=2.*: Invalid version string "2.*"
Composer version - 1.0.0-alpha10
bober
(Aatitarenko)
July 28, 2015, 2:28pm
4
I Decided. The problem with "fxp / composer-asset-plugin: 1.0.2" need to install version 1.0.1. And the problem is solved. To do so:
php composer.phar global require "fxp / composer-asset-plugin: 1.0.1"
nguyendh
(Duynguyen0511)
July 28, 2015, 4:13pm
5
look like it is a fxp / composer-asset-plugin bug ( https://github.com/francoispluchino/composer-asset-plugin/issues/129 )
Anyway, what is ~1.0.0 ? does it like 1.0.* ?
Some problem:
Loading composer repositories with package information
Updating dependencies (including require-dev)
[UnexpectedValueException]
Could not parse version constraint <=2.*: Invalid version string "2.*"
nguyendh:
I cant install the Advance Application at all.
[b]C:\Ampps3\www>composer --version[/b]
Composer version 1.0-dev <c6cc6dd...> 2015-07-21 13:46:38
[b]C:\Ampps3\www>composer global require "fxp/composer-asset-plugin:~1.0.0"[/b]
Changed current directory to C:/Users/Michael/AppData/Roaming/Composer
Deprecation Notice: Composer\Package\Version\VersionParser::parseLinks is deprecated.
Use \Composer\Package\Loader\ArrayLoader::parseLinks() instead in phar://C:/ProgramData/ComposerSetup/
bin/composer.phar/src/Composer/Package/Version/Versi
onParser.php:226
[b]C:\Ampps3\www>composer create-project --prefer-dist yiisoft/yii2-app-advanced yii-application[/b]
Installing yiisoft/yii2-app-advanced (2.0.4)
- Installing yiisoft/yii2-app-advanced (2.0.4)
Loading from cache
Created project in yii-application
Loading composer repositories with package information
Installing dependencies (including require-dev)
[UnexpectedValueException]
Could not parse version constraint <=2.*: Invalid version string "2.*"
create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repos
itory-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--n
o-scripts] [--no-progress] [--keep-vcs] [--no-install] [--ignore-platform-reqs]
[package] [directory] [version]