目录

ohpm ping Error Codes

00632001 Failed to Ping the Repository Address

Error Message

Ping Registries Failed.

Symptom

Failed to ping the repository address.

Possible Causes

The repository address does not match the one configured in the .ohpmrc file, or the network connection is abnormal.

Solution

Verify the repository address and network connectivity.

00632002 Empty Repository Address

Error Message

Registry Is Empty.

Symptom

The repository address is empty.

Possible Causes

The repository address is not set.

Solution

Edit the .ohpmrc file or use ohpm config set <key> <value> to set the repository address (for example, ohpm config set registry https://ohpm.openharmony.cn/ohpm/).

00638001 Invalid Option Used in the Command Line

Error Message

Invalid Option.

Symptom

An invalid option is used in the command line.

Possible Causes

The option entered in the command line is invalid, possibly due to a typo, an unsupported option, or an incorrect parameter format.

Solution

Verify the validity of the options for the command before execution.