grahamborland
09/02/2025, 11:12 PMExecution failed for task ':kotlinNpmInstall'.
> Process 'Resolving NPM dependencies using yarn' returns 1
Unknown Syntax Error: Unsupported option name ("--network-concurrency").
Any workaround?Vampire
09/03/2025, 6:57 AMEdoardo Luppi
09/03/2025, 8:07 AMgrahamborland
09/03/2025, 8:08 AMEdoardo Luppi
09/03/2025, 8:17 AMEdoardo Luppi
09/03/2025, 8:18 AM%USER_HOME%/.gradle/yarn
, which versions do you see?grahamborland
09/03/2025, 8:19 AMls ~/.gradle/yarn
yarn-v1.22.10/ yarn-v1.22.10.hash yarn-v1.22.17/ yarn-v1.22.17.hash
Edoardo Luppi
09/03/2025, 8:20 AM--help
to see if they both list --network-concurrency
?Artem Kobzar
09/03/2025, 9:37 AMgrahamborland
09/03/2025, 9:41 AMrootProject.the<YarnRootEnvSpec>().download = false
I guess for build performance reasons. Setting that to true
resolves the issue, so I’ll do some digging to figure out what Yarn versions we have installed. Looks like I also have 4.6.0 which doesn’t support the --network-concurrency
option.
Thanks for the help!Edoardo Luppi
09/03/2025, 9:54 AM