PHP - Errores al momento de ejecutar composer install cuando estoy instalando zendskeletonapplication

   
Vista:

Errores al momento de ejecutar composer install cuando estoy instalando zendskeletonapplication

Publicado por Andrés (2 intervenciones) el 13/05/2015 19:26:51
Buenas tardes a todos .


He intentado configurar varias veces zendframework definiendo de manera inicial zendskeletonapplication

ejecuto desde la carpeta donde se encuentra composer.phar y composer.json los comandos correspondientes:

composer self-update
composer install -vvv (para poder ver el progreso de la instalación conforme se realiza).

Pero en el punto del composer install al momento de la tercera línea donde dice downloading siempre me genera una excepción por diversas cosas.

agrego el código generado en la consola para mayor referencia, de entrada les comento que lo estoy haciendo desde un windows 8.1 , utilicé además xampp


Desde acá inician los códigos que tomé de la consola después de varios intentos.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
Loading config file ./composer.json
Executing command (CWD): git describe --exact-match --tags
Executing command (CWD): git branch --no-color --no-abbrev -v
Executing command (CWD): hg branch
Executing command (CWD): svn info --xml
Failed to initialize global composer: Composer could not find the config file: C
:/Users/Andres/AppData/Roaming/Composer/composer.json
To initialize a project, please create a composer.json file as described in the
https://getcomposer.org/ "Getting Started" section
Loading composer repositories with package information
Downloading https://packagist.org/packages.json
Writing C:/Users/Andres/AppData/Local/Composer/repo/https---packagist.org/packag
es.json into cache
Installing dependencies (including require-dev)
Reading C:/Users/Andres/AppData/Local/Composer/repo/https---packagist.org/p-prov
ider-2013.json from cache
Reading C:/Users/Andres/AppData/Local/Composer/repo/https---packagist.org/p-prov
ider-2014-07.json from cache
Reading C:/Users/Andres/AppData/Local/Composer/repo/https---packagist.org/p-prov
ider-2014-10.json from cache
Reading C:/Users/Andres/AppData/Local/Composer/repo/https---packagist.org/p-prov
ider-2015-01.json from cache
Downloading https://packagist.org/p/provider-2015-04$ed2a5c4023b813723126c115ba0
dd32ed0a55bab29d31d07484304242cd4b05c.json
Downloading https://packagist.org/p/provider-2015-04$ed2a5c4023b813723126c115ba0
dd32ed0a55bab29d31d07484304242cd4b05c.json
Downloading https://packagist.org/p/provider-2015-04$ed2a5c4023b813723126c115ba0
dd32ed0a55bab29d31d07484304242cd4b05c.json
 
 
 
  [ErrorException]
  zlib_decode(): data error
 
 
 
Exception trace:
 () at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Util/R
emoteFilesystem.php:218
 Composer\Util\ErrorHandler::handle() at n/a:n/a
 zlib_decode() at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Comp
oser/Util/RemoteFilesystem.php:218
 Composer\Util\RemoteFilesystem->get() at phar://C:/ProgramData/ComposerSetup/bi
n/composer.phar/src/Composer/Util/RemoteFilesystem.php:83
 Composer\Util\RemoteFilesystem->getContents() at phar://C:/ProgramData/Composer
Setup/bin/composer.phar/src/Composer/Repository/ComposerRepository.php:587
 Composer\Repository\ComposerRepository->fetchFile() at phar://C:/ProgramData/Co
mposerSetup/bin/composer.phar/src/Composer/Repository/ComposerRepository.php:494
 
 Composer\Repository\ComposerRepository->loadProviderListings() at phar://C:/Pro
gramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ComposerReposit
ory.php:265
 Composer\Repository\ComposerRepository->whatProvides() at phar://C:/ProgramData
/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Pool.php:191
 Composer\DependencyResolver\Pool->computeWhatProvides() at phar://C:/ProgramDat
a/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Pool.php:180
 Composer\DependencyResolver\Pool->whatProvides() at phar://C:/ProgramData/Compo
serSetup/bin/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php:
168
 Composer\DependencyResolver\RuleSetGenerator->whitelistFromPackage() at phar://
C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/R
uleSetGenerator.php:322
 Composer\DependencyResolver\RuleSetGenerator->getRulesFor() at phar://C:/Progra
mData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Solver.php
:172
 Composer\DependencyResolver\Solver->solve() at phar://C:/ProgramData/ComposerSe
tup/bin/composer.phar/src/Composer/Installer.php:505
 Composer\Installer->doInstall() at phar://C:/ProgramData/ComposerSetup/bin/comp
oser.phar/src/Composer/Installer.php:230
 Composer\Installer->run() at phar://C:/ProgramData/ComposerSetup/bin/composer.p
har/src/Composer/Command/InstallCommand.php:131
 Composer\Command\InstallCommand->execute() at phar://C:/ProgramData/ComposerSet
up/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Command/Co
mmand.php:257
 Symfony\Component\Console\Command\Command->run() at phar://C:/ProgramData/Compo
serSetup/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Appl
ication.php:874
 Symfony\Component\Console\Application->doRunCommand() at phar://C:/ProgramData/
ComposerSetup/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console
/Application.php:195
 Symfony\Component\Console\Application->doRun() at phar://C:/ProgramData/Compose
rSetup/bin/composer.phar/src/Composer/Console/Application.php:146
 Composer\Console\Application->doRun() at phar://C:/ProgramData/ComposerSetup/bi
n/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php
:126
 Symfony\Component\Console\Application->run() at phar://C:/ProgramData/ComposerS
etup/bin/composer.phar/src/Composer/Console/Application.php:83
 Composer\Console\Application->run() at phar://C:/ProgramData/ComposerSetup/bin/
composer.phar/bin/composer:43
 require() at C:\ProgramData\ComposerSetup\bin\composer.phar:25
 
 
  [LogicException]
  Composer repositories that have providers can not load the complete list of
   packages, use getProviderNames instead.
 
 
 
Exception trace:
 () at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Reposi
tory/ComposerRepository.php:160
 Composer\Repository\ComposerRepository->getPackages() at phar://C:/ProgramData/
ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Pool.php:104
 Composer\DependencyResolver\Pool->addRepository() at phar://C:/ProgramData/Comp
oserSetup/bin/composer.phar/src/Composer/Installer.php:395
 Composer\Installer->doInstall() at phar://C:/ProgramData/ComposerSetup/bin/comp
oser.phar/src/Composer/Installer.php:230
 Composer\Installer->run() at phar://C:/ProgramData/ComposerSetup/bin/composer.p
har/src/Composer/Command/InstallCommand.php:131
 Composer\Command\InstallCommand->execute() at phar://C:/ProgramData/ComposerSet
up/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Command/Co
mmand.php:257
 Symfony\Component\Console\Command\Command->run() at phar://C:/ProgramData/Compo
serSetup/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Appl
ication.php:874
 Symfony\Component\Console\Application->doRunCommand() at phar://C:/ProgramData/
ComposerSetup/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console
/Application.php:195
 Symfony\Component\Console\Application->doRun() at phar://C:/ProgramData/Compose
rSetup/bin/composer.phar/src/Composer/Console/Application.php:146
 Composer\Console\Application->doRun() at phar://C:/ProgramData/ComposerSetup/bi
n/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php
:126
 Symfony\Component\Console\Application->run() at phar://C:/ProgramData/ComposerS
etup/bin/composer.phar/src/Composer/Console/Application.php:83
 Composer\Console\Application->run() at phar://C:/ProgramData/ComposerSetup/bin/
composer.phar/bin/composer:43
 require() at C:\ProgramData\ComposerSetup\bin\composer.phar:25
 
 
 
  [Composer\Downloader\TransportException]
  The "https://packagist.org/p/provider-2015-04$f936942d89a75fbd108d7b59156c6
  ed671f3c80627e6201009c69ffea603a0fe.json" file could not be downloaded: SSL
  : Se ha forzado la interrupci?n de una conexi?n existente por el host remot
  o.
  failed to open stream: HTTP request failed!



Exception trace:
 () at phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Util/R
emoteFilesystem.php:267
 Composer\Util\RemoteFilesystem->get() at phar://C:/ProgramData/ComposerSetup/bi
n/composer.phar/src/Composer/Util/RemoteFilesystem.php:83
 Composer\Util\RemoteFilesystem->getContents() at phar://C:/ProgramData/Composer
Setup/bin/composer.phar/src/Composer/Repository/ComposerRepository.php:587
 Composer\Repository\ComposerRepository->fetchFile() at phar://C:/ProgramData/Co
mposerSetup/bin/composer.phar/src/Composer/Repository/ComposerRepository.php:494

 Composer\Repository\ComposerRepository->loadProviderListings() at phar://C:/Pro
gramData/ComposerSetup/bin/composer.phar/src/Composer/Repository/ComposerReposit
ory.php:265
 Composer\Repository\ComposerRepository->whatProvides() at phar://C:/ProgramData
/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Pool.php:191
 Composer\DependencyResolver\Pool->computeWhatProvides() at phar://C:/ProgramDat
a/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Pool.php:180
 Composer\DependencyResolver\Pool->whatProvides() at phar://C:/ProgramData/Compo
serSetup/bin/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php:
168
 Composer\DependencyResolver\RuleSetGenerator->whitelistFromPackage() at phar://
C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/R
uleSetGenerator.php:322
 Composer\DependencyResolver\RuleSetGenerator->getRulesFor() at phar://C:/Progra
mData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/Solver.php
:172
 Composer\DependencyResolver\Solver->solve() at phar://C:/ProgramData/ComposerSe
tup/bin/composer.phar/src/Composer/Installer.php:505
 Composer\Installer->doInstall() at phar://C:/ProgramData/ComposerSetup/bin/comp
oser.phar/src/Composer/Installer.php:230
 Composer\Installer->run() at phar://C:/ProgramData/ComposerSetup/bin/composer.p
har/src/Composer/Command/InstallCommand.php:131
 Composer\Command\InstallCommand->execute() at phar://C:/ProgramData/ComposerSet
up/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Command/Co
mmand.php:257
 Symfony\Component\Console\Command\Command->run() at phar://C:/ProgramData/Compo
serSetup/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console/Appl
ication.php:874
 Symfony\Component\Console\Application->doRunCommand() at phar://C:/ProgramData/
ComposerSetup/bin/composer.phar/vendor/symfony/console/Symfony/Component/Console
/Application.php:195
 Symfony\Component\Console\Application->doRun() at phar://C:/ProgramData/Compose
rSetup/bin/composer.phar/src/Composer/Console/Application.php:146
 Composer\Console\Application->doRun() at phar://C:/ProgramData/ComposerSetup/bi
n/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php
:126
 Symfony\Component\Console\Application->run() at phar://C:/ProgramData/ComposerS
etup/bin/composer.phar/src/Composer/Console/Application.php:83
 Composer\Console\Application->run() at phar://C:/ProgramData/ComposerSetup/bin/
composer.phar/bin/composer:43
 require() at C:\ProgramData\ComposerSetup\bin\composer.phar:25


saludos
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
Imágen de perfil de Roberto Iran

Errores al momento de ejecutar composer install cuando estoy instalando zendskeletonapplication

Publicado por Roberto Iran (50 intervenciones) el 14/05/2015 03:36:56
Tienes instalado composer de forma global?
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

Errores al momento de ejecutar composer install cuando estoy instalando zendskeletonapplication

Publicado por Andrés Martínez (2 intervenciones) el 17/06/2015 22:40:41
Hola Roberto, te comento que ya he solucionado el problema, y te puedo comentar por si a alguien más le aparece este tipo de error.

Honestamente yo no tengo acceso a la configuración del proxy que tiene el lugar donde trabajo, pero creo que tiene demasiadas restricciones, por lo que en un cierto momento el proxy bloqueaba ciertas direcciones que utilizaba el instalador, por lo que lo soluciones ejecutando el proceso en una red externa a la de mi trabajo y todo funcionó correctamente, tal y como marcan los pasos que circulan en internet.

agradezco tu tiempo, y saludos...
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar