mvn打包找不到node包
Opened this issue · 2 comments
liweijian199011 commented
The issue tracker is ONLY used for bug report and feature request.
Any question or RocketMQ proposal please use our mailing lists.
BUG REPORT
- Please describe the issue you observed:
执行mvn命令时,打包编译过程中无法下载node包,导致编译失败。
- Please tell us about your environment:
MAC OS13.4 - Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
FEATURE REQUEST
-
Please describe the feature you are requesting.
本地已经安装node环境,有没有其他打包运行方式,可以先打包java代码,再单独运行node前端。 -
Provide any additional detail on your proposed use case for this feature.
-
Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?
-
If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:
- sub-task1-issue-number: sub-task1 description here,
- sub-task2-issue-number: sub-task2 description here,
- ...
Wuou commented
修改pom:
<configuration>
<nodeDownloadRoot>https://cdn.npmmirror.com/binaries/node/</nodeDownloadRoot>
<nodeVersion>v16.2.0</nodeVersion>
<yarnVersion>v1.22.10</yarnVersion>
</configuration>
liweijian199011 commented
亲测有效,多谢