npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ECONNRES
文章目录场景解决场景最近在部署负载均衡,所以需要在新服务器上部署laravel项目, 之前开发机器上使用的是npm 6.5; 新机器使用的是npm 6.6, 执行npm install 报错npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ECONNRES...
文章共140字 · 阅读需要大约1分钟
一键AI生成摘要,助你高效阅读
问答
·
场景
- 最近在部署负载均衡,所以需要在新服务器上部署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
更多推荐
已为社区贡献2条内容
所有评论(0)