由于Node官方模块仓库太慢,建议将模块仓库切换到阿里源
C:workspaceangular>npm config set registry https://registry.npm.taobao.org/
执行下面的命令,确认是否切换成功
C:workspaceangular>npm config get registry https://registry.npm.taobao.org/
https://registry.npmjs.org/ 这是官方的npm地址源