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

### 在此输入你需要反馈的 Bug 具体信息(Bug in Detail): ![image](https://github.com/eggjs/egg/assets/30335245/ca7ddf8e-7d33-4446-8a14-599e406c5269) 如上图所示我拓展了debug的调试 希望debug的时候可以使用我的测试环境配置 但是热重载失效了 ### 可复现问题的仓库地址(Reproduction Repo) ceshi ### Node 版本号: 14.20.1 ### Eggjs 版本号: 3 ### 相关插件名称与版本号(PlugIn and Name): egg-bin ### 操作平台与版本号(Platform and...

## What happens? 仿照官方demo,但是报错 ## Mini Showcase Repository(REQUIRED) ```javascript const NewModel = app.model.define("new", { id: { type: INTEGER, primaryKey: true, autoIncrement: true }, name: STRING(24), sort: INTEGER(), des: TEXT(), main_img:...

Inactive

### 在此输入你需要反馈的 Bug 具体信息(Bug in Detail): 执行 npm init egg --type=simple 控制台报错 ![image](https://user-images.githubusercontent.com/75406119/212466132-34849f73-e63b-47f1-b0cf-27f760889a31.png) ### 可复现问题的仓库地址(Reproduction Repo) ![image](https://user-images.githubusercontent.com/75406119/212466113-a4f59733-803e-44f1-9cc6-f901873db7b2.png) ### Node 版本号: v18.13.0 ### Eggjs 版本号: 3.10 ### 相关插件名称与版本号(PlugIn and Name): 3.11...

### Your detail info about the Bug: "egg-redis": "^2.4.0", "egg": "^2.5.0" 本地搭建的的redis集群测试(集群状态正常) ![image](https://user-images.githubusercontent.com/65337490/230266810-f0f581c2-ebf6-45d3-83ed-de30ac80be67.png) 用127.0.0.1是正常连接的,切换成内外ip就无法连接了 配置 ![image](https://user-images.githubusercontent.com/65337490/230266152-65bc27ee-ad3b-4974-89e5-4f40f1fc1123.png) 报错信息 ![image](https://user-images.githubusercontent.com/65337490/230266273-fc3fb0f3-ef38-4359-b29d-055e3f415be7.png) ### Reproduction Repo * ### Node Version 8.12.0 ### Eggjs Version 2.5.0...

非常喜欢eggjs, 近期尝试做一些小项目跑着玩,运行在IISNode中, 使用IIS Node 运行express 是可以,但尝试使用egg js 时碰到一些问题, 如下: DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `node...

### 请详细告知你的新点子(Nice Ideas): 现状: 在配置文件中以symbol作为属性自定义配置值后,通过app.config访问会丢失这些配置值。 期望实现: 在配置文件中,能够以symbol作为属性,做一些自定义的配置。(看了一圈issue好像没有人提到过 理由: 目前我使用的业务框架继承自egg,内部集成了很多插件和相关的配置。在写业务的时候担心写自定义配置时,因使用了重复的属性名导致配置冲突所以考虑使用symbol作为属性。 能够做些什么: 配置的合并使用了extend2模块进行深度拷贝,看了下源码没有对symbol值做拷贝处理所以导致symbol丢失。我自己参考lodash的深拷贝方法在extend2模块上添加了symbol值的拷贝处理后实现了这个功能。想问下大佬这里是否可以给extend2模块提个pr然后让egg更新依赖版本支持上这个功能。

> TracingChannel adds a new, high-performance channel to publish tracing data about the timing and purpose of function executions. https://github.com/nodejs/node/pull/44943

### 在此输入你需要反馈的 Bug 具体信息(Bug in Detail): egg的架构用起来很方便,但是有些需求想用egg来做,但是又不是web应用,比如监听kafka数据写入到数据库,读取数据库处理数据等,请问有什么方式可以实现?还是说目前不支持非web方式应用此框架? ### 可复现问题的仓库地址(Reproduction Repo) 暂无 ### Node 版本号: 16.17.2 ### Eggjs 版本号: 3 ### 相关插件名称与版本号(PlugIn and Name): egg-mysql ### 操作平台与版本号(Platform and Version): mac os

### 请详细告知你的新解决思路(Your new RFCs): https://github.com/eggjs/eslint-config-egg/pull/67 ### 跟进类型(Follow-up Types): - [ ] 这是某个任务 - [ ] 这是一个具体的 PR 的地址(URL)

### 请详细告知你的新点子(Nice Ideas): egg-sequelize 如何实现动态更新数据库连接字符串