当前位置:   article > 正文

鸿蒙系统怎么换windows,求助~鸿蒙系统windows环境搭建(hpm-cli安装失败)!

not found -/@ohos%2fhpm-cli

系统win10,执行命令“npm install -g @ohos/hpm-cli”,报错如下:

npm ERR! code EEXIST

npm ERR! path C:\Users\jay\AppData\Roaming\npm\node_modules\@ohos\hpm-cli\bin\hpm

npm ERR! dest C:\Users\jay\AppData\Roaming\npm\hpm

npm ERR! EEXIST: file already exists, cmd shim 'C:\Users\jay\AppData\Roaming\npm\node_modules\@ohos\hpm-cli\bin\hpm' -> 'C:\Users\jay\AppData\Roaming\npm\hpm'

npm ERR! File exists: C:\Users\jay\AppData\Roaming\npm\hpm

npm ERR! Remove the existing file and try again, or run npm

npm ERR! with --force to overwrite files recklessly.

npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\jay\AppData\Roaming\npm-cache\_logs\2020-10-21T13_50_56_526Z-debug.log

The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command npm install -g @ohos/hpm-cli" terminated with exit code: 1.

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/328761
推荐阅读
相关标签
  

闽ICP备14008679号