Closed tkowalski29 closed 9 years ago
I'am wondering why its trying to clone via ssh ? Are you on a server or VM ?
all repo URLs in the composer.lock files are as https://github.com/...
and not as git@github.com:...
!?
what are these commands doing ? stability dev or stable, instead of beta ->
php composer.phar create-project --stability=dev phundament/app
or
php composer.phar create-project --stability=stable phundament/app
or try to
git clone https://github.com/phundament/app.git my-app
and then
php composer.phar install --prefer-dist
Why ssh, because I have a NAS synology I this is the only way to use composer.
When I try: php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta4" and: php composer.phar create-project --stability=dev phundament/app
It's work
Thank you Quexer69, the rest of the installation with no problem.
you are welcome :-)
When I try to install with composer, in ssh of my server. I have some errors:
ssh> php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta 4" Changed current directory to /var/services/homes/admin/.composer ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev)
Writing lock file Generating autoload files
ssh> php composer.phar create-project --stability=beta phundament/app Installing phundament/app (4.0.0-beta9)
Created project in /volume1/web/Migo/advanced/app Loading composer repositories with package information Installing dependencies (including require-dev) from lock file
sh: git: not found
sh: git: not found
Installing schmunk42/yii2-markdocs-module (dev-master 8fd52a1) Cloning 8fd52a17fa91d2f184e3896196a479a347d9cca2
[RuntimeException]
Failed to clone git@github.com:schmunk42/yii2-markdocs-module.git, git was
not found, check that it is installed and in your PATH env.
sh: git: not found
create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repository-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [package] [directory] [version]
Any suggestions?