yii-starter-kit / yii2-starter-kit

Yii2 Starter Kit
http://yii2-starter-kit.terentev.net
Other
1.42k stars 648 forks source link

composer update error #730

Closed awais-vteams closed 4 years ago

awais-vteams commented 4 years ago

While latest cloning and composer update got error

  [UnexpectedValueException]                                                              
  Could not parse version constraint >=1.1.0,,<2.0: Invalid version string "1.1.0,,<2.0"  
awais-vteams commented 4 years ago

image

rivieiraa commented 4 years ago

Check your composer.json for this fragment 1.1.0,,<2.0 . It's not valid version declaration

https://getcomposer.org/doc/articles/versions.md

awais-vteams commented 4 years ago

@rivieiraa composer.json is the same as https://github.com/yii2-starter-kit/yii2-starter-kit/blob/master/composer.json I have just downloaded a fresh clone and trying to install it. My composer version is latest 1.9.1

rivieiraa commented 4 years ago

First of all, if you're making fresh install you have to run composer install not update, you may add --no-plugins option if you still have issues.

awais-vteams commented 4 years ago

Thanks composer install works.