Composer Error On Update / Install (script php artisan clear-compiled handling the pre-update-cmd)

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

Allen Gingrich

Author Allen Gingrich

Allen has worked on the web for over a dozen years. Like many young entrepreneurs, he began with a small workspace in his basement, where he eventually formed Ideas and Pixels. The rest, well, is history. Allen enjoys fine wines, weight training, and beautiful, semantic code.

More posts by Allen Gingrich