Rareloop / lumberjack

Lumberjack is a powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code.
https://lumberjack.rareloop.com
MIT License
371 stars 34 forks source link

lumberjack-bedrock permission error while cloning Bedrock repository #20

Closed clams4shoes closed 5 years ago

clams4shoes commented 5 years ago

What are the steps to reproduce this issue?

  1. composer global require rareloop/lumberjack-bedrock-installer
  2. lumberjack-bedrock -v new mysite

What happens?

Permission error. lumberjack-bedrock is unable to clone Bedrock repository.

What were you expecting to happen?

For lumberjack-bedrock to create a new Lumberjack site.

Any logs, error output, etc?

Checking out Bedrock
Install failed
Symfony\Component\Process\Exception\ProcessFailedException: The command "git clone --depth=1 'git@github.com:roots/bedrock.git' '/Users/andrew/devilbox/data/www/dev/htdocs/rosefarms/dev/rosefamily' && rm -rf '/Users/andrew/devilbox/data/www/dev/htdocs/rosefarms/dev/rosefamily/.git'" failed.

Exit Code: 128(Invalid exit argument)

Working directory: /Users/andrew/devilbox/data/www/dev/htdocs/rosefarms/dev

Error Output:
================
Cloning into '/Users/andrew/devilbox/data/www/dev/htdocs/rosefarms/dev/rosefamily'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

What versions of software are you using?

Operating System: macOS High Sierra 10.13.6

PHP Version: PHP 7.1.16

adamtomat commented 5 years ago

Thanks for the detailed info. Sometimes you get that error message if you don't have an SSH key added to your Github account. Are you able to rule this out for us please?

https://help.github.com/en/enterprise/2.15/user/articles/adding-a-new-ssh-key-to-your-github-account

clams4shoes commented 5 years ago

Hmm. I did have an SSH key added to my account, but it seems like there was an issue with it. After readding the key the issue seems to be resolved. ¯_(ツ)_/¯

Thanks @adamtomat :)

adamtomat commented 5 years ago

Awesome to hear you got it resolved @clams4shoes 👍