Symfony创建项目问题

时间:2019-07-01 15:58:38

标签: php symfony symfony4

我正在尝试首次安装Symfony。遵循Laravel / Homestead的指示。但是在创建项目时,我遇到了运行时错误

vagrant@homestead:~/code$ composer create-project symfony/website-skeleton first-app
    1/2:        http://repo.packagist.org/p/provider-latest$7e36cf7d366f18f057c42c0b3fcdd5b658a38082971ab43c3583cead61e48c84.json
    2/2:        http://repo.packagist.org/p/provider-2019-04$f1b1fd638e637df39f97d49502c2d5fc970912f819ad930a199fecf040976f27.json
    Finished: success: 2, skipped: 0, failure: 0, total: 2
    1/2:        http://repo.packagist.org/p/provider-2019-04$e2261eca7122a0342702afd28750d756153b7840b3cacc489b12125b1f06b913.json
    2/2:        http://repo.packagist.org/p/provider-latest$ea94b85fc5e9b920173dbf68189580b2b0bd6f8bab15a05cb8ec4c8ba9404820.json
    Finished: success: 2, skipped: 0, failure: 0, total: 2
Installing symfony/website-skeleton (v4.3.99)
  - Installing symfony/website-skeleton (v4.3.99): Loading from cache
Created project in planet
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing symfony/flex (v1.4.1): Loading from cache
Plugin installation failed, rolling back
  - Removing symfony/flex (v1.4.1)
  [RuntimeException]
  Could not delete /home/vagrant/code/planet/vendor/symfony/flex/src/Command:
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>]

如果有人能帮助我朝正确的方向以及如何解决此问题,我将不胜感激。

0 个答案:

没有答案