LoginSignup
0
1

More than 5 years have passed since last update.

ComposerのupdateでCall to undefined method Illuminate\Foundation\Application::getCachedCompilePath()と出るときの対処

Last updated at Posted at 2015-05-22
PHP Fatal error:  Call to undefined method Illuminate\Foundation\Application::getCachedCompilePath() in /Users/xxxxxxxx/vendor/laravel/framework/src/Illuminate/Foundation/Console/ClearCompiledCommand.php on line 28



  [Symfony\Component\Debug\Exception\FatalErrorException]                             
  Call to undefined method Illuminate\Foundation\Application::getCachedCompilePath()  

ここで親切な回答が。
[SOLVED] Call to undefined method Illuminate\Foundation\Application::getCachedCompilePath() - Laravel.IO - The Official Laravel PHP Framework Community Portal

Delete the vendor/compiled.php and run composer update again.

だそうです。

$ rm vendor/compiled.php 

やってみる。

$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
Generating optimized class loader

動いた!

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1