Occasionally the scripts block in composer.json causes composer to error out when performing an update or install. One common error seen is:
script php artisan clear-compiled handling the pre-update-cmd
To remedy this, try running composer without scripts.
composer update --no-scripts