Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue3 EMFILE: too many open files #527

Closed
yrj-essential opened this issue May 16, 2024 · 2 comments
Closed

vue3 EMFILE: too many open files #527

yrj-essential opened this issue May 16, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@yrj-essential
Copy link

碰到问题,请在 https://github.com/YunaiV/ruoyi-vue-pro/issues 搜索是否存在相似的 issue。

不按照模板提交的 issue,会被系统自动删除。

基本信息

  • ruoyi-vue-pro 版本:yudao-ui-admin-vue3, 版本:2.0.1-snapshot
  • 操作系统:windows

你猜测可能的原因

经自查,发现可能的原因是:一次导入的文件太多

复现步骤

第一步,npm run dev-server

报错信息

Error: EMFILE: too many open files
image

@YunaiV
Copy link
Owner

YunaiV commented May 17, 2024

这个应该是操作系统的限制,建议调大可打开的文件数

@YunaiV YunaiV self-assigned this May 17, 2024
@YunaiV YunaiV added the question Further information is requested label May 17, 2024
@YunaiV YunaiV closed this as completed May 17, 2024
@yrj-essential
Copy link
Author

经过搜索,没有找到Windows下调大阈值的方法呢?
参考《Vue3使用了Vite和UnoCSS导致前端项目启动报错:Error:EMFILE:too many open files》(https://blog.csdn.net/u013810234/article/details/135031472),配置uno.config.ts也不解决问题……
随机掉落这个问题,多试几次又能正常……大大,无法了,请帮忙看下呢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants