swoft-cloud / swoft

🚀 PHP Microservice Full Coroutine Framework
https://swoft.org
Apache License 2.0
5.58k stars 786 forks source link

swoft rpc启动报错 #1419

Closed cwp6 closed 3 years ago

cwp6 commented 3 years ago
Q A
Bug report? yes/no
Feature request? yes/no
Swoft version x.y.z (by php bin/swoft -V)
Swoole version x.y.z (by php --ri swoole)
PHP version x.y.z (by php -v)
Runtime environment Win10/Mac/CentOS 7/Ubuntu/Docker etc.

Describe the bug A clear and concise description of what the bug is.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Details

Describe what you are trying to achieve and what goes wrong.

// paste output here

rpc启动报错

Provide minimal script to reproduce the issue

// paste code

QQ图片20210406225115

XuanYi2018 commented 3 years ago

您好,①您没有设置.env配置文件 ②报错提示您可能配置了 task_worker,但是没有实现 swoole task 事件回调。

cwp6 commented 3 years ago

谢谢