Closed t1gor closed 7 years ago
Something like this
Seems like the issue was different. When trying to locate composer home dir, the output of composer config --list --global
was containing the home
in all the path:
composer config --list --global | grep "\[home\]"
[home] /home/igort/.composer
➜ .composer composer config --list --global | grep home
[vendor-dir] vendor (/home/igort/.composer/vendor)
[bin-dir] {$vendor-dir}/bin (/home/igort/.composer/vendor/bin)
[cache-dir] /home/igort/.composer/cache
[data-dir] /home/igort/.composer
[cache-files-dir] {$cache-dir}/files (/home/igort/.composer/cache/files)
[cache-repo-dir] {$cache-dir}/repo (/home/igort/.composer/cache/repo)
[cache-vcs-dir] {$cache-dir}/vcs (/home/igort/.composer/cache/vcs)
[home] /home/igort/.composer
Which is why the command could not access the directory correctly. Sending another pull request now.
Hi.
First of all - thanks for coming up with a great tool!
I've been trying to install and start using the one, but I get the following error:
And the thing is:
It's not writable. Which brings us to the following line:
https://github.com/richdynamix/magestead/blob/develop/src/Magestead/Helper/Options.php#L201
I guess I could submit a pull request to throw an exception and terminate on this step with the instructions on how to change permissions or add content manually.