问题 有时候用cnpm下载依赖时会发生一些意想不到的bug,这时我们该怎么办呢? 解决 我们可以用下面的命令进行代替: npm install --registry=https://registry.npm.taobao.org