PHP学院的中学生 2020-03-22 13:49:35 181次浏览 0条回复 0 0 0
D:\>cd D:\phpStudy\WWW

D:\phpStudy\WWW>php composer.phar create-project yiisoft/yii2-app-advanced advanced
Installing yiisoft/yii2-app-advanced (2.0.32)
  - Installing yiisoft/yii2-app-advanced (2.0.32): Downloading (100%)
Created project in advanced
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 66 installs, 0 updates, 0 removals
  - Installing yiisoft/yii2-composer (2.0.8): Downloading (100%)
  - Installing sebastian/diff (1.4.3): Downloading (100%)
  - Installing sebastian/recursion-context (2.0.0): Downloading (100%)
  - Installing sebastian/exporter (2.0.0): Downloading (100%)
  - Installing sebastian/comparator (1.2.4): Downloading (100%)
  - Installing sebastian/version (2.0.1): Downloading (100%)
  - Installing sebastian/code-unit-reverse-lookup (1.0.1): Downloading (100%)
  - Installing phpunit/php-text-template (1.2.1): Downloading (100%)
  - Installing phpunit/php-file-iterator (1.4.5): Downloading (100%)
  - Installing phpunit/php-token-stream (1.4.12): Downloading (100%)
  - Installing sebastian/environment (2.0.0): Downloading (100%)
  - Installing phpunit/php-code-coverage (4.0.8): Downloading (100%)
  - Installing sebastian/resource-operations (1.0.0): Downloading (100%)
  - Installing doctrine/instantiator (1.0.5): Downloading (100%)
  - Installing phpunit/php-timer (1.0.9): Downloading (100%)
  - Installing symfony/polyfill-ctype (v1.14.0): Downloading (100%)
  - Installing webmozart/assert (1.7.0): Downloading (100%)
  - Installing phpdocumentor/reflection-common (1.0.1): Downloading (100%)
  - Installing phpdocumentor/type-resolver (0.4.0): Downloading (100%)
  - Installing phpdocumentor/reflection-docblock (3.3.2): Downloading (100%)
  - Installing phpspec/prophecy (v1.10.3): Downloading (100%)
  - Installing myclabs/deep-copy (1.7.0): Downloading (100%)
  - Installing sebastian/global-state (1.1.1): Downloading (100%)
  - Installing sebastian/object-enumerator (2.0.1): Downloading (100%)
  - Installing symfony/yaml (v3.4.38): Downloading (100%)
  - Installing phpunit/phpunit-mock-objects (3.4.4): Downloading (100%)
  - Installing phpunit/phpunit (5.7.27): Downloading (100%)
  - Installing codeception/phpunit-wrapper (6.0.19): Downloading (100%)
  - Installing codeception/verify (0.5.0): Downloading (100%)
  - Installing bower-asset/jquery (3.4.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download bower-asset/jquery from dist: The "http://api.github.com/repos/jquery/jquery-dist/zipball/15bc73803f76bc53b654b9fdbbbc096f56d7c03d" file could not be downloaded: failed to open stream: 由于连接方在一 段时间后没有正确答复或连接的主机没有反应,连接尝试失败。

    Now trying to download from source
  - Installing bower-asset/jquery (3.4.1): Cloning 15bc73803f from cache
  - Installing bower-asset/bootstrap (v3.4.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download bower-asset/bootstrap from dist: The "http://api.github.com/repos/twbs/bootstrap/zipball/68b0d231a13201eb14acd3dc84e51543d16e5f7e" file could not be downloaded: failed to open stream: 由于目标计算机积极拒绝,无法连接。

    Now trying to download from source
  - Installing bower-asset/bootstrap (v3.4.1): Cloning 68b0d231a1


  [RuntimeException]
  Failed to clone http://github.com/twbs/bootstrap.git via https, ssh protocols, aborting.

  - http://github.com/twbs/bootstrap.git
    Cloning into 'D:\phpStudy\WWW\advanced\vendor\bower-asset\bootstrap'...
    fatal: early EOF
    fatal: The remote end hung up unexpectedly
    fatal: index-pack failed
    error: RPC failed; curl 18 transfer closed with outstanding read data remaining

  - git@github.com:twbs/bootstrap.git
    Cloning into 'D:\phpStudy\WWW\advanced\vendor\bower-asset\bootstrap'...
    Host key verification failed.
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.


create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]


D:\phpStudy\WWW>
    没有找到数据。
您需要登录后才可以回复。登录 | 立即注册