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

想请问一下项目中使用了 sequelize-cli 创建模型文件和迁移文件和直接在 model 文件夹中创建一个模型文件有没有区别? 我确定模型文件语法没有问题

Inactive

请问 ,使用egg封装了框架,业务继承框架,业务代码如何智能提示封装的框架中的实现,包括框架中集成的插件

Inactive

比如我想定义一个路由: router.js ``` 'use strict' /** * @param {Egg.Application} app - egg application */ module.exports = app => { const { router, controller } = app const sub = router.namespace('/api/userTest')...

Inactive

多对多关系,并不会自己生成中间表,需要自己手动创建。 为什么创建了多对多关系后,类型fooInstance.setBars()这种方法,不能使用的? ## 相关环境信息 - **操作系统**: win7 64 - **Node 版本**: 10.13.0 - **Egg 版本**:2.23.0

Inactive

默认的路由在注册几千个信息之后会达到 10ms 的耗时,需要提供一种更高性能的可选路由写法,让巨型应用的路由可以更快。 https://github.com/delvedor/find-my-way 是目前能够找到比较好的路由库,跟框架独立。

Inactive

通过Jenkins跑ci的时候,使用egg_mock跑ut,很大概率出现如下报错 2021-06-15 11:25:18,967 WARN 19291 [egg:core:ready_timeout] 10 seconds later /var/lib/jenkins/workspace/metis_pipeline/src/metis/server/node_modules/egg-watcher/lib/init.js:15:14 was still unable to finish. 2021-06-15 11:25:18,967 WARN 19291 [egg:core:ready_timeout] 10 seconds later /var/lib/jenkins/workspace/metis_pipeline/src/metis/server/node_modules/egg-mongoose/lib/mongoose.js:91:7 was still unable to finish. 2021-06-15...

Inactive

## Background I use egg-mysql. insert into table (column1, column2) values(value1, value2), (value3, value4), (value5, value6); I want to get insertId of all new inserted columns from the result. But...

Inactive

1、指定了 _id: false 返回的结果仍然有 _id 2、find 的数据如何合并到另外一个对象?(目前会有额外的底层属性出现,每个数据都使用 toJSON 不太优雅) ![image](https://user-images.githubusercontent.com/50655436/114564146-a57d0100-9ca2-11eb-8fb7-3f84dbb2f08f.png)

Inactive

current mysql service only support on travis.

tools: egg-ci
Inactive

## What happens? 多个服务注册到zookeeper, 经常会出现无法注册的错误 ``` 2021-02-10 05:56:16,545 ERROR 12601 nodejs.EADDRINUSEError: bind EADDRINUSE null:2505 at listenOnMasterHandle (net.js:1385:18) at rr (internal/cluster/child.js:138:12) at Worker. (internal/cluster/child.js:105:7) at process.onInternalMessage (internal/cluster/utils.js:48:5) at process.emit (events.js:327:22) at...

Inactive