安装失败的界面:

---------------------解决方法------------------
1.找到C:\Windows\System32中的cmd

2.右击cmd.exe,以管理员身份运行,重新安装镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org

成功!!!
本文介绍了一种解决npm安装失败的方法。具体步骤为:通过管理员权限启动cmd,然后使用npm命令从淘宝镜像源重新安装cnpm。此方法适用于Windows系统下遇到npm安装问题的情况。
安装失败的界面:

---------------------解决方法------------------
1.找到C:\Windows\System32中的cmd

2.右击cmd.exe,以管理员身份运行,重新安装镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org

成功!!!
2180
3143
1421