npm 淘宝镜像安装失败问题(Nodejs)

安装失败的界面:

 ---------------------解决方法------------------

1.找到C:\Windows\System32中的cmd

 2.右击cmd.exe,以管理员身份运行,重新安装镜像

npm install -g cnpm --registry=https://registry.npm.taobao.org

成功!!!

猜你喜欢

转载自blog.csdn.net/xucanlax/article/details/128174002