OpenHarmony开发者论坛

标题: 发布三方库getaddrinfo ENOTFOUND ohpm.openharmony.cn如何解决 [打印本页]

作者: 润开鸿_坚果    时间: 3 天前
标题: 发布三方库getaddrinfo ENOTFOUND ohpm.openharmony.cn如何解决
[md]![image-20241102114012437](https://luckly007.oss-cn-beijing ... 241102114012437.png)

**ohpm WARN: The HAR package to be uploaded contains source code, which may cause code asset leakage. Please abort if you do not want to procceed.** **what is your passphrase of the private key: ****\*** **ohpm ERROR: Publish failed, detail: request to **[https://ohpm.openharmony.cn/ohpm/login](https://ohpm.openharmony.cn/ohpm/login) failed, reason: getaddrinfo ENOTFOUND ohpm.openharmony.cn

## 解决办法:

**通过管理员权限打开 IDE 就行了。 mac 电脑 sudo open /Applications/DevEco-Studio.app**
[/md]




欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/) Powered by Discuz! X3.5