当我使用MVN CLEAN安装来构建我的项目时,我会得到:' npm install'失败的
[INFO] npm ERR! A complete log of this run can be found in:
[INFO] npm ERR! C:\Users\kchheda\AppData\Roaming\npm-cache\_logs\2022-05-17T07_17_33_367Z-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.847 s
[INFO] Finished at: 2022-05-17T12:47:36+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.9.1:npm (npm install) on project
supplierportal: Failed to run task: 'npm install' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
NPM或插件存在问题,但我无法弄清楚。
[INFO] npm ERR! A complete log of this run can be found in:
[INFO] npm ERR! C:\Users\kchheda\AppData\Roaming\npm-cache\_logs\2022-05-17T07_17_33_367Z-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.847 s
[INFO] Finished at: 2022-05-17T12:47:36+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.9.1:npm (npm install) on project
supplierportal: Failed to run task: 'npm install' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
There is the problem in npm or plugin, but I am not able to figure it out.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论