Skip to content
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

Installation problem the latest version #379

Closed
4 tasks done
ShekhSaifuddin007 opened this issue Feb 25, 2021 · 5 comments
Closed
4 tasks done

Installation problem the latest version #379

ShekhSaifuddin007 opened this issue Feb 25, 2021 · 5 comments

Comments

@ShekhSaifuddin007
Copy link

Prerequisites

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

Description

After clone the repo git clone https://github.com/laravel-enso/enso.git --depth 1 then I run the composer install
and then I got this error you can see the image below, how to resolve this..?

Actual behavior

enso

@vmcvlad
Copy link
Member

vmcvlad commented Feb 25, 2021

Hi!

Are you sure you didn't run composer update? This shouldn't happen on composer install since
artisan enso:upgrade:status only runs on update.

Nonetheless, you could do php artisan migrate and then everything should be fine.

@ShekhSaifuddin007
Copy link
Author

ShekhSaifuddin007 commented Feb 26, 2021

@vmcvlad No I didn't run composer update I just run composer install

also, I faced this error when I run yarn && yarn build into client folder

enso

@vmcvlad
Copy link
Member

vmcvlad commented Feb 26, 2021

I can't reproduce this locally. Are you using windows? If so, we can't really offer much support since nobody uses windows in our team.

There have been windows related issues in the past, perhaps you might find something which helps you here:

#312

#352

@ShekhSaifuddin007
Copy link
Author

@vmcvlad Opps! My bad 😢after deleting these scripts now I'm able to install packages

"post-update-cmd": [
   "php artisan enso:localisation:merge",
   "php artisan telescope:publish",
   "php artisan horizon:publish",
   "php artisan enso:upgrade:status"
]

but now I'm facing a new issue see the pic below

enso2

everything is compile by run yarn serve and I set my url properly
here is my env files

root env

APP_URL=http://localhost:8000

client env

API_URL=http://localhost:8080

@robbykrlos
Copy link

robbykrlos commented Mar 10, 2021

root env

APP_URL=http://localhost:8000

client env

API_URL=http://localhost:8080

Hi,

Make sure your .env file is properly configured:

APP_URL=http://localhost.backend:8081 - (apache/nginx / whatever deals with php)

EXT_API_URL=http://localhost.frontend:8082 (url to your yarn serve instance)

and also be sure to have the SANCTUM_STATEFUL_DOMAINS fully configured:

SANCTUM_STATEFUL_DOMAINS=localhost,127.0.0.1,127.0.0.1:8000,localhost:8080,::1,localhost.frontend:8082,localhost.backend:8081

I'm not saying this is a solution, I gest suggest some things that are critical for the app startup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants