CLOVIS
07/12/2025, 6:30 PM> Task :kotlinNpmInstall FAILED
error <https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-4.2.2.tgz>: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT: no such file or directory, open '/usr/local/share/.cache/yarn/v6/npm-webpack-merge-4.2.2-a27c52ea783d1398afd2087f547d7b9d2f43634d-integrity/node_modules/webpack-merge/lib/join-arrays.js.map'"
across all my projects, across all CI runners, with different packages. Do we know what could cause this?
At the moment, it's hard to upgrade because all JS pipelines fail more than ~50% of the timeRobert Jaros
07/12/2025, 6:42 PMRobert Jaros
07/12/2025, 6:43 PMRobert Jaros
07/12/2025, 6:45 PMRobert Jaros
07/12/2025, 6:48 PMturansky
07/12/2025, 6:49 PMCLOVIS
07/12/2025, 6:50 PMRobert Jaros
07/12/2025, 6:50 PMkotlin.js.yarn=false
now ...Robert Jaros
07/12/2025, 6:57 PMEdoardo Luppi
07/12/2025, 7:18 PMCLOVIS
07/12/2025, 8:33 PMCLOVIS
07/12/2025, 8:37 PMOliver.O
07/13/2025, 11:58 AMCLOVIS
07/13/2025, 3:10 PMOliver.O
07/13/2025, 3:13 PMEdoardo Luppi
07/13/2025, 4:25 PM--network-concurrency 1
) mean installing packages will take longer?Edoardo Luppi
07/13/2025, 4:27 PMOliver.O
07/13/2025, 4:41 PM--mutex network
option is the important one. Otherwise, Gradle could spawn parallel Yarn invocations via KGP, and these invocations would not synchronize with each other, leading to file corruption. Could it be a factor that Gradle is increasingly using parallelism where it did not use it before? In my case, Gradle 8.14.2 runs parallel tasks even with org.gradle.parallel=false
.Edoardo Luppi
07/13/2025, 4:43 PMOliver.O
07/13/2025, 4:44 PMEdoardo Luppi
07/13/2025, 4:50 PMRobert Jaros
07/13/2025, 5:56 PMOliver.O
07/13/2025, 6:08 PMEdoardo Luppi
07/13/2025, 6:09 PMArtem Kobzar
07/14/2025, 7:28 AMOliver.O
07/14/2025, 11:03 PM