我正试图在CENTOS 6.7上安装使用作曲家的树枝来获取此错误,我做错了什么?:
[root@mankomal /]# composer require twig/twig
Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
Using version ^1.24 for twig/twig
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Installation failed, deleting ./composer.json.
[RuntimeException] //vendor does not exist and could not be created.
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress]
[--no-update] [--update-no-dev] [--update-with-dependencies]
[--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader]
[-a|--classmap-authoritative] [--] [<packages>]...
答案 0 :(得分:0)