Harmony creates project ohpm report error

Harmony reports the following error when creating an FA model project:

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

Solution:
File -> Settings -> Build, Execution, Deployment -> Ohpm Configure the ohpm warehouse, the address is as follows:

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

insert image description here

Guess you like

Origin blog.csdn.net/xiaopihair123/article/details/132281910