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

installation doesn't see auth.json #105

Open
antwake opened this issue May 17, 2017 · 1 comment
Open

installation doesn't see auth.json #105

antwake opened this issue May 17, 2017 · 1 comment

Comments

@antwake
Copy link

antwake commented May 17, 2017

I'm on MacOS Sierra 10.12
Composer is installed through brew
I can access composer globally

My installation settings are
Ubuntu 14
NGINX
PHP70
Magento2

my auth.json file contains the repo.magento.com Public and Private keys

cat .composer/auth.json 
{"http-basic": {"repo.magento.com": {"username": "5955bXXXXXXXXXX80543dcb", "password": "225XXXXXXXX7f"}}}

Yet the installation process asks me for my keys.

Looks like it can't read auth.json :
failed to open stream: No such file or directory /Users/patoche/.composer/vendor/richdynamix/magestead/src/Magestead/Helper/Options.php on line 201

If I echo the $authFile variable in Option.php, it shows /Users/patoche/.composer/auth.json
Which is where the file is located.

Strangely, if I hard-coded the path to the same value, it works
$authFile = '/Users/patoche/.composer/auth.json';

@richdynamix
Copy link
Owner

This is strange, I haven't encountered this one before. Strange it recognises the right file but can't access unless explicitly set. I'll investigate and get back to you.

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