Hello,
aujourd'hui j'essaie d'installer le service qui me permet d'avoir la fonction asset() dans twig, et je me fais rejeter violament
Je fais:
et j'ai en sortie:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2composer require symfony/asset
Est ce mon projet qui pose pb ou est ce que c'est le repository officiel du service asset() qui est cassé?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 Deprecation warning: require.symfony/templ ating is invalid, it should have a v endor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-] ?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error. Restricting packages listed in "symfony/symfony" to "4.2.*" ./composer.json has been updated Deprecation warning: require.symfony/templ ating is invalid, it should have a v endor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-] ?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error. Loading composer repositories with package information Updating dependencies (including require-dev) Restricting packages listed in "symfony/symfony" to "4.2.*" Your requirements could not be resolved to an installable set of packages. Problem 1 - The requested package symfony/templ ating could not be found, it looks li ke its name is invalid, " " is not allowed in package names. Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your min imum-stability setting see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more det ails. - It's a private package and you forgot to add a custom repository to find it Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further commo n problems. Installation failed, reverting ./composer.json to its original content.
Partager