Hi all, i need help to solve this problem.
I have my dev pc (windows10) and a production server (linux - ubuntu). They are syncronized with my application code. (same composer.json)
I run composer update on my production server without error.
I run composer update on my dev pc with this error:
…
Adding VCS repository bower-asset/fullcalendar
Downloading https://api.github.com/repos/fullcalendar/fullcalendar
Downloading https://api.github.com/repos/fullcalendar/fullcalendar/contents/bower.json?ref=master
Downloading https://api.github.com/repos/fullcalendar/fullcalendar/commits/master
Downloading https://api.github.com/repos/fullcalendar/fullcalendar/tags?per_page=100
Downloading https://api.github.com/repos/fullcalendar/fullcalendar/git/refs/heads?per_page=100
[UnexpectedValueException]
Could not parse version constraint >=~2: Invalid version string "~2"
Exception trace:
() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/semver/src/VersionParser.php:483
…
Any suggestion on what can i do?
thank’s