You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you delete the database/ folder from a Laravel app created by using composer create-project laravel/laravel (for any reason, but lets assume it's because your app has no DB), later using artisan app:name MyApp can't update the database factory namespaces. This causes the command to fail, which means the composer calls to regenerate autoloaders never get run, thus leaving your app in a non-working state. Manually running composer can be used to fix this issue, but it seems reasonable that this should fail more gracefully.
The text was updated successfully, but these errors were encountered:
Description:
If you delete the database/ folder from a Laravel app created by using
composer create-project laravel/laravel
(for any reason, but lets assume it's because your app has no DB), later usingartisan app:name MyApp
can't update the database factory namespaces. This causes the command to fail, which means the composer calls to regenerate autoloaders never get run, thus leaving your app in a non-working state. Manually running composer can be used to fix this issue, but it seems reasonable that this should fail more gracefully.The text was updated successfully, but these errors were encountered: