larapi
larapi copied to clipboard
Cannot start api
Hi @esbenp : I already follow all the instruction step by step, then when I try to run the app, it return error: Class Infrastructure ....\infrastructure\Api\Controllers\DefaultApiController does not exist
is there any installation that I missed
Thank's in advance
Can you paste the code for controller that you try to access?
This is the screenshot of error that occur:
Thank's
Hello
I have the same problem. (Windows)
Thank's
Hmm have you guys tried running Larapi without it being served using Laravels build-in server? Have you tried using something like nginx or similar?
Thank you for your prompt response to the questions
yes i tried with xampp
i added full path in every route and resolved this issue. $router->get('/', '\Infrastructure\Api\Controllers\DefaultApiController@index'); instead of $router->get('/', 'DefaultApiController@index');
can we fix this issue ?
@esbenp I already tried without laravel build-ind server, but still error @seyyedRezaRazavi I will try follow that way
Thank you guys
@seyyedRezaRazavi salam, bebakhshid shoma ba in repo moshkeli nadareed, man error exception migiram, mitoonid komak konid?