报错类似于如下图
解决方法: 删除文件 package-lock.json,再重新执行npm i或者npm install
package-lock.json
npm i
npm install
相关文章: