Earl
Well-known member
I have this in my composer.json
and build.json
Any Idea why the process is failing?
JSON:
{
"require": {
"giggsey/libphonenumber-for-php": "^8.12",
"irazasyed/telegram-bot-sdk": "^2.0"
}
}
JSON:
{
"additional_files": [
"styles/default/Earl/PV"
],
"exec": [
"composer install --working-dir=_build/upload/src/addons/{addon_id}/ --no-dev --optimize-autoloader",
"rm -v -rf _build/upload/src/addons/{addon_id}/phpunit.xml",
"rm -v -rf _build/upload/src/addons/{addon_id}/tests"
]
}
Code:
php cmd.php xf-addon:build-release Earl/PV
Performing add-on export.
Exporting data for [Earl] to /var/www/html/src/addons/Earl/PV/_data.
27/27 [============================] 100%
Written successfully.
Attempting to validate addon.json file...
JSON file validates successfully!
In File.php line 616:
[E_WARNING] rmdir(/var/www/html/src/addons/Earl/PV/_build/up
load/src/addons/Earl/PV/vendor/giggsey/libphonenumber-for-ph
p/src/geocoding/data/en): Directory not empty
xf-addon:build-release [--skip-hashes] [--] <id>
Process finished with exit code 1.
Any Idea why the process is failing?