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
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)
Are you familiar with Laravel?
Your second message is that you don't have a MySQL Database setup
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
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
but things should run at least? I mean without migrations
and then it should provoke an error,
Composer will, if not you need to install composer
in the running server, saying: TABLE Not found
Because you haven’t run php artisan migrate yet… this is standard Laravel