Allow Plugins Error During Setup
When setting up a new installation of Contao 4.13 there has been instances of errors on June where Composer will stop with an error saying your trying to install a plugin which isn't allowed. In order to fix this you need to first add the code below to the composer.json file then delete the 'public_html/vendor' folder and rerun the installation. This will allow you to continue on through to the end.
"config": {
"allow-plugins": true
}
After adding the code to the 'composer.json' file, it will look like the following:
{
"type": "project",
"require": {
"contao/conflicts": "*@dev",
"contao/manager-bundle": "4.13.*",
"contao/calendar-bundle": "4.13.*",
"contao/comments-bundle": "4.13.*",
"contao/faq-bundle": "4.13.*",
"contao/listing-bundle": "4.13.*",
"contao/news-bundle": "4.13.*",
"contao/newsletter-bundle": "4.13.*"
},
"extra": {
"public-dir": "web",
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"@php vendor/bin/contao-setup"
],
"post-update-cmd": [
"@php vendor/bin/contao-setup"
]
},
"config": {
"allow-plugins": true
}
}