Closed prabhuchelladurai closed 7 years ago
Have you set your composer bin directory into your PATH
?
Same issue here:
echo $path
~/.composer/vendor/bin /Users/antonkjorcklinden/.rbenv/shims /usr/local/sbin /usr/local/bin /Users/antonkjorcklinden/.bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /opt/X11/bin
@richdynamix Yes.. Of course, I did it..
Which operating system do you have? Can you list the contents of ~/.composer/vendor
I am using ROSA Desktop Fresh R7.
But how do I get the contents of ~/.composer/vendor?
ls-l ~/.composer/vendor
The output of the command : ls -l ~/.composer/vendor is
prabhuchelladurai@Hershel-Harleen ~/Magento $ ls -l ~/.composer/vendor
ls: cannot access /home/prabhuchelladurai/.composer/vendor: No such file or directory
But when I try to execute 'composer global require "richdynamix/magestead" ', I get the following output:
prabhuchelladurai@Hershel-Harleen ~/Magento $ composer global update "richdynamix/magestead"
PHP Warning: Module 'Phar' already loaded in Unknown on line 0
Changed current directory to /home/prabhuchelladurai/.config/composer
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
prabhuchelladurai@Hershel-Harleen ~/Magento $
Unfortunately you are using a flavour of Linux that uses XDG_CONFIG_HOME
. This is not currently supported with Magestead but should be resolved in future versions.
Oh.. Thanks for the clarification. May I know when this could be possibly resolved?
I have followed all the instructions and installed the composer.
when I give the command 'magestead new My-Project' I got the following output:
what's the flaw and how could it be solved?
Thanks