Suggest Adding Installation Note for v2 in README #525
EhsanGhafoori
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi 👋
Thanks for the great package!
I noticed that trying to install version 2 using the common pattern:
composer require wire-elements/modal:^2.0
But Composer throws this error:
- Root composer.json requires wire-elements/modal 2.0, but no stable 2.0.0 version is available.
fails because there is no stable 2.0.0 tag yet. Composer expects an exact stable version, and since only pre-releases like 2.0.13 exist, it throws an error.
To avoid confusion for others, I suggest adding a note in the README like:
If you want to install v2, just run:
composer require wire-elements/modal
Or mention the need to use @beta if someone wants to stick with version constraints:
composer require wire-elements/modal:"^2.0@beta"
Thanks again for your work! 🙌
Beta Was this translation helpful? Give feedback.
All reactions