0

So I downloaded symfony 4 with help of this command

 composer create-project symfony/skeleton my-project

Afterwards, from the project's directory I try to pull the symfony's flex profiler package using command

composer require profiler --dev

but composer is having issue. Like it wants to pull the package down the standard way and not by utilizing symfony flex

enter image description here

UPDATE: Issued at https://github.com/symfony/flex/issues/306

splash
  • 13,037
  • 1
  • 44
  • 67
h0lend3r
  • 431
  • 1
  • 5
  • 11
  • Interesting. I just tried it and got the same error. Must be something wrong with the alias. composer require symfony/profiler-pack --dev will work – Cerad Jan 20 '18 at 01:02
  • yeah, looks like all aliases got corrupted. Where is the place to issue this? symfony/flex? – h0lend3r Jan 20 '18 at 01:14
  • Seems reasonable. I poked around a bit but I can't find where the aliases are defined or where the flex composer plugin ends up. Might be a problem on the github recipe site. So yep, open an issue and see what happens. – Cerad Jan 20 '18 at 01:20
  • it's been already issued(https://github.com/symfony/flex/issues/306) and the aliases and all flex reciepies are listed under https://symfony.sh – h0lend3r Jan 20 '18 at 01:24

1 Answers1

0

see the answer of nicolas-grekas in the following link

you can continue using the symfony containers in this link, just look for the alias that flex used.

in your case twig for flex is "symfony / twig-bundle", run composer req symfony / twig-bundle.

salu2

carlos ivan
  • 26
  • 1
  • 4