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

PHPX安装后再安装swoole_zookeeper 报错 #80

Open
MouseOrCat opened this issue Jan 2, 2024 · 0 comments
Open

PHPX安装后再安装swoole_zookeeper 报错 #80

MouseOrCat opened this issue Jan 2, 2024 · 0 comments

Comments

@MouseOrCat
Copy link

php版本是8.1的,我安装好了phpx 后在 ext-zookeeper下 执行 phpx build -v -d 命令后报错:
PHP Fatal error: Uncaught TypeError: Return value of "phpx\Command\Build::execute()" must be of the type int, "null" returned. in phar:///usr/local/bin/phpx/vendor/symfony/console/Command/Command.php:301
Stack trace:
#0 phar:///usr/local/bin/phpx/vendor/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run()
#1 phar:///usr/local/bin/phpx/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#2 phar:///usr/local/bin/phpx/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#3 phar:///usr/local/bin/phpx/console.php(17): Symfony\Component\Console\Application->run()
#4 /usr/local/bin/phpx(10): include('...')
#5 {main}
thrown in phar:///usr/local/bin/phpx/vendor/symfony/console/Command/Command.php on line 301

这个错误我真不知道该怎么解决了,我换成8.0的版本也不行,烦请大佬帮我看一下

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

No branches or pull requests

1 participant