从api11升级到12后,点击编译按钮后提示
ERROR: EMFILE: too many open files
错误提示:
> hvigor ERROR: Failed :login:default@CompileArkTS...
> hvigor ERROR: EMFILE: too many open files, open '/Applications/DevEco-Studio 2.app/Contents/tools/hvigor/hvigor-ohos-plugin/node_modules/istanbul-lib-report/lib/xml-writer.js'
> hvigor ERROR: BUILD FAILED in 3 s 454 ms
可以参考:https://blog.csdn.net/zhangkaiadl/article/details/108145426
根据自己实际情况填充数字: