You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/07/07 08:55:11 UTC

[GitHub] [rocketmq-dashboard] bolitao commented on issue #47: maven打包报错

bolitao commented on issue #47:
URL: https://github.com/apache/rocketmq-dashboard/issues/47#issuecomment-1177274391

   我也出现了这个问题。
   
   排查发现是编译时自动下载 `~/.m2/repository/com/github/eirslett/node/16.2.0` 被手动中断了,导致下载的二进制文件损坏。
   
   解决办法:
   
   - 方法一:你可以手动删掉 `~/.m2/repository/com/github/eirslett/node/16.2.0` 目录,重新运行 `mvn` 编译命令,让其自动重新下载
   
   - 方法二:你可以删掉 `/path/to/node/16.2.0` 目录中的二进制文件 `node-16.2.0-win-x64.exe`,然后通过这个链接重新下载该文件:[node.exe](https://nodejs.org/dist/v16.2.0/win-x64/node.exe),移动至 `/path/to/node/16.2.0` 并重命名为 `node-16.2.0-win-x64.exe`
     >(我所使用的系统是 Windows,按自己所使用的系统自行重命名)
   
   ---
   
   另附一些帮助解决问题的实用文档:
   
   - [Node v16.2.0 (Current) | Node.js](https://nodejs.org/es/blog/release/v16.2.0/)
   - [Maven – Guide to using proxies](https://maven.apache.org/guides/mini/guide-proxies.html)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org