ErrorException copy(C:\laragon\www\himochibear\database/seeders/indorRegionDistrictSeder.php):无法打开流:没有这样的文件目录

ErrorException copy(C:\laragon\www\himochibear\database/seeders/indorRegionDistrictSeder.php):无法打开流:没有这样的文件目录,php,laravel,migration,laragon,Php,Laravel,Migration,Laragon,错误例外 复制(C:\laragon\www\himochibear\database/seeders/indorRegionDistrictSeder.php):无法打开流:没有这样的文件目录 公共函数拷贝($path,$target){返回拷贝($path,$target);} 我在php artisan db:seed--class=indorRegionSeed中发现错误 作曲家需要阿齐沙皮丁/吲哚区 php artisan indoregion:发布 在数据库文件夹中创建一个文件夹

错误例外 复制(C:\laragon\www\himochibear\database/seeders/indorRegionDistrictSeder.php):无法打开流:没有这样的文件目录

公共函数拷贝($path,$target){返回拷贝($path,$target);}

我在php artisan db:seed--class=indorRegionSeed中发现错误

  • 作曲家需要阿齐沙皮丁/吲哚区

  • php artisan indoregion:发布

  • 在数据库文件夹中创建一个文件夹“seeders”。稍后将有2个文件夹可见;种子和播种机(新文件夹)

  • 作曲家转储自动加载

  • 将播种器中的文件复制到种子

  • php artisan db:seed--class=indorRegionSeeder

  • 如果数字5中有错误,请逐个输入:

    php artisan db:seed--class=indorRegionProvinceSeeder

    php artisan db:seed--class=indorRegionRegencySeeder

    php artisan db:seed--class=indorRegionDistrictSeder

    php artisan db:seed--class=indorRegionVillageseeder