Jenkins-Yarn报错-yarn: command not

2023-04-25  本文已影响0人  ssttIsme

问题可能是没有在Jenkins所在的主机安装yarn

[root@vm-7-17-centos ~]# npm install -g yarn

added 1 package, and audited 2 packages in 3s

found 0 vulnerabilities
npm notice 
npm notice New major version of npm available! 8.19.3 -> 9.6.5
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.6.5
npm notice Run npm install -g npm@9.6.5 to update!
npm notice 

Node.js安装yarn后重新构建即可成功


上一篇 下一篇

猜你喜欢

热点阅读