macos egg 一直报端口占用
Open
- 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
Assessment
This issue has not been assessed yet.