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

[Bug]: Error when cache is cleared #73

Open
niyonx opened this issue Apr 29, 2022 · 1 comment
Open

[Bug]: Error when cache is cleared #73

niyonx opened this issue Apr 29, 2022 · 1 comment

Comments

@niyonx
Copy link

niyonx commented Apr 29, 2022

What happened?

When I run

php artisan clear cache
php artisan config cache

I receive this error from the API.

Unable to boot ApiServiceProvider, configure an API domain or prefix

I tried to fix it by adding API_DOMAIN and API_PREFIX to the .env but that did not solve it.

What did you expect to happen?

No errors

Version

3.2.x

What browser are you seeing the problem on?

No response

Relevant log output

No response

@sampoyigi
Copy link
Member

Not sure if its related but there seems to be some issues with the dingo/api package and i'm considering dropping the package and porting some features over.

Might help, try rm -rf vendor composer.lock && composer update

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

2 participants