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

Use https version to avoid ssh problem when cloning packages #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ziomizar
Copy link

When run composer create-project goalgorilla/social_template:dev-master DIRECTORY --no-interaction

I get on 2 packages cloned from github this error:
Error: Permission denied (publickey)

I saw that in genral this package use the https version of the package to install them.
Also select2 and morris should use the https version to avoid this kind of problems.

An approach to solve this in general would be configuring the local environement with:

composer config --global github-protocols https

And after that, a "composer install" will generate a composer.lock with https in all the packages.
Would be good commit in this repo this generated composer.lock in order to avoid the error i get.

If this solution is not ok for who want to install this package and still get error there is a wrokaround that split in several commands the composer create-project

git clone https://github.com/goalgorilla/social_template.git
composer config --global github-protocols https
composer install

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

Successfully merging this pull request may close these issues.

1 participant