【问题标题】:Why does maven install give this error with npm?为什么 maven install 会在 npm 中出现此错误?
【发布时间】:2019-07-02 00:47:47
【问题描述】:

我合并了两个分支,然后我收到以下错误:

[ERROR] 未能执行目标 com.github.eirslett:frontend-maven-plugin:1.6:install-node-and-npm 在项目前端(安装节点和 npm):无法提取 npm 存档:无法提取存档: 'C:\Users\User.m2\repository\com\github\eirslett\npm\5.6.0\npm-5.6.0.tar.gz': EOFException -> [帮助 1]

我查看了 google 和 stackoverflow,但没有找到任何解决方法。

我应该尝试什么?

(带有 Angular 前端的 Spring 后端)

【问题讨论】:

标签: java angular maven


【解决方案1】:

只需从本地存储库中删除此文件夹,然后再次运行构建:

**delete => C:\Users\User.m2\repository\com\github\eirslett**

npm tar.gz 似乎在下载过程中损坏了。

【讨论】:

    猜你喜欢
    • 2017-06-15
    • 1970-01-01
    • 2021-08-04
    • 2021-09-03
    • 2014-03-03
    • 1970-01-01
    • 1970-01-01
    • 2021-03-29
    • 2022-01-04
    相关资源
    最近更新 更多