Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Symfony][Symfony2]Problem z instalacją Console Component
athabus
post
Post #1





Grupa: Zarejestrowani
Postów: 898
Pomógł: 48
Dołączył: 2.11.2005
Skąd: Poznań

Ostrzeżenie: (0%)
-----


Hej,

mam problem z instalacją Console Component w symfony 2.8
Cytat
$ composer require symfony/console


Dostaję
Cytat
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- sensio/generator-bundle v2.5.3 requires symfony/console ~2.5 -> no matching package found.
- sensio/generator-bundle v2.5.3 requires symfony/console ~2.5 -> no matching package found.
- sensio/generator-bundle v2.5.3 requires symfony/console ~2.5 -> no matching package found.
- Installation request for sensio/generator-bundle == 2.5.3.0 -> satisfiable by sensio/generator-bundle[v2.5.3].

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.



Mój wyjściowy composer.json

Cytat
"require": {
"php": ">=5.3.9",
"symfony/symfony": "2.8.*",
"doctrine/orm": "^2.4.8",
"doctrine/doctrine-bundle": "~1.4",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~4.0",
"sensio/framework-extra-bundle": "^3.0.2",
"incenteev/composer-parameter-handler": "~2.0",
"friendsofsymfony/user-bundle": "~2.0@dev",
"symfony/var-dumper": "^2.7",
"knplabs/knp-paginator-bundle": "^2.5",
"symfony/filesystem": "^2.7",
"egeloen/ckeditor-bundle": "^3.0",
"symfony/finder": "^2.7"
},
"require-dev": {
"sensio/generator-bundle": "~2.3"
},


Poradzicie co można z tym zrobić?

edit// Zdaje się, że Console Component jest w obrębie Symfony i nie trzeba go instalować... Choć composer show -i go nie pokazuje na liście zainstalowanych.
A próba instalacji powoduje instalację najnowszej wersji, która ma niespełnione zależności.

Ten post edytował athabus 2.12.2015, 16:03:36
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 11:16