Installation Erweiterung schlägt fehl -
Hallo,
ich habe nun ein eigenes Bundle erstellt und installiert
/bundles/contao-spacing-bundle/
meine composer.json sieht so aus:
PHP-Code:
{
"type": "project",
"require": {
"contao/calendar-bundle": "4.13.*",
"contao/comments-bundle": "4.13.*",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "4.13.*",
"contao/listing-bundle": "4.13.*",
"contao/manager-bundle": "4.13.*",
"contao/news-bundle": "4.13.*",
"contao/newsletter-bundle": "4.13.*",
"do-while/contao-backupdb-bundle": "^1.5",
"fritzmg/contao-swiper": "^4.3",
"madeyourday/contao-rocksolid-custom-elements": "^2.4",
"oveleon/contao-cookiebar": "^1.13",
"pdir/contao-sticky-footer": "^1.1",
"terminal42/contao-easy_themes": "^3.1",
"terminal42/contao-folderpage": "^3.1",
"berecont/contao-spacing-bundle": "dev-main"
},
"extra": {
"public-dir": "public",
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"@php vendor/bin/contao-setup"
],
"post-update-cmd": [
"@php vendor/bin/contao-setup"
]
},
"config": {
"allow-plugins": {
"contao-components/installer": true,
"contao/manager-plugin": true,
"contao-community-alliance/composer-plugin": true,
"php-http/discovery": true
}
},
"repositories": {
"contao-spacing-bundle": {
"type": "path",
"url": "bundles/contao-spacing-bundle"
}
}
}
Nun wollte ich via Contao Manager die Erweiterung [hofff/contao-calendarfield] installieren und dry-run schlägt mit Fehler fehl.
Code:
composer install --dry-run
$ C:\laragon\bin\php\php-8.1.8-Win32-vs16-x64\php.EXE -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=UTC C:/laragon/www/auerhahn/public/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader --dry-run
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
- Required package "hofff/contao-calendarfield" is not present in the lock file.
This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md
and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r
# Process terminated with exit code 4
# Result: Unknown error
Auch andere Erweiterungen enden mit dem gleichen Error - also gehe ich mal davon aus, dass die eigenen Erweiterung die Fehlerquelle ist.
Composer Update hatte via CM durchgeführt. Auch Composer Install nochmals angestossen.
Bitte um Hilfe - vielen Dank