Closed RuizhaoLee closed 4 years ago
Describe the bug 在2.0.9中只使用RPC服务,不加在其他多余composer依赖时:
无法启动。报错内容如下:
需要加上 "swoft/http-server": "~2.0.0" 依赖才能正常启动
@RuizhaoLee 应该是 devtool 里面使用了http中间件。
你可以将 devtool, http-server 都移到 require-dev 里面,正式环境就不安装dev的包。
require-dev
Describe the bug 在2.0.9中只使用RPC服务,不加在其他多余composer依赖时:
无法启动。报错内容如下:
需要加上 "swoft/http-server": "~2.0.0" 依赖才能正常启动