Closed kungfooman closed 6 years ago
Have you installed Composer?
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
@kungfooman This is something that could be solved, but should be reported in the issue tracker of the installer.
In any case, @FinlayDaG33k provided you a simple solution.
P.D.: I'm working on a "workspaces" feature, and my next step is to dockerize this software in order to make easier its usage.
Similar error when trying to install jupyter-php-installer. Composer is installed and command "composer" returns normal output. But
./jupyter-php-installer.phar install sh: 1: Syntax error: "(" unexpected sh: 1: Syntax error: "(" unexpected sh: 1: Syntax error: "(" unexpected sh: 1: Syntax error: "(" unexpected sh: 1: Syntax error: "(" unexpected sh: 1: Syntax error: "(" unexpected sh: 1: Syntax error: "(" unexpected sh: 1: Syntax error: "(" unexpected sh: 1: Syntax error: "(" unexpected sh: 1: Syntax error: "(" unexpected sh: 1: Syntax error: "(" unexpected sh: 1: Syntax error: "(" unexpected ERROR: Unable to find the composer executable.
That error looks more like there is something else going on with the installer.
Thank you for the answer. sudo was needed. Although "composer" itself worked normally with regular user, this particular installation needed sudo. Sorry for confusion.
Can happen :> have fun!
By just trying:
Anybody knows how to fix the error?