鸿蒙开发idea安装报错Error: execute install task failed, component ohpm.zip.解决
execute install task, component ohpm.zip.
Unzipping D:\Program Files\Huawei\DevEco Studio\tools\ohpm.zip
Initializing ohpm
npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://registry.npm.taobao.org/winston failed, reason: certificate has expired
npm ERR! A complete log of this run can be found in:
npm ERR! D:\nodejs\node_cache_logs\2024-06-01T09_08_54_192Z-debug-0.log
Error: execute install task failed, component ohpm.zip.
Error: execute ‘ohpm install’ failed.

-
执行命令:npm cache clean --force

-
验证npm缓存是否已清理Windows指令:npm cache verify

-
关闭失败的下载弹窗,重新打开并下载

鸿蒙开发idea安装ohpm.zip报错解决
501

被折叠的 条评论
为什么被折叠?



