I'm getting an error when `:kotlinWasmNpmInstall` ...
# javascript
r
I'm getting an error when
:kotlinWasmNpmInstall
and
:kotlinNpmInstall
run at the same time. https://scans.gradle.com/s/clmy5234k76zi Is this a known issue? Or is there anything I can do about it?
Using
mustRunAfter
to force ordering solves the issue, so it's almost certainly due to running them in parallel
t
Why it's a problem?
Destination folders are different
v
Is the ordering important or just that they don't run in parallel? If the latter, it is better to not define the ordering, but to declare both tasks to use the same shared build service that is configured with maximum concurrency of 1.
r
I'm guessing it's just the ordering, and while that would indeed be better, it's also a lot more work. It does indeed seem a lot like https://kotlinlang.slack.com/archives/C0B8L3U69/p1752429385715149?thread_ts=1752345024.357449&channel=C0B8L3U69&message_ts=1752429385.715149