gpt4 book ai didi

java - 为什么 maven install npm 会出现这个错误?

转载 作者:行者123 更新时间:2023-11-30 05:47:34 26 4
gpt4 key购买 nike

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

[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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com