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

启动直接报错 #21

Closed
Jzh-thub opened this issue Apr 22, 2024 · 5 comments
Closed

启动直接报错 #21

Jzh-thub opened this issue Apr 22, 2024 · 5 comments

Comments

@Jzh-thub
Copy link

Jzh-thub commented Apr 22, 2024

PHP:8.1
workerman:4.1.14

@chaz6chez
Copy link
Member

请提供以下报错信息

@Jzh-thub
Copy link
Author

WX20240422-101044@2x

@chaz6chez
Copy link
Member

chaz6chez commented Apr 22, 2024

请提供一份可复现问题的最小样例,以及composer包的版本信息

@Jzh-thub
Copy link
Author

Jzh-thub commented Apr 22, 2024

我这边直接新创建webman后直接使用该插件,
使用./webman workbunny:rabbitmq-builder test --mode=queue 命令后启动就报错

bunny/bunny                      v0.5.5  Performant pure-PHP AMQP (RabbitMQ) sync/async (ReactPHP) library
doctrine/inflector               2.0.10  PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and sin...
monolog/monolog                  2.9.3   Sends your logs to files, sockets, inboxes, databases and various web services
nikic/fast-route                 v1.3.0  Fast request router for PHP
psr/container                    2.0.2   Common Container Interface (PHP FIG PSR-11)
psr/log                          3.0.0   Common interface for logging libraries
react/event-loop                 v1.5.0  ReactPHP's core reactor event loop that libraries can use for evented I/O.
react/promise                    v2.11.0 A lightweight implementation of CommonJS Promises/A for PHP
symfony/console                  v6.4.6  Eases the creation of beautiful and testable command line interfaces
symfony/deprecation-contracts    v3.4.0  A generic function and convention to trigger deprecation notices
symfony/polyfill-ctype           v1.29.0 Symfony polyfill for ctype functions
symfony/polyfill-intl-grapheme   v1.29.0 Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-normalizer v1.29.0 Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring        v1.29.0 Symfony polyfill for the Mbstring extension
symfony/service-contracts        v3.4.2  Generic abstractions related to writing services
symfony/string                   v6.4.4  Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way
webman/console                   v1.3.6  Webman console
workbunny/webman-rabbitmq        2.1.1   Webman plugin workbunny/webman-rabbitmq
workerman/rabbitmq               v1.0.8  Asynchronous rabbitmq client for PHP based on workerman.
workerman/webman-framework       v1.5.16 High performance HTTP Service Framework.
workerman/workerman              v4.1.15 An asynchronous event driven PHP framework for easily building fast, scalable network applications.

@chaz6chez
Copy link
Member

我使用最新包2.1.1,使用builder创建示例消费者,启动并无报错,请检查rabbitmq配置、消费者类

image
image
image

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

2 participants