Open OleksiiBrylin opened 4 years ago
Describe the bug When I run php please update from 2.11.12 to 2.11.18 I get error ErrorException: proc_open() Operation system is Windows 10 I didn't get the error when I am updating to v2.11.17
To Reproduce Steps to reproduce the behavior:
See error
Updating dependencies... [Exception] Couldn't install dependencies. [ErrorException] proc_open(): CreateProcess failed, error code - 87
[2020-01-30 19:01:25] production.ERROR: ErrorException: proc_open(): CreateProcess failed, error code - 87 in D:\projectName\statamic\vendor\symfony\process\Process.php:289 Stack trace: #0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'proc_open(): Cr...', 'D:\\projectName\\v...', 289, Array) #1 D:\projectName\statamic\vendor\symfony\process\Process.php(289): proc_open('cmd /V:ON /E:ON...', Array, Array, 'D:/projectName/v...', Array, Array) #2 D:\projectName\statamic\vendor\symfony\process\Process.php(200): Symfony\Component\Process\Process->start(NULL) #3 D:\projectName\statamic\core\Extend\Management\ComposerManager.php(100): Symfony\Component\Process\Process->run() #4 D:\projectName\statamic\core\Extend\Management\AddonManager.php(61): Statamic\Extend\Management\ComposerManager->update('rap2hpoutre/lar...') #5 D:\projectName\statamic\core\Updater\DependencyUpdater.php(49): Statamic\Extend\Management\AddonManager->updateDependencies() #6 D:\projectName\statamic\core\Updater\DependencyUpdater.php(30): Statamic\Updater\DependencyUpdater->runComposer() #7 D:\projectName\statamic\core\Updater\Updater.php(112): Statamic\Updater\DependencyUpdater->update() #8 D:\projectName\statamic\core\Console\Commands\Update\UpdateStatamicCommand.php(134): Statamic\Updater\Updater->updateDependencies() #9 D:\projectName\statamic\core\Console\Commands\Update\UpdateStatamicCommand.php(63): Statamic\Console\Commands\Update\UpdateStatamicCommand->updateDependencies() #10 [internal function]: Statamic\Console\Commands\Update\UpdateStatamicCommand->handle(Object(Statamic\Updater\Updater)) #11 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Container\Container.php(507): call_user_func_array(Array, Array) #12 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Console\Command.php(150): Illuminate\Container\Container->call(Array) #13 D:\projectName\statamic\vendor\symfony\console\Command\Command.php(263): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle)) #14 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Console\Command.php(136): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle)) #15 D:\projectName\statamic\core\Console\EnhancesCommands.php(21): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle)) #16 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Console\Command.php(166): Statamic\Console\Commands\AbstractCommand->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle)) #17 D:\projectName\statamic\core\Console\Commands\Update\UpdateCommand.php(30): Illuminate\Console\Command->call('update:statamic') #18 [internal function]: Statamic\Console\Commands\Update\UpdateCommand->fire() #19 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Container\Container.php(507): call_user_func_array(Array, Array) #20 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Console\Command.php(150): Illuminate\Container\Container->call(Array) #21 D:\projectName\statamic\vendor\symfony\console\Command\Command.php(263): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #22 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Console\Command.php(136): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #23 D:\projectName\statamic\vendor\symfony\console\Application.php(853): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #24 D:\projectName\statamic\vendor\symfony\console\Application.php(200): Symfony\Component\Console\Application->doRunCommand(Object(Statamic\Console\Commands\Update\UpdateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #25 D:\projectName\statamic\vendor\symfony\console\Application.php(124): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #26 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(107): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #27 D:\projectName\please(48): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #28 {main} Next Exception: Couldn't install dependencies. in D:\projectName\statamic\core\Updater\DependencyUpdater.php:51 Stack trace: #0 D:\projectName\statamic\core\Updater\DependencyUpdater.php(30): Statamic\Updater\DependencyUpdater->runComposer() #1 D:\projectName\statamic\core\Updater\Updater.php(112): Statamic\Updater\DependencyUpdater->update() #2 D:\projectName\statamic\core\Console\Commands\Update\UpdateStatamicCommand.php(134): Statamic\Updater\Updater->updateDependencies() #3 D:\projectName\statamic\core\Console\Commands\Update\UpdateStatamicCommand.php(63): Statamic\Console\Commands\Update\UpdateStatamicCommand->updateDependencies() #4 [internal function]: Statamic\Console\Commands\Update\UpdateStatamicCommand->handle(Object(Statamic\Updater\Updater)) #5 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Container\Container.php(507): call_user_func_array(Array, Array) #6 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Console\Command.php(150): Illuminate\Container\Container->call(Array) #7 D:\projectName\statamic\vendor\symfony\console\Command\Command.php(263): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle)) #8 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Console\Command.php(136): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle)) #9 D:\projectName\statamic\core\Console\EnhancesCommands.php(21): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle)) #10 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Console\Command.php(166): Statamic\Console\Commands\AbstractCommand->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle)) #11 D:\projectName\statamic\core\Console\Commands\Update\UpdateCommand.php(30): Illuminate\Console\Command->call('update:statamic') #12 [internal function]: Statamic\Console\Commands\Update\UpdateCommand->fire() #13 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Container\Container.php(507): call_user_func_array(Array, Array) #14 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Console\Command.php(150): Illuminate\Container\Container->call(Array) #15 D:\projectName\statamic\vendor\symfony\console\Command\Command.php(263): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Console\Command.php(136): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 D:\projectName\statamic\vendor\symfony\console\Application.php(853): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 D:\projectName\statamic\vendor\symfony\console\Application.php(200): Symfony\Component\Console\Application->doRunCommand(Object(Statamic\Console\Commands\Update\UpdateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 D:\projectName\statamic\vendor\symfony\console\Application.php(124): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #20 D:\projectName\statamic\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(107): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #21 D:\projectName\please(48): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #22 {main}
Describe the bug When I run php please update from 2.11.12 to 2.11.18 I get error ErrorException: proc_open() Operation system is Windows 10 I didn't get the error when I am updating to v2.11.17
To Reproduce Steps to reproduce the behavior:
See error
Environment details (please complete the following information):
Additional context