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

I am using https://www.npmjs.com/package/ws , I want to use eggjs as external-http-server https://www.npmjs.com/package/ws#external-https-server 1- Is `app.js` file good choice to create ws server? 2- How can I correctly config clustering?

Inactive

## 背景 项目中需要用到ejs3中的语法(如:),但当前egg-view-ejs中的ejs并不支持。 ## 建议 希望egg-view-ejs中依赖的ejs版本能升级到V3

Inactive

## What happens? egg-mysql ts 类型缺少,比如缺少 count 函数。get 函数类型错误 ## 最小可复现仓库 > 请使用 `npm init egg --type=simple bug` 创建,并上传到你的 GitHub 仓库 ## 复现步骤,错误日志以及相关配置 ## 相关环境信息 - **操作系统**: - **Node 版本**:...

Inactive

## What happens? A clear and concise description of what the bug is. ## Mini Showcase Repository(REQUIRED) > Provide a mini GitHub repository which can reproduce the issue. > Use...

Inactive

Is the following steps enough to Dockerizing egg.js application? #### Removing `--daemon` in the start script in the `package.json` ```json "scripts": { "start": "egg-scripts start --title=egg-server-app", }, ``` #### Using...

Inactive

In [documentation ](https://eggjs.org/en/core/i18n.html#use-in-view) we have ```html {{ __('Email') }}: {{ user.email }} {{ __('Welcome back, %s!', user.name) }} {{ __('Hello {0}! My name is {1}.', ['foo', 'bar']) }} ``` I...

plugin: egg-i18n
plugin: egg-view-nunjucks
Question
Inactive

## What happens? 开发环境下 周期性出现 2021-10-13 11:10:06,436 ERROR 11484 [egg-redis] client error: Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20) { errno: -4077, code: 'ECONNRESET', syscall: 'read' } 2021-10-13 11:10:06,439 ERROR 11484...

Inactive

## What happens? 该案例 umi 版本过低,且 example 没有提 issue 的地方 ## Mini Showcase Repository(REQUIRED) https://github.com/eggjs/examples/tree/master/assets-with-umi ## How To Reproduce ## Context - **Node Version**: v14.16.1 - **Egg Version**: 2.30 -...

Inactive

## Background 我司基于 egg 开发了一个框架(简称 A),并作为 npm 包发布在内网 其它项目依赖此框架进行开发时,如果想把框架的 .ts 源码打包进 npm 包、方便调试,那么`egg-bin dev --ts`时,egg-core 会尝试加载 `node_modules/A/app/service/*.ts` ,然后因为 .ts 的语法而报错。 解决办法很简单,可以在框架 A 中对 FileLoader 增加过滤,将绝对路径含 `node_modules` 的 .ts 文件过滤掉即可。 ~~我看了...

deps: egg-core
Inactive

## Background 初次使用 egg.js ,我用的ts版本,光荣入坑egg-mysql,我看官网和github上面都没有明确的 .d.ts支持,参考百度上别人整理的,封了一个分享出来,希望作者补充到egg-mysql的文档中,尽量让后来者少踩坑。 ## Proposal 1. 使用 egg-mysql 时,引入.d.ts支持 `yarn add egg-mysql-typescript-lib` 2. 项目地址:(github)[https://github.com/a951055/egg-mysql-typescript-lib]

Inactive