文章目录

场景

  • 最近在部署负载均衡,所以需要在新服务器上部署laravel项目, 之前开发机器上使用的是npm 6.5; 新机器使用的是npm 6.6, 执行npm install 报错
    • npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ECONNRESET: request to https://registry.npmjs.org/@fortawesome%2ffontawesome-free failed, reason: Client network socket disconnected before secure TLS connection was established

解决

  • rm package-lock.json
  • npm cache clear --force
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐