其他分享
首页 > 其他分享> > npm太慢,cnpm安装依赖,会有各种诡异的bug

npm太慢,cnpm安装依赖,会有各种诡异的bug

作者:互联网

在我们平时开发中,安装node依赖时,npm太慢,但使用cnpm会有各种诡异的bug,我们可以这样操作

解决方法:

    1.在本地任意文件夹输入    cmd  弹出小黑板  

    

  2.在小黑板直接输入:npm install --registry=https://registry.npm.taobao.org   

   然后在使用npm速度就有所提升,试一试吧!

标签:npm,cnpm,小黑板,registry,bug,太慢
来源: https://blog.csdn.net/weixin_51063441/article/details/116239413