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

Minimum Stability #10

Open
2 of 4 tasks
fiedsch opened this issue Nov 15, 2018 · 2 comments
Open
2 of 4 tasks

Minimum Stability #10

fiedsch opened this issue Nov 15, 2018 · 2 comments
Labels
contao 4 solved solved, ready to export as markdown

Comments

@fiedsch
Copy link
Member

fiedsch commented Nov 15, 2018

Wortlaut der Fehlermeldung

$ /opt/plesk/php/7.1/bin/php '-q' '/var/www/vhosts/xxx.xxx.net/xxx.xxx.eu/web/contao-manager.phar.php' 'composer' 'require' 'friends-of-contao/contao-privacy' '--no-progress' '--no-suggest' '--no-update' '--no-scripts' '--prefer-stable' '--sort-packages' '--no-ansi' '--no-interaction' 2>&1


In InitCommand.php line 718:
                                                                               
  Could not find a version of package friends-of-contao/contao-privacy matching your minimum-stability (stable). Require it with an explicit version con  
  straint allowing its desired stability.                                      
                                                                               

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...


# Process terminated with exit code 1
# Result: General error

Versionen/Zusatzinformationen

  • Contao: 4.4
  • PHP: 7.1
  • Browser (bei Javascript Fehlern):

Ort

  • Backend
  • Frontend
  • Contao Manager
  • Composer

Falls vorhanden: Link zum Forumsthread

https://community.contao.org/de/showthread.php?72610-Installation-friends-of-contao-contao-privacy-in-Contao-4-4-26

@fiedsch
Copy link
Member Author

fiedsch commented Nov 15, 2018

Das gewünschte Paket liegt (zum Zeitpunkt der Tiicket-Erstellung) nur als Beta-Version vor und erfüllt damit nicht die minimum-stability Anforderungen, die im Contao-Manager hinterlegt sind.

Wenn man für das Paket explizit 2.x-beta (die zu diesem Zeitpunkt aktuellste Version) angibt, so "überstimmt" dies diese Einstellung und das Paket lässt sich installieren.

2.x-beta ist dabei die Versionsangabe für alle Versionen 2.x, die als beta gekennzeichnet wurden.

Dies glit für andere Pakete -- bei ähnlicher Fehlermeldung -- analog.

versionsauswahl

@fiedsch fiedsch added the solved solved, ready to export as markdown label Nov 15, 2018
@fritzmg
Copy link
Member

fritzmg commented Nov 15, 2018

Als version requirement am besten ^2.0@beta nehmen. Siehe auch https://www.youtube.com/watch?v=AeXhw7K2hw0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contao 4 solved solved, ready to export as markdown
Projects
None yet
Development

No branches or pull requests

2 participants