简体   繁体   中英

Invalid version string “1.1.0,,<2.0”

I'm trying to install a library for the Yii framework 2, and get an error:

[UnexpectedValueException]
Could not parse version constraint >=1.1.0,,<2.0: Invalid version string "1.1.0,,<2.0"

I looked at the list of requirements in the composer.json , but there are no problems.

The problem was much easier than I thought. I have a global fxp/composer-asset-plugin installed. I just deleted it and problem was solved.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM