F
Filament15mo ago
rosie

Problems in running a cloned laravel project

Hi everyone , so i am a begginner in using laravel , i've cloned a project from github but can't run it , as all of the following commands return errors : composet install , composer update ,copy .env.example .env , the error says : Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
8 Replies
rosie
rosieOP15mo ago
i've tried some of the commands people suggested on stack overflow but it shows this : SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
toeknee
toeknee15mo ago
Are you familiar with Laravel? Your second message is that you don't have a MySQL Database setup
rosie
rosieOP15mo ago
Yes i am familiar i've worked on projects that i created locally but it's the first time i clone , and no i do have a mysql db setup cuz it works just fine with my other projects , i use xampp
toeknee
toeknee15mo ago
You need to setup a database and run the artisan migration command. These are the very first steps of installing Laravel and mother to do with the clone
Xe
Xe15mo ago
but things should run at least? I mean without migrations and then it should provoke an error,
toeknee
toeknee15mo ago
Composer will, if not you need to install composer
Xe
Xe15mo ago
in the running server, saying: TABLE Not found
toeknee
toeknee15mo ago
Because you haven’t run php artisan migrate yet… this is standard Laravel
Want results from more Discord servers?
Add your server