Error Message
Fetch Pkg Info Failed.
Symptom
Failed to obtain the package information.
Possible Causes
The repository address is not configured.
Solution
Configure the registry field in the .ohpmrc file or run ohpm config set registry https://ohpm.openharmony.cn/ohpm/ to configure the repository address.
Error Message
Check Registry Failed.
Symptom
Failed to check the repository.
Possible Causes
The registry parameter is incorrectly configured for the ohpm info or ohpm install command.
Solution
Set registry to the address of the central repository or private repository.
Error Message
File Read Error.
Symptom
An error occurs when the file is read.
Possible Causes
The file (such as a configuration file) fails to be read.
Solution
Check if the file is in use, then try reading it again.
Error Message
File Not Exist.
Symptom
The file does not exist.
Possible Causes
The file to be read does not exist.
Solution
Check whether the file exists, then try again.
Error Message
Registry Request Error.
Symptom
The repository request failed.
Possible Causes
The publish_registry parameter is incorrectly configured for the ohpm publish or ohpm dist-tags command.
Solution
Set registry to the address of the central repository or private repository.
Error Message
System Error.
Symptom
A system error occurs.
Possible Causes
A system error occurs, for example, memory error.
Solution
Check the log for error details to identify the root cause.
Error Message
Path Case Sensitivity Error.
Symptom
Case mismatch in path names.
Possible Causes
The file path configured in the project does not match the actual file path in letter case.
Solution
Modify the configured file path in the project to match the actual file path. Alternatively, set case_sensitive_check to false in the .ohpmrc file to disable case sensitivity check for file paths. For details, see case_sensitive_check.