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

根据文档的说明 https://www.eggjs.org/zh-CN/core/cluster-and-ipc#agent-%E6%9C%BA%E5%88%B6 写一个agent.js // agent.js module.exports = agent => { // 在这里写你的初始化逻辑 // 也可以通过 messenger 对象发送消息给 App Worker // 但需要等待 App Worker 启动成功后才能发送,不然很可能丢失 agent.messenger.on('egg-ready', () => { agent.messenger.sendToApp('xxx_action', '232r'); });...

### 请详细告知你的新解决思路(Your new RFCs): https://www.yuque.com/atian25/blog/artus-cli 全新的 ts 开发体验。 ### 跟进类型(Follow-up Types): - [x] egg-bin https://github.com/eggjs/egg-bin/pull/217 - [ ] egg-script

tools: egg-bin

### Your detail info about the Bug: 线上服务接口几率性返回502,一天几次;发现agent进程内存异常高; 观察了内存升高的时间节点,找到如下错误 ``` 2023-01-17 04:56:01,271 ERROR 88 nodejs.unhandledExceptionError: Cannot create a string longer than 0x1fffffe8 characters at Buffer.utf8Slice () at Buffer.toString (buffer.js:778:17) at...

### Your detail info about the Bug: 1. 我在egg的ts版本中,开发模式下,通过引入另外编译好的js库,出现module not found的问题,因为应用源的js库那边没有对应的node_module包,而我希望运行引用的js时候直接能够使用本egg项目下的node_mudule中的相关依赖。不知道有什么配置可以实现. 2. 报错信息 Error [MODULE_NOT_FOUNDError]: [egg-core] load file: C:\xx\s-ops\sBack\app.ts, error: Cannot find module 'protobufjs/minimal' Require stack: - C:\xx\s-common\design\dist_china\js\msg_pb_generator.js - C:\xx\s-common\design\dist_china\js\init.js...

### Your detail info about the Bug: 当通过start启动一个egg服务,stop之后会留下一个node进程。 ### Reproduction Repo https://github.com/no_rep ### Node Version 14.18.3 ### Eggjs Version 3 ### Plugin Name and its version "egg-cors": "^2.2.3", "egg-scripts": "^2",...

### 在此输入你需要反馈的 Bug 具体信息(Bug in Detail): https://github.com/eggjs/egg-development/blob/master/agent.js#L28 ### 可复现问题的仓库地址(Reproduction Repo) https://github.com/cnpm/cnpmcore 运行 npm run dev 后,代码更新后不会自动重启进程 ### Node 版本号: 16 ### Eggjs 版本号: 3 ### 相关插件名称与版本号(PlugIn and Name): egg-development latest...

type: bug

### 在此输入你需要反馈的 Bug 具体信息(Bug in Detail): egg-i18n 默认英文不生效 ### 可复现问题的仓库地址(Reproduction Repo) https://github.com/Charl0tter/i18n-bug.git ### Node 版本号: 16.19.0 ### Eggjs 版本号: ^3 ### 相关插件名称与版本号(PlugIn and Name): egg-i18n:^2.1.1 ### 操作平台与版本号(Platform and Version): windows...

### 请详细告知你的新解决思路(Your new RFCs): debug 模块我们一直在使用,过去几年有过多次的 major 版本更新,在 v2 v3 v4 之间都有混用。 随着 node util 的 debuglog 已经比较稳定和完善,计划在接下来逐步将 debug 使用 util.debuglog 代替。 ```js const debug = require('util').debuglog('egg:{moduleName}:{featureName}'); ``` ### 跟进类型(Follow-up...

deps: egg-logger

### 请详细告知你的新解决思路(Your new RFCs): https://github.com/microsoft/vscode/blob/4acf2d9b46b75748ae687cf3b2952a0799679873/extensions/typescript-language-features/package.json#L87 通过 json schema 可以实现 json 配置的提示体验,并且还能减少 js ts 代码负担。 ### 跟进类型(Follow-up Types): - [ ] 这是某个任务 - [ ] 这是一个具体的 PR 的地址(URL)

## What happens? egg 间接依赖netmask 1.0.6版本有高危漏洞,请安排尽快升级。 egg->urllib->...->netmask ## 最小可复现仓库 > 请使用 `npm init egg --type=simple bug` 创建,并上传到你的 GitHub 仓库 ## 复现步骤,错误日志以及相关配置 ## 相关环境信息 - **操作系统**:linux - **Node 版本**:14 - **Egg...

Inactive