Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to copy User model #79

Closed
MaximeGratens opened this issue Sep 6, 2020 · 1 comment
Closed

Impossible to copy User model #79

MaximeGratens opened this issue Sep 6, 2020 · 1 comment

Comments

@MaximeGratens
Copy link

  • Jetstream Version: 0.7.0
  • Laravel Version: ^8.0
  • PHP Version: 7.3
  • Database Driver & Version: X

Description:

When you install an old project where the User model isn't in Models folder :
php artisan jetstream:install livewire failed with this trace

  at vendor/laravel/jetstream/src/Console/InstallCommand.php:165
    161▕
    162▕         $this->installJetstreamServiceProvider();
    163▕
    164▕         // Models...
  ➜ 165▕         copy(__DIR__.'/../../stubs/app/Models/User.php', app_path('Models/User.php'));
    166▕
    167▕         // Actions...
    168▕         copy(__DIR__.'/../../stubs/app/Actions/Fortify/CreateNewUser.php', app_path('Actions/Fortify/CreateNewUser.php'));
    169▕         copy(__DIR__.'/../../stubs/app/Actions/Fortify/UpdateUserProfileInformation.php', app_path('Actions/Fortify/UpdateUserProfileInformation.php'));

Steps To Reproduce:

Use a project without User model in Models folder

@m1guelpf
Copy link
Contributor

m1guelpf commented Sep 7, 2020

See Taylor's response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants