Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window install failed #253

Open
miaotiao opened this issue Jan 7, 2022 · 3 comments · May be fixed by #260
Open

window install failed #253

miaotiao opened this issue Jan 7, 2022 · 3 comments · May be fixed by #260

Comments

@miaotiao
Copy link

miaotiao commented Jan 7, 2022

PS C:\Users\mt\Downloads> php .\pickle.phar install redis
+---------------+---------------------------------------------------------------+
| php Path      | C:\Users\mt\soft\install\php-8.1.1-nts-Win32-vs16-x64\php.exe |
| php Version   | 8.1.1                                                         |
| Compiler      | vs16                                                          |
| Architecture  | x64                                                           |
| Thread safety | no                                                            |
| Extension dir | C:\Users\mt\soft\install\php-8.1.1-nts-Win32-vs16-x64\ext     |
| php.ini       | C:\Users\mt\soft\install\php-8.1.1-nts-Win32-vs16-x64\php.ini |
+---------------+---------------------------------------------------------------+
PHP Fatal error:  Uncaught Error: Call to undefined method Pickle\Package\PHP\Command\Install\Windows\Binary::setInput() in phar://C:/Users/mt/Downloads/pickle.phar/src/Console/Command/InstallerCommand.php:143
Stack trace:
#0 phar://C:/Users/mt/Downloads/pickle.phar/src/Console/Command/InstallerCommand.php(211): Pickle\Console\Command\InstallerCommand->binaryInstallWindows('redis', Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 phar://C:/Users/mt/Downloads/pickle.phar/vendor/symfony/console/Command/Command.php(298): Pickle\Console\Command\InstallerCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 phar://C:/Users/mt/Downloads/pickle.phar/vendor/symfony/console/Application.php(1005): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 phar://C:/Users/mt/Downloads/pickle.phar/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand(Object(Pickle\Console\Command\InstallerCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 phar://C:/Users/mt/Downloads/pickle.phar/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))#5 phar://C:/Users/mt/Downloads/pickle.phar/bin/pickle(38): Symfony\Component\Console\Application->run()
#6 C:\Users\mt\Downloads\pickle.phar(10): require('phar://C:/Users...')
#7 {main}
  thrown in phar://C:/Users/mt/Downloads/pickle.phar/src/Console/Command/InstallerCommand.php on line 143

Fatal error: Uncaught Error: Call to undefined method Pickle\Package\PHP\Command\Install\Windows\Binary::setInput() in phar://C:/Users/mt/Downloads/pickle.phar/src/Console/Command/InstallerCommand.php:143
Stack trace:
#0 phar://C:/Users/mt/Downloads/pickle.phar/src/Console/Command/InstallerCommand.php(211): Pickle\Console\Command\InstallerCommand->binaryInstallWindows('redis', Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 phar://C:/Users/mt/Downloads/pickle.phar/vendor/symfony/console/Command/Command.php(298): Pickle\Console\Command\InstallerCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 phar://C:/Users/mt/Downloads/pickle.phar/vendor/symfony/console/Application.php(1005): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 phar://C:/Users/mt/Downloads/pickle.phar/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand(Object(Pickle\Console\Command\InstallerCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 phar://C:/Users/mt/Downloads/pickle.phar/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))#5 phar://C:/Users/mt/Downloads/pickle.phar/bin/pickle(38): Symfony\Component\Console\Application->run()
#6 C:\Users\mt\Downloads\pickle.phar(10): require('phar://C:/Users...')
#7 {main}
  thrown in phar://C:/Users/mt/Downloads/pickle.phar/src/Console/Command/InstallerCommand.php on line 143
@MirazMac
Copy link

Facing the same issue

1 similar comment
@xiaoliwang
Copy link

Facing the same issue

@xiaoliwang
Copy link

PR: #260

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants