-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Issue after install #406
Comments
After looking at this and getting it to work I feel dumb :D |
I am still having a problem with this application tho, I moved the root folder from my LAMP server to my Windows Wamp64 server and was able to get a login screen but now once I'm logged in I'm stuck on a loading screen, the console shoots out I'm completely stuck on what I'm needing to do now. Any and all help is welcomed! |
If it's a 500 Error code it's a server issue. Check your laravel.log and see what is reported there. |
Thank you for that! i fixed that issue but now all I'm getting in counsel is a 401 error after trying to login:
|
This is a bug.
Prerequisites
(enso is made of many specialized packages: https://github.com/laravel-enso)
Description
I'm having a problem getting my API working after install.
I started the root using the
PHP artisan serve
command and getting an output of "Starting development server: HTTP:// 127.0.0.1:8000"then opening a new terminal going to the client directory and running the command
yarn serve
getting "Done compiled successfully App running at: Local: http://localhost:8080"The problem comes when I try visiting the page localhost:8080 (Which is the only URL that works) I see a green gradient screen but nothing else, on the terminal I get the error "Proxy error: could not proxy request /API/meta from localhost:8080 to localhost:8000"
My root .env file has the APP_URL set to "APP_URL=http://localhost:8080/" this is also added in my SANCTUM_STATEFUL_DOMAINS
My Client .env file has the APP_URL set to "APP_URL=http://localhost:8000" also added to DOMAINS list
I've tried switching the numbers around but am having no luck.
I am using a VM Ubuntu 20.4 | php8.0 | MySQL 8 | composer 2
The text was updated successfully, but these errors were encountered: