philippfrenzel / yii2fullcalendar

JQuery Fullcalendar Yii2 Extension
GNU General Public License v2.0
133 stars 97 forks source link

Error when installing via Composer #76

Closed p2made closed 7 years ago

p2made commented 7 years ago

In the last 36 hours Composer has started throwing an error when updating projects that have fullcalendar as a dependancy (or, like mine, as a dependancy of a dependancy, namely yii2fullcalendar)...

[UnexpectedValueException]                                            
  Could not parse version constraint >=~2: Invalid version string "~2"

That is, somewhere in the dependancy chain of fullcalendar, something declares the impossible version constraint >=~2.

I have also reported this issue on fullcalendar.

philippfrenzel commented 7 years ago

Hi, which fxp/composer-plugin are you using?

p2made commented 7 years ago

Version 1.2.2.

nasyrov commented 7 years ago

same here

[UnexpectedValueException]
  Could not parse version constraint >=~2: Invalid version string "~2"
yafater commented 7 years ago

It's same for me

philippfrenzel commented 7 years ago

I get the same mistake here - it happened due to my fxp update :/ I will check if the changed something within the version "solver" as it's related to the bower dependencies...

p2made commented 7 years ago

The developer of fxp/composer-plugin has advised of a fix in progress. For the moment this gets us going again...

$ composer global require fxp/composer-asset-plugin:~1.3@dev

See his issue thread here.