Closed ShekhSaifuddin007 closed 3 years ago
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.
@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
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:
@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
everything is compile by run yarn serve
and I set my url properly
here is my env files
APP_URL=http://localhost:8000
API_URL=http://localhost:8080
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.
Prerequisites
Description
After clone the repo
git clone https://github.com/laravel-enso/enso.git --depth 1
then I run thecomposer install
and then I got this error you can see the image below, how to resolve this..?Actual behavior