1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

artisan してたら autoload が死んだ

Last updated at Posted at 2021-09-22

php artisan してたら php artisan が動かなくなった

何を言っているかわからないと思うが

[vagrant@localhost hogehoge]$ php artisan
                                   
  [Symfony\Component\Debug\Exception\FatalThrowableError]               
  Class 'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider' not found  

なんか autoload が死んでるくさいんですけど
当然、artisan だけじゃなくてウェブサービスの画面も全部うごかない
artian 動かしてて autoload 死ぬとか意味不明なんですけど
しかも他の適当なライブラリはちゃんと動いてるのでなにもわからない

composer がおかしくなったら だいたい composer dump-autoload しろとか書いてるけど 全然効果がない

結局、vender 全部消して composer install しなおしたら直った、なにもわからない

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?