目录

ohpm uninstall Error Codes

00605001 No Package Name Configured

Error Message

No Pkg.

Symptom

The package name is not configured during uninstallation.

Possible Causes

The dependency package to be uninstalled does not exist.

Solution

Uninstall dependencies based on those configured in oh-package.json5. Ensure that the target package is configured in the file.

00605002 Package Version Specified for ohpm uninstall

Error Message

Has Version.

Symptom

The package version is specified for the ohpm uninstall command.

Possible Causes

The package version is specified for the ohpm uninstall command.

Solution

Do not specify the package version for the ohpm uninstall command.

00617301 Failed to Fetch the Source Code Package from the Local Folder

Error Message

Fetch Source Code Failed.

Symptom

Failed to fetch the source code package from the local folder.

Possible Causes

The specified path does not exist, making it impossible to fetch the source code package.

Solution

Ensure that the specified path exists and is correct.