npm install slowly?

# 安装依赖
npm install
npm install --registry=https://registry.npm.taobao.org

npm config set registry https://registry.npm.taobao.org
yarn --registry=https://registry.npmmirror.com
npm i --registry=https://registry.npmmirror.com
# 本地开发 启动项目 npm run dev
# 证书过期关闭验证, reason: certificate has expired
npm config set strict-ssl false
# 下载完后可以再次开启
npm config set strict-ssl true

 

posted @ 2022-11-10 14:58  ぶ会编程  阅读(43)  评论(0)    收藏  举报