编译flink源码卡在Running 'npm ci --cache-max=0 --no-save'

编译flink源码时卡在了Running 'npm ci --cache-max=0 --no-save' in ......

解决方案:

将flink-runtime-web/pom.xml文件中的

 

 修改为:

<arguments>install -g -registry=https://registry.npmmirror.com --cache-max=0 --no-save</arguments>

 

若没有解决,则先删掉flink-runtime-web\web-dashboard\node_modules文件夹

然后继续修改flink-runtime-web/pom.xml文件,使用

<configuration>
    <nodeVersion>v12.12.0</nodeVersion>
    <npmVersion>6.14.4</npmVersion>
</configuration>

 

重新编译即可

 

posted @ 2023-03-03 13:50  红橙黄绿蓝鳍金枪鱼  阅读(658)  评论(0)    收藏  举报