richdynamix / magestead

The Vagrant Solution for Magento Developers
81 stars 29 forks source link

Making a new project error #72

Closed Jst28 closed 7 years ago

Jst28 commented 8 years ago

PHP Warning: file_put_contents(/home/johnst28/.composer/auth.json): failed to open stream: No such file or directory in /home/johnst28/.config/composer/vendor/richdynamix/magestead/src/Magestead/Helper/Options.php on line 200

richdynamix commented 8 years ago

Which host OS do you have? It would appear you are using a Linux flavour that uses the XDG_CONFIG_HOME. Currently Magestead does not support this flavour of Linux or Windows machines. This is something I am hoping to start working soon.

Jst28 commented 8 years ago

Linux Mint 17

markorapaic commented 7 years ago

Just for the record, i'm getting this same error and i'm on a mac running El Capitan. I've installed composer via homebrew and it runs globally without any issues. I've also checked that location, and the auth.json file is definitely there.

PHP Warning: file_put_contents([home] /Users/markorapaic/.composer/auth.json): failed to open stream: No such file or directory in /Users/markorapaic/.composer/vendor/richdynamix/magestead/src/Magestead/Helper/Options.php on line 201

s2010 commented 7 years ago

I'm running mac OS El Capitan and I'm having the same error , i fixed the path using echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.bash_profile but still not working .