解决方案:

npm config set strict-ssl false
cnpm config set strict-ssl false

切换淘宝源,使用 cnpm (gzip 压缩支持) 命令行工具代替默认的 npm

npm install -g cnpm --registry=https://registry.npm.taobao.org

 

相关文章:

  • 2022-12-23
  • 2021-10-27
  • 2022-12-23
  • 2021-08-05
  • 2021-06-06
猜你喜欢
  • 2021-12-16
  • 2021-06-17
  • 2021-06-30
  • 2022-12-23
  • 2021-11-05
  • 2021-04-18
相关资源
相似解决方案