npm ERR! sha1-xxxx

266 阅读1分钟

问题情况描述

老项目安装npm 依赖。没动过所有配置,仅切换了npm registry源到私有源。

解决方案

删除package-lock.json后npm install 安装正常。