I don't know how to properly ask this one, but. Wh...
# gradle
a
I don't know how to properly ask this one, but. When tasks are run first ( before they have been cached by configuration cache), they pass without errors, but when the tasks are run reusing the configuration cache), I get this kind of error
Copy code
Execution failed for task ':authenticator-api:jsTestPackageJson'.
> KotlinCompilationNpmResolver(picortex-authenticator-api-test) already closed
and it comes randomly, one time it might be
submodule-one:jsTestPackageJson
another time it might be
submodule-two:jsTestPackagejson
How do I solve this?
t
@Alexander.Likhachev sounds familiar - you've seen/fixed it? 🤔
a
What Kotlin version are you using?
a
Copy code
Kotlin : 1.7.10
Gradle : 7.5.1
JDK    : 18
a
Could you please check if you still face it with 1.7.20? Is it possible for you to share the project?
a
I can zip it (coz it is a private project) but it is faily a very large project. More than 100 submodules. I can try to work on a minimal reproducer and share it if thats desireble
a
I’d suggest you first to check on 1.7.20
a
sure, let me see
Looks like kotlin 1.7.20 doesn't run into this problem at all