鸿蒙系统怎么换windows,求助~鸿蒙系统windows环境搭建(hpm-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.
總結
以上是生活随笔為你收集整理的鸿蒙系统怎么换windows,求助~鸿蒙系统windows环境搭建(hpm-cli安装失败)!的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ETL详解
- 下一篇: 软键盘弹出时popwindow_【示例】