Aug 4, 2024
7
Level 2
server 500 when i run php artisan serve
i am using github codespace anduse the code from the larvel in 30 days rep I do composer install and update and I don't see any error but when I open local host it just shows 500 server error I even tried php -S localhost:7000 -t public/ but all I get is GET/ in red
Level 73
@bodyshadyy Ok a small checklist.
- git clone https://github.com/JeffreyWay/30-days-to-learn-laravel.git
- composer install
- npm install
- Copy .env.example to .env (This gives 500 error if the .env file doesn't exist, which is likely the whole issue)
- php artisan migrate
- npm run dev (You might need to install an additional package
npm install @rollup/rollup-darwin-x64) - php artisan serve
1 like
Please or to participate in this conversation.