Composer error pri instalacii package-ov do projektu
Upozornění: Tohle vlákno je hodně staré a informace nemusí být platné pro současné Nette.
- oneRow
- Člen | 10
Caute. Snazim sa rozbeznut 1 z tychto 2 balickov vo svojom projekte,
nakolko sa snazim spravit real-time aplikaciu.
https://github.com/Grez/websockets
https://github.com/…ty22/ratchet
Dostavam vsak z composeru error:
[InvalidArgumentException]
Could not find package teddy/websockets at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability
Pouzivam najnovsiu verziu Nette. Z composer.json:
"php": ">= 5.3.7",
"nette/application": "~2.3.6",
"nette/bootstrap": "~2.3.0",
"nette/caching": "~2.3.0",
"nette/database": "~2.3.0",
"nette/di": "~2.3.0",
"nette/finder": "~2.3.0",
"nette/forms": "~2.3.0",
"nette/http": "~2.3.0",
"nette/mail": "~2.3.0",
"nette/robot-loader": "~2.3.0",
"nette/safe-stream": "~2.3.0",
"nette/security": "~2.3.0",
"nette/utils": "~2.3.0",
"latte/latte": "~2.3.0",
"tracy/tracy": "~2.3.0"
Ten prvy balicek pritom vyzera byt celkom aktualny, takze by ma zaujimalo, preco dostavam tu chybu. Je nejaky sposob ako composer prinutit nainstalovat tieto balicky do projektu? Dakujem.
- David Matějka
- Moderator | 6445
Ty balicky nemaji vydanou stabilni verzi. nainstaluj si dev pomoci:
composer require teddy/websockets:@dev