-
Notifications
You must be signed in to change notification settings - Fork 920
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
Installation Issue - Publish User Model #3562
Comments
Hello there! Thanks for opening your first issue on this repo! Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that. Backpack communication channels:
Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch. Thank you! -- |
This was first reported as an issue in Laravel-Backpack/CRUD#3562
Hi @aerostah! Sorry for the trouble, I've just pushed a PR to fix it. And if you wish we can help on the automatic installation process. It should work. |
The problem is that when you go to create the user record in tinker, you get this error:
Both autoinstall and manual are not working. What command should i run to get the user model in place? |
Hi @aerostah! I've never used Tinker, but make sure either you set it, or tinker knows the correct path of the User |
Yes, I changed the command to: $user = new App\Models\User(); This allowed me to run the other commands and create the account, I appreciate the help. Thank you. |
Greetings,
As per the title of this issue, the automatic installation process stops on Step 2 of 5. Creating users table (using Laravel's default migration). The User table is indeed present, but it won't get past Step #2.
After moving to manual installation, this one particular command produces the following error:
> php artisan backpack:publish-user-model
These are my environment details, your wisdom is greatly appreciated.
PHP VERSION:
PHP 7.4.3 (cli) (built: Oct 6 2020 15:47:56) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies
LARAVEL VERSION:
v8.29.0@d2eba352b3b3a3c515b18c5726b373fe5026733e
BACKPACK VERSION:
4.1.36@779364646e3b57258b981ff9f1bdcd9887143836
The text was updated successfully, but these errors were encountered: