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

sandy123's avatar

Compoer update,composer install problem

Iam not able to composer update,when i use composer install i got following error.please help to fix it

c:\wamp\www\womenact\CMS>composer install
Warning: This development build of composer is over 60 days old. It is recommend
ed to update it by running "C:\ProgramData\ComposerSetup\bin\composer.phar self-
update" to get the latest version.
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Package guzzle/common is abandoned, you should avoid using it. Use guzzle/guzzle
 instead.
Package guzzle/stream is abandoned, you should avoid using it. Use guzzle/guzzle
 instead.
Package guzzle/parser is abandoned, you should avoid using it. Use guzzle/guzzle
 instead.
Package guzzle/http is abandoned, you should avoid using it. Use guzzle/guzzle i
nstead.
Generating autoload files




  [Symfony\Component\Debug\Exception\FatalErrorException]

  Call to undefined method Illuminate\Foundation\Application::getCachedCompilePa
th()




Script php artisan clear-compiled handling the post-install-cmd event returned w
ith an error



  [RuntimeException]
  Error Output:



install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-p
lugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress
] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [pac
kages1] ... [packagesN]



c:\wamp\www\womenact\CMS>
0 likes
6 replies
jrean's avatar

@sandy123 could you first run composer selfupdate or sudo composer selfupdate and try again?

jrean's avatar

@sandy123 (forget the sudo sorry). composer selfupdate should work and update composer.

1 like
jrean's avatar

@sandy123 are you working alone on the project? Is it a dev environnement? Can you delete the vendor directory and the composer.lock file and perform a new composer install?

sandy123's avatar

yes iam working alone,i have self update d.should i delete all files of vendor folder?

Please or to participate in this conversation.