4.1版本 创建新项目时 ohpm install 出错

bananaCaptain 显示全部楼层 发表于 2024-5-30 14:16:07

"\"C:\Program Files\Huawei\DevEco Studio\tools\ohpm\bin\ohpm.bat\"" install --all --registry https://ohpm.openharmony.cn/ohpm/ --strict_ssl true ohpm INFO: MetaDataFetcher fetching meta info of package '@ohos/hypium' from https://ohpm.openharmony.cn/ohpm/ ohpm INFO: MetaDataFetcher fetching meta info of package '@ohos/hamock' from https://ohpm.openharmony.cn/ohpm/ ohpm INFO: fetch meta info of package '@ohos/hypium' success https://ohpm.openharmony.cn/ohpm/@ohos/hypium ohpm INFO: fetch meta info of package '@ohos/hamock' success https://ohpm.openharmony.cn/ohpm/@ohos/hamock ohpm INFO: delete useless empty folder succeed: "D:\WorkSpace\DevEcoStudioProjects\TestMap\oh_modules\@ohos" ohpm ERROR: ELINK link D:\WorkSpace\DevEcoStudioProjects\TestMap\oh_modules\@ohos\hypium to D:\WorkSpace\DevEcoStudioProjects\TestMap\oh_modules.ohpm\@ohos+hypium@1.0.16\oh_modules\@ohos\hypium failed. error: Error while trying to symlink "D:\WorkSpace\DevEcoStudioProjects\TestMap\oh_modules.ohpm\@ohos+hypium@1.0.16\oh_modules\@ohos\hypium\" to "D:\WorkSpace\DevEcoStudioProjects\TestMap\oh_modules\@ohos\hypium". The error happened while trying to create the parent directory for the symlink target, details: The "D:\WorkSpace\DevEcoStudioProjects\TestMap\oh_modules\@ohos\hypium" is exist while symlink..

DevEco 4.1,ohpm 1.60,创建应用进入应用就报错了,知道什么原因不?感谢

您尚未登录,无法参与评论,登录后可以:
参与开源共建问题交流
认同或收藏高质量问答
获取积分成为开源共建先驱

精彩评论1

深开鸿_王石

沙发 发表于 2024-5-30 15:20:30
The error happened while trying to create the parent directory for the symlink target, details: The "D:\WorkSpace\DevEcoStudioProjects\TestMap\oh_modules@ohos\hypium" is exist while symlink,这个说法就是这个路径里有东西啊,建立软链接不对了,所以可以删掉看看

Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部