亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Laravel got an error when re-executing php artisan make:migration
PHPz
PHPz 2017-05-16 16:49:31
0
3
603

Laravel re-executed php artisan make:migration when error:


$ php artisan make:migration create_articles_table


  [ErrorException]
  include(D:\wnmp\www\laravel-5-3-dev\vendor\composer/../../database/migratio
  ns/2016_11_27_181313_create_articles_table.php): failed to open stream: No
  such file or directory

There was no error the first time. Then I deleted the generated file and repeated the above command, but this error occurred. How can I fix it?

PHPz
PHPz

學(xué)習(xí)是最好的投資!

reply all(3)
phpcn_u1582

Actually, after you delete it, it doesn’t think you deleted it and it’s vendor/composer/autoload_classmap.php會緩存這,所以會報(bào)錯(cuò),因?yàn)檎也坏搅?這個(gè)時(shí)候重新生成autoload_classmap.php,執(zhí)行這個(gè)就composer dump-autoloadok

Ty80

First open the command prompt in the project directory and run composer install

Peter_Zhu

Is this file 2016_11_27_181313_create_articles_table.php missing?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template