错误
Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.15.1:yarn (yarn install) on project ui-ngx: Failed to run task: 'yarn install --non-interactive --network-concurrency 4 --network-timeout 100000 --mutex network' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
npm init
npm install
然后再
这个是node版本 还有yarn的版本和你本地不一致导致的,项里有好几个配置这两版本的地方,我只看了ui-ngx目录下的pom里的版本,然后在msa目录下的pom文件中还有,好像还有一个pom文件中也有,并且源码中这几个地方用的版本不一致,大家找的时候最好全局查找,然后把所有引用的地方版本全部统一。
解决方法:全局查找,将所有的node 、 yarn 版本统一
<plugin>
<groupId>com.github.eirslett</groupId>