vagrant puphpet composer创建项目不工作
vagrant puphpet composer创建项目不工作,vagrant,composer-php,virtualbox,pecl,puphpet,Vagrant,Composer Php,Virtualbox,Pecl,Puphpet,我正在尝试从该回购协议(kunstmaan cms)安装vagrant box。 在执行“流浪者向上”命令期间,我有两个错误 ==> default: Error: curl -sS https://getcomposer.org/installer | php returned 255 instead of one of [0] ==> default: Error: printf "\\n" | pecl -d preferred_state=stable install pec
我正在尝试从该回购协议(kunstmaan cms)安装vagrant box。
在执行“流浪者向上”命令期间,我有两个错误
==> default: Error: curl -sS https://getcomposer.org/installer | php returned 255 instead of one of [0]
==> default: Error: printf "\\n" | pecl -d preferred_state=stable install pecl_http returned 1 instead of one of [0]
但其他一切都很好
因为composer在box安装期间未安装,所以我将手动下载它
然后我运行这个命令
php composer.phar create-project kunstmaan/bundles-standard-edition myprojectname
我得到了这个输出
[09:04 PM]-[vagrant@kunstmaan]-[/var/www]
$ php composer.phar create-project kunstmaan/bundles-standard-edition myprojectname
Installing kunstmaan/bundles-standard-edition (3.4.0)
- Installing kunstmaan/bundles-standard-edition (3.4.0)
Downloading: 100%
Created project in myprojectname
> SymfonyStandard\Composer::hookRootPackageInstall
Loading composer repositories with package information
Installing dependencies (including require-dev)
没有别的事情发生。我让它运行了一个小时,没有任何变化
这是什么原因造成的?我怎样才能修好它?或者我如何排除故障
操作系统:windows 10流浪汉1.8.1
virtualbox 4.3(也尝试了5.0)此提交中修复了此问题: 在Composer的服务器上,我不确定发生了什么变化,以前的
curl
命令正在运行,但现在失败了
切换到
wget
可修复此问题。尝试使用verbose选项运行Composer命令-vvv
,以查看是否显示更多信息。@Peh使用-vvv时,它会停止在缓存中读取/home/vagrant/.cache/Composer/repo/https---packagist.org/provider guzzle$service.json