krisanalfa / lumen-jwt

Lumen with JWT Authentication, Dingo API and CORS Support
258 stars 80 forks source link

Not able to run php artisan serve #38

Closed argupta2301 closed 7 years ago

argupta2301 commented 7 years ago

I am new to lumen so it might be a noob question. I followed all the steps for installing but whenever I run php artisan serve OR php -S localhost:8000 -t public/ I get this error: Directory C:\wamp64\www\lumen-jwt/public/ does not exist. I have checked the write permissions as well as htaccess. Both are correct. I have also checked changing the path for public directory but that might not be the case here. So please if anybody have a solution please share! Thanks

argupta2301 commented 7 years ago

It was a silly mistake from my side. If anyone stucks in this issue hit php -S localhost:8000 -t public instead of php -S localhost:8000 -t public/