npm官方的源不穩定,我們可以使用國內淘寶的源http://registry.npm.taobao.org/ 執行下面的命令即可: npm config set registry=http://registry.npm.taobao.org/