Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

BikashKatwal's avatar

Script php artisan clear-compiled handling the post-update-cmd event returned with error code 255

Composer packages were changed, so PHP include paths were updated.   Composer packages were changed, so excluded folders were updated.   Composer packages were changed, so excluded folders were updated.   Composer packages were changed, so PHP include paths were updated.   install --no-interaction --ansi Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 2 installs, 28 updates, 2 removals - Removing symfony/polyfill-php72 (dev-master) - Removing egeloen/json-builder (1.0.3) - Downgrading kriswallsmith/buzz (0.16.x-dev bac6b03 => v0.16.1): Checking out 4977b7d44d - Installing symfony/polyfill-ctype (dev-master 82ebae0): Downloading (100%) - Downgrading egeloen/google-map (dev-master 85ea4c6 => 1.3.0): Downloading (100%) - Removing psr/log (dev-master bf2c13d) - Installing psr/log (dev-master c4421fc): Downloading (100%) - Removing monolog/monolog (dev-master a54d460) - Installing monolog/monolog (1.x-dev 17cbfb8): Downloading (100%) - Removing doctrine/lexer (dev-master 83893c5) - Installing doctrine/lexer (1.0.x-dev 1febd6c): Downloading (100%) - Downgrading doctrine/annotations (dev-master b5202eb => v1.4.0): Downloading (100%) - Downgrading doctrine/collections (dev-master 856cb37 => v1.4.0): Downloading (100%) - Removing doctrine/cache (dev-master 6c5c32e) - Installing doctrine/cache (1.6.x-dev eb152c5): Downloading (100%) - Removing doctrine/inflector (dev-master e5eaf8c) - Installing doctrine/inflector (1.1.x-dev 90b2128): Downloading (100%) - Removing doctrine/common (dev-master ad89591) - Installing doctrine/common (2.7.x-dev df88fc8): Downloading (100%) - Installing symfony/polyfill-mbstring (dev-master fe5e94c): Downloading (100%) - Removing doctrine/dbal (2.4.x-dev 7c467c3) - Installing doctrine/dbal (2.4.x-dev f5b85d1): Downloading (100%) - Removing intervention/image (1.6.x-dev 432f3b2) - Installing intervention/image (1.6.x-dev 57be273): Downloading (100%) - Removing patchwork/utf8 (1.1.x-dev ffa0821) - Installing patchwork/utf8 (1.1.x-dev 84da29e): Downloading (100%) - Removing predis/predis (0.8.x-dev 4123fcd) - Installing predis/predis (0.8.x-dev 192dfd6): Downloading (100%) - Removing symfony/browser-kit (2.3.x-dev 8d70818) - Installing symfony/browser-kit (2.3.x-dev 0fca8e3): Downloading (100%) - Removing symfony/console (2.3.x-dev aff6178) - Installing symfony/console (2.3.x-dev 20c12c6): Downloading (100%) - Removing symfony/css-selector (2.3.x-dev 241746d) - Installing symfony/css-selector (2.3.x-dev e750fff): Downloading (100%) - Removing symfony/debug (2.3.x-dev 796dd4c) - Installing symfony/debug (2.3.x-dev 863d29c): Downloading (100%) - Removing symfony/dom-crawler (2.3.x-dev 668b611) - Installing symfony/dom-crawler (2.3.x-dev b1a52ae): Downloading (100%) - Removing symfony/event-dispatcher (2.3.x-dev 6877179) - Installing symfony/event-dispatcher (2.3.x-dev fd6d162): Downloading (100%) - Removing symfony/filesystem (2.8.x-dev 59a58a3) - Installing symfony/filesystem (2.8.x-dev 7ae4687): Downloading (100%) - Removing symfony/finder (2.3.x-dev d626b43) - Installing symfony/finder (2.3.x-dev dce4b58): Downloading (100%) - Removing symfony/http-foundation (2.3.x-dev b8b368c) - Installing symfony/http-foundation (2.3.x-dev 9f4dbb1): Downloading (100%) - Removing symfony/http-kernel (2.3.x-dev 6e9e591) - Installing symfony/http-kernel (2.3.x-dev 57e0329): Downloading (100%) - Removing symfony/process (2.3.x-dev db46cf1) - Installing symfony/process (2.3.x-dev 89aced1): Downloading (100%) - Removing symfony/property-access (2.8.x-dev 81670dc) - Installing symfony/property-access (2.8.x-dev c8f1019): Downloading (100%) - Removing symfony/routing (2.3.x-dev 7201c0b) - Installing symfony/routing (2.3.x-dev 5b8a2bb): Downloading (100%) - Removing symfony/translation (2.3.x-dev 600ef7f) - Installing symfony/translation (2.3.x-dev abc5d93): Downloading (100%) Writing lock file Generating autoload files > php artisan clear-compiled Halls for Hire var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32397342-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();

Halls For Hire

List Your Hall

Error occurred!

An unknown error has occurred.

Return Home

© Halls for Hire
Terms & Conditions Contact Halls for Hire
Navigation
Search Halls Browse Halls About Pricing
Members
List Your Hall window.jQuery || document.write('</script>') Script php artisan clear-compiled handling the post-update-cmd event returned with error code 255 Failed to install packages for ./composer.json.   Composer packages were changed. PHPUnit config was updated according to composer.json    Composer packages were changed, so excluded folders were updated.    Composer packages were changed, so PHP include paths were updated.

composer.json

{ "name": "laravel/laravel", "description": "The Laravel Framework.", "keywords": ["framework", "laravel"], "license": "MIT", "require": { "laravel/framework": "4.0.", "way/generators": "2.6.", "cartalyst/sentry": "2.0.", "willdurand/geocoder": "2.4.", "toin0u/geocoder-laravel": "0.4.1", "kriswallsmith/buzz": "@stable", "egeloen/google-map": "1.3.@dev", "intervention/image": "1.", "intervention/imagecache": "1.*", "greggilbert/recaptcha": "1.1.5" }, "autoload": { "classmap": [ "app/commands", "app/controllers", "app/models", "app/database/migrations", "app/database/seeds", "app/tests/TestCase.php", "app/library", "app/validators" ], "files": [ "app/library/helpers.php" ] }, "scripts": { "post-install-cmd": [ "php artisan optimize" ], "post-update-cmd": [ "php artisan clear-compiled", "php artisan optimize" ], "post-create-project-cmd": [ "php artisan key:generate" ] }, "config": { "preferred-install": "dist" }, "minimum-stability": "dev" }

I am trying to compile laravel 4 project, and the first thing after downloading the project is composer install, then it holds so long, I just left my computer for a night to let it install and got the aforementioned errors. Please help me to figure it out. I am a beginner to laravel.

0 likes
2 replies
jlrdw's avatar

Maybe think about moving on to a newer version. Just my 2 cents.

Please or to participate in this conversation.