Marius Kotsbak
10/20/2021, 3:19 PM* What went wrong:
Could not determine the dependencies of task ':packageJson'.
> Could not resolve all dependencies for configuration ':npm'.
> Could not resolve io.arrow-kt:arrow-core:1.0.0.
Required by:
project :
> No matching variant of io.arrow-kt:arrow-core:1.0.0 was found. The consumer was configured to find a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js', attribute 'org.jetbrains.kotlin.js.compiler' with value 'legacy' but:
- Variant 'commonMainMetadataElements' capability io.arrow-kt:arrow-core:1.0.0:
- Incompatible because this component declares a usage of 'kotlin-api' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.js.compiler (required 'legacy')
Marius Kotsbak
10/20/2021, 3:27 PMMarius Kotsbak
10/20/2021, 3:30 PMMarius Kotsbak
10/20/2021, 3:48 PMraulraja
10/20/2021, 5:55 PMraulraja
10/20/2021, 5:55 PMraulraja
10/20/2021, 5:56 PMMarius Kotsbak
10/20/2021, 10:22 PMMarius Kotsbak
10/20/2021, 10:30 PMsimon.vergauwen
10/23/2021, 9:31 AM./gradlew jsTest
can fail on native
dependency not being available 😕