1、之前的镜像已过期,采用新的镜像地址,进入cmd之后输入:
npm config set registry https://registry.npmmirror.com
2、查看是否更改成功:
npm config get registry
3、重新执行npm install …,执行成功
npm install
1、之前的镜像已过期,采用新的镜像地址,进入cmd之后输入:
npm config set registry https://registry.npmmirror.com
2、查看是否更改成功:
npm config get registry
3、重新执行npm install …,执行成功
npm install