Replies: 1 comment 3 replies
-
You should still have composer available on computers and setup global auth.json and add this: https://laracasts.com/discuss/channels/laravel/where-to-save-the-composer-github-credentials-when-using-sail?page=1&replyId=796261 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
So, we have a Sail project to develop our app. I just added Nova without issues, and another dev cloned the repo and started the steps to install sail itself and start working on the project. Following the documentation : https://laravel.com/docs/10.x/sail#installing-composer-dependencies-for-existing-projects he ran the
docker run
command to install composer dependencies.In the middle of the command, we get an error:
Of course, there are no license informations available. And usually on those computers, Composer is not available in the local env - everything goes through containers. If we add manually an
auth.json
file with the relevant license information, everything works as intended. But I don't want to tell devs to do that every time they clone the project.Is there a solution that would give devs ease of use? I don't think you can use
.env
variables in a json file, otherwise it would resolve the issue - git it without the license and use the information held in.env
.Thanks ahead.
Beta Was this translation helpful? Give feedback.
All reactions