eggjs / eggjs/egg

macos egg 一直报端口占用

Open
#5,157 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
19k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

### 在此输入你需要反馈的 Bug 具体信息(Bug in Detail):

使用npm init egg --type=simple创建基本项目,cnpm i安装依赖,npm run dev启动但是。
2023-03-16 11:40:15,602 ERROR 11107 nodejs.Error: create "Watcher" leader failed, the port:57357 is occupied by other
一直回报错,不断重试,这个端口会变化,但是还是报错。大概重试十几二十次随机到一个可用端口就能启动成功。
macos版本 13.2.1,电脑是m2 max芯片,node 版本 v18.14.0。

### 可复现问题的仓库地址(Reproduction Repo)

[归档.zip](https://github.com/eggjs/egg/files/10986862/default.zip)

### Node 版本号:

v18.14.0

### Eggjs 版本号:

^3

### 相关插件名称与版本号(PlugIn and Name):

### 操作平台与版本号(Platform and Version):

Macos 13.2.1

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.