Skip to content

API Issue after install #406

@OverboredThekid

Description

@OverboredThekid

This is a bug.

Prerequisites

  • Are you running the latest version? yes
  • Are you reporting to the correct repository? yes
    (enso is made of many specialized packages: https://github.com/laravel-enso)
  • Did you check the documentation? yes
  • Did you perform a cursory search? yes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions