Harmony创建项目ohpm报错

Harmony创建FA模型的项目时报如下错:

The registry is empty - edit .ohpmrc file or use "ohpm config set registry your_registry" command to set registry.

解决方法:
File -> Settings -> Build,Execution,Deployment -> Ohpm 配置ohpm仓库,地址如下:

https://repo.harmonyos.com/ohpm/

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/xiaopihair123/article/details/132281910