简体   繁体   中英

Yarn fails when yarn install twice

When I run yarn + rails in a docker container I cannot execute yarn twice during my Jenkins build process. Does anyone of you know a good solution for the usage of yarn in a Jenkins pipeline.

I currently create a docker-compose file and execute my commands on the container with rails + yarn installed. The first yarn install command is always passing but further yarn installs keep failing which are automatically used by rails to check integrity.

尝试清除缓存或使用npm -g对其进行测试

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM