HarmonyOS 鸿蒙Next api12 下载好了后,运行编译报错

发布于 1周前 作者 zlyuanteng 来自 鸿蒙OS

HarmonyOS 鸿蒙Next api12 下载好了后,运行编译报错

cke_161.png

> hvigor ERROR: EMFILE: too many open files, open ‘/Users/000876/DevEcoStudioProjects/MyApplication8/entry/oh-package.json5’

> hvigor ERROR: BUILD FAILED in 4 s 687 ms 

> hvigor ERROR: Error: EMFILE: too many open files, open ‘/Users/000876/DevEcoStudioProjects/MyApplication8/hvigor/hvigor-config.json5’

    at Object.openSync (node:fs:596:3)

    at Object.readFileSync (node:fs:464:35)

    at parseJsonFile (/Applications/DevEco-Studio.app/Contents/tools/hvigor/hvigor/src/common/util/parse-json/parse-json-util.js:1:708)

    at new HvigorConfigLoader (/Applications/DevEco-Studio.app/Contents/tools/hvigor/hvigor/src/common/util/hvigor-config-loader.js:1:870)

    at HvigorConfigLoader.getInstance (/Applications/DevEco-Studio.app/Contents/tools/hvigor/hvigor/src/common/util/hvigor-config-loader.js:1:2512)

    at PathUtil.getHvigorCacheDir (/Applications/DevEco-Studio.app/Contents/tools/hvigor/hvigor/src/common/util/path-util.js:1:1000)

    at traceEnd (/Applications/DevEco-Studio.app/Contents/tools/hvigor/hvigor/src/base/internal/lifecycle/hvigor-process.js:1:7596)

    at wrapUpBeforeExit (/Applications/DevEco-Studio.app/Contents/tools/hvigor/hvigor/src/base/internal/lifecycle/hvigor-process.js:1:8532)

    at /Applications/DevEco-Studio.app/Contents/tools/hvigor/hvigor/src/base/internal/lifecycle/hvigor-process.js:1:4845

    at async HvigorBuildProcess.<anonymous> (/Applications/DevEco-Studio.app/Contents/tools/hvigor/hvigor/src/base/internal/lifecycle/hvigor-process.js:1:3088)

cke_467.png



关于HarmonyOS 鸿蒙Next api12 下载好了后,运行编译报错的问题,您也可以访问:https://www.itying.com/category-93-b0.html 联系官网客服。

1 回复

有要学HarmonyOS AI的同学吗,联系我:https://www.itying.com/goods-1206.html

回到顶部