目录

ohpm dependency-check Error Codes

00680001 Failed to Query the Update Information

Error Message

querying update information from remote repository failed.

Symptom

Failed to query the update information.

Possible Causes

The configured address for the central repository or private repository is incorrect, which is detected during the execution of ohpm dependency-check.

Solution

Ensure that the address of the central or private repository is correctly configured.

00680002 oh-package.json5 File Does Not Exist in the Specified Module

Error Message

Specified module path or json file not exist.

Symptom

During the update information query process, the specified module path is invalid or the oh-package.json5 file is missing from the specified module.

Possible Causes

The specified module is incorrect, or the oh-package.json5 file is missing in it.

Solution

Ensure that the module name is correct and the oh-package.json5 file is properly configured in the module.

00680003 Failed to Query the Specified Package

Error Message

When no module is specified, querying update information for a specified package is not supported.

Symptom

Failed to query the update information of the specified package when no module is specified.

Possible Causes

The command only includes the name of the third-party library, with no module or project specified.

Solution

Correctly configure the module/project name and third-party library name for the command.