Skip to content
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

[UnexpectedValueException] Could not parse version constraint : Invalid version string "" #51

Closed
s7eph4n opened this issue Oct 10, 2014 · 4 comments
Assignees
Labels
Milestone

Comments

@s7eph4n
Copy link

s7eph4n commented Oct 10, 2014

When trying to add "bower-asset/jquery-sticky" : "~1.0" as a requirement I get an UnexpectedValueException: Could not parse version constraint : Invalid version string "".

jquery-sticky itself has a dependency on "jquery": null, so I suspect that the null could be the issue.

@francoispluchino
Copy link
Member

Yes, that's the problem. I will make the fix this afternoon

@francoispluchino francoispluchino self-assigned this Oct 11, 2014
@francoispluchino francoispluchino added this to the 1.0.0 milestone Oct 11, 2014
@francoispluchino
Copy link
Member

Fixed by c8c0cf1.

@francoispluchino
Copy link
Member

For your example, you must add @dev, because the version 1.0.1 is a alias of dev-master branch:

{
    "require": {
        "bower-asset/jquery-sticky" : "~1.0@dev"
    }
}

@s7eph4n
Copy link
Author

s7eph4n commented Oct 11, 2014

That was fast. Thanks!
And thanks also for the heads-up about the dev branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants