我合并了两个分支,之后我收到以下错误:
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:install-node-and-npm (install node and npm) on project frontend: Could not extract the npm archive: Could not extract archive: 'C:\Users\User.m2\repository\com\github\eirslett\npm\5.6.0\npm-5.6.0.tar.gz': EOFException -> [Help 1]
我查看了 google 和 stackoverflow,但没有找到任何可以修复该问题的内容。
我应该尝试什么?
(Spring 后端和 Angular 前端)
最佳答案
只需从本地存储库中删除此文件夹,然后再次运行构建:
**delete => C:\Users\User.m2\repository\com\github\eirslett**
似乎 npm tar.gz
在下载过程中已损坏。
关于java - 为什么 maven install npm 会出现这个错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54581188/