Hallo,
ich wollte mal daran versuchen, eine eigene Erweiterung zu installieren. Ich gehe vollkommen nach der Anleitung vor (https://docs.contao.org/dev/getting-started/extension/) und trotzdem bekomme ich schon beim Schritt "Installation" beim Composer Update einen Fehler.
Siehe Bild:
Screenshot 2021-12-11 at 17-10-29 Contao Manager contao local.png
Hier die composer.json der Erweiterung:
Code:
{
"name": "xyz/contao-abc-bundle",
"description": "ABC Bundle Description",
"type": "contao-bundle",
"require": {
"contao/core-bundle": "^4.4"
},
"license": "LGPL-3.0-or-later",
"autoload": {
"psr-4": {
"Xyz\\ContaoAbcBundle\\": "src/"
}
}
}
Hier die composer.json von Contao:
Code:
{
"type": "project",
"repositories": [
{
"type": "path",
"url": "xyz/contao-abc-bundle"
}
],
"require": {
"contao/conflicts": "*@dev",
"contao/manager-bundle": "4.12.*",
"contao/calendar-bundle": "4.12.*",
"contao/comments-bundle": "4.12.*",
"contao/faq-bundle": "4.12.*",
"contao/listing-bundle": "4.12.*",
"contao/news-bundle": "4.12.*",
"contao/newsletter-bundle": "4.12.*",
"xyz/contao-abc-bundle": "dev-main"
},
"extra": {
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"@php vendor/bin/contao-setup"
],
"post-update-cmd": [
"@php vendor/bin/contao-setup"
]
}
}
Was mache ich falsch? Ich habe eigentlich ganz genau die Schritte in der Anleitung befolgt.
Vielen Dank schon mal für eure Hilfe!
Liebe Grüße,
Tobias
Lesezeichen