eggjs / eggjs/egg

[ClusterClient:Watcher] follower closed, and try to init it again

Open
#3,818 6 comments 0 reactions 1 assignee Claimed by @gxcsoccer View on GitHub
Inactive
Dominant language
TypeScript
Stars
19k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

## What happens?
新初始化的项目,没有添加任何代码,也没有没有任何操作,等待一会儿就会出现

## 复现步骤,错误日志以及相关配置
### 步骤
1、任意一个文件夹
2、cnpm init egg
3、选择:ts - Simple egg && typescript app boilerplat
……
n-1、yarn
n、yarn dev
### 日志
```
2019-07-14 14:08:15,437 ERROR 3167 nodejs.ClusterClientNoResponseError: client no response in 107404ms exceeding maxIdleTime 60000ms, maybe the connection is close on other side.
at Timeout.Leader._heartbeatTimer.setInterval [as _onTimeout] (/Users/xxx/Codes/f2e-full-stack/company/qtt/task-schedule/node_modules/cluster-client/lib/leader.js:77:23)
at listOnTimeout (timers.js:324:15)
at processTimers (timers.js:268:5)
name: "ClusterClientNoResponseError"
pid: 3167
hostname: xxx-Pro.local
```

## 相关环境信息
- **操作系统:macOS Mojave**:
- **Node 版本:v11.2.0**:
- **Egg 版本:2.22.2**:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.