原因是安装必要包时超时了
1、设置为淘宝镜像
npm config set registry https://registry.npm.taobao.org/
yarn config set registry https://registry.npm.taobao.org/
查看当前镜像
npm get registry
yarn config get registry
原因是安装必要包时超时了
1、设置为淘宝镜像
npm config set registry https://registry.npm.taobao.org/
yarn config set registry https://registry.npm.taobao.org/
查看当前镜像
npm get registry
yarn config get registry
本文标题:npm yarn 包管理
本文链接:https://www.haomeiwen.com/subject/lvdvrktx.html
网友评论