egg icon indicating copy to clipboard operation
egg copied to clipboard

🥚 Born to build better enterprise frameworks and apps with Node.js & Koa

Results 351 egg issues
Sort by recently updated
recently updated
newest added

以zookeeper 为主的服务端与客户端要同时引入.proto文件并创建proxy.js,是不是增加了协同开发的成本和维护的便利性? 假设现在有一个 gateway服务、a服务、b服务 这个三个服务,gateway服务要对外提供接口,那么就要融入a服务与b服务的.proto文件,不论a服务、b服务哪个服务增加接口,网关层都要跟随做修改,这样的强关联性并不利于维护与开发。 不知是我对egg-sofa-node的理解不深入还是就是我所描述的这样?如果是我描述的这样,是否有其他的解决方式?

Inactive

![image](https://user-images.githubusercontent.com/50655436/124376512-e7ce4100-dcd9-11eb-8c01-cd3f4c483779.png) ![image](https://user-images.githubusercontent.com/50655436/124376523-f0267c00-dcd9-11eb-8565-955ad3810ea5.png) ![image](https://user-images.githubusercontent.com/50655436/124376556-1b10d000-dcda-11eb-97ad-7cbc343e8fb0.png)

Inactive

## What happens? I have too many error like the following ``` 2021-06-06 00:00:01,044 ERROR 2641 nodejs.Error: [egg-logrotator] rename /home/user/logs/app-web.log, found exception: targetFile /home/user/logs/app-web.log.2021-06-05 exists!!! at renameOrDelete (/home/user/app/node_modules/egg-logrotator/app/lib/rotator.js:63:17) at async...

Inactive

There are many old version dependencies in egg ecosystem, Please update all dependencies # In a fresh egg ``` yarn install v1.22.10 info No lockfile found. [1/5] Validating package.json... [2/5]...

Inactive

线上系统为centos7.2 本地开发为windows10; 本地开发在config.prod.js设置maxage后通过npm start启动项目后maxage正常得到修改; 而在线上在config.prod.js设置 停掉在npm start启动仍然是一年,静态资源这些没有使用egg-view-assets 这个 小项目 想着怎么简单怎么来 奇怪的是在线上无论如何设置都不生效

need-more-information
Inactive

```js 2021-05-03 12:20:25,588 ERROR 49 [-/172.18.0.1/ac1200021620015625547100049/41ms POST /api/order/v1/book/create] nodejs.RpcRequestEncodeError: Cannot read property 'lookupService' of undefined at Object.exports.getMethodInfo (/home/moogrid/server/order/node_modules/sofa-bolt-node/lib/utils.js:40:27) at Object.exports.encode (/home/moogrid/server/order/node_modules/sofa-bolt-node/lib/codec/protobuf/request.js:6:28) at Object.exports.encode (/home/moogrid/server/order/node_modules/sofa-bolt-node/lib/codec/protobuf/index.js:11:23) at RpcRequestCommand.serializeContent (/home/moogrid/server/order/node_modules/sofa-bolt-node/lib/protocol/rpc_req_cmd.js:40:11) at Object.exports.encode (/home/moogrid/server/order/node_modules/sofa-bolt-node/lib/protocol/v1.js:80:7)...

Inactive

错误日志如下:`2021-04-23 00:20:41,829 INFO 24700 [master] app_worker#76:38800 disconnect, suicide: true, state: disconnected, current workers: ["77"] 2021-04-23 00:20:41,830 WARN 22996 [ClusterClient:Connection] socket is closed by other side while there were still unhandled...

Inactive

## What happens? 排查应用内存泄漏的时候发现堆快照中出现很多形如 `first in "_zyxw..."`的字符串. 不确定是不是bug ![ttt](https://user-images.githubusercontent.com/2340296/113713312-c204c080-9719-11eb-9da1-bf3ce1ab1bba.png) ## 最小可复现仓库 没有在代码中直接引用egg-security(应该是egg自己内部引用的), 所以不知道如何复现 ## 相关环境信息 - **操作系统**:Cent OS 7 - **Node 版本**:alinode v3.16.0 - **Egg 版本**:2.29.3

Inactive

请问我在configWillLoad方法里修改了kafka的groupId以后,日志打印是修改成功了,但不知道为什么最后还是连接的原groupId,求解 ![image](https://user-images.githubusercontent.com/44078084/113377724-b6c33500-93a7-11eb-8c2e-d961ff66eb23.png) ![image](https://user-images.githubusercontent.com/44078084/113377759-cb073200-93a7-11eb-8de8-73f95cda48ee.png) ![image](https://user-images.githubusercontent.com/44078084/113377771-dc503e80-93a7-11eb-9bfc-6784b1e8cdb7.png)

Inactive

Node Version:v14.16.0 Egg Version:v2.29.3 Plugin Name: "egg-mongoose": "^3.3.1", Plugin Version: Platform: Mac os 在app/schedule下新建task.js文件,保存后只会执行一次,无法多次执行。 代码如下: ```js const Subscription = require('egg').Subscription; class Task extends Subscription { static get schedule() { return...

Inactive