-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid version string "1.1.0,,<2.0" #305
Comments
Seems that was wrong solution, although exception dissapear, appear many strange bugs. If that will help to fix that issue (exception), seems it caused by this package - https://github.com/uxsolutions/bootstrap-datepicker |
I had the same issue, also bootstrap-datepicker (v1.7.1) I added this simple code as a dirty workaround for now: (composer-asset-plugin/Converter/SemverConverter.php line 65)
I'm not sure if it's a wrong range used by bootstrap-datepicker or if it should be changed in composer-asset-plugin..? |
If it works for NPM or Bower, it's a bug. |
So? |
If you have a patch, I take. It happens in the SemverConverter class |
When I try to update packages, was faced with this issue:
[UnexpectedValueException]
Could not parse version constraint >=1.1.0,,<2.0: Invalid version string "1.1.0,,<2.0"
While trying to find cause of this exception i was found that it was caused by whitespace after comma. And i'm not sure, but seems that constraint was created from constraint "^3.0.1".
In my case, as temporary solution, was help adding:
$range = str_replace(', ', ',', $range);
After this line
The text was updated successfully, but these errors were encountered: