1
刚切换到上一个项目,并创建一个使用方式/发电机包命令php artisan generate:migration
Laravel应用程序目录从发电机路径缺少
新移民当我这样做,我得到这个错误:
[ErrorException]
file_put_contents(/path/to/site/laravel/database/migrations/2014_09_02_145128_create_templates_table.php): failed to open stream: No such file or directory
看着这条路,很明显它为什么失败......它应该是/laravel/app/database/
。检查paths.php
文件我发现没有任何更改。
到目前为止,我无法找到变化(不是一个git项目,所以没有日志)。
Laravel配置中发生了哪条路径错误?
这就是问题! Laravel 4.2。*已经设置,但我需要回滚到“”方式/生成器“:”〜2.0“。谢谢! :) – eComEvo 2014-09-02 15:21:46