https://kotlinlang.org logo
Title
s

subham

02/25/2022, 11:12 AM
I am facing this problem in kmm when i enable JS platform. does any have any pointer to solve this
Could not find org.jetbrains.kotlinx:kotlinx-nodejs:0.0.7.
Searched in the following locations:
  - <https://dl.google.com/dl/android/maven2/org/jetbrains/kotlinx/kotlinx-nodejs/0.0.7/kotlinx-nodejs-0.0.7.pom>
  - <https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-nodejs/0.0.7/kotlinx-nodejs-0.0.7.pom>
  - file:/Users/subhamtyagi/.m2/repository/org/jetbrains/kotlinx/kotlinx-nodejs/0.0.7/kotlinx-nodejs-0.0.7.pom
  - <https://maven.pkg.jetbrains.space/public/p/compose/dev/org/jetbrains/kotlinx/kotlinx-nodejs/0.0.7/kotlinx-nodejs-0.0.7.pom>
  - <https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven/org/jetbrains/kotlinx/kotlinx-nodejs/0.0.7/kotlinx-nodejs-0.0.7.pom>
Required by:
    project :common-test > com.apollographql.apollo3:apollo-mockserver:3.1.0 > com.apollographql.apollo3:apollo-mockserver-js:3.1.0
    project :common-test > com.apollographql.apollo3:apollo-testing-support:3.1.0 > com.apollographql.apollo3:apollo-testing-support-js:3.1.0

Possible solution:
 - Declare repository providing the artifact, see the documentation at <https://docs.gradle.org/current/userguide/declaring_repositories.html>
m

mbonnin

02/25/2022, 11:13 AM
You need jcenter ()
@subham out of curiosity, where did you find
apollo-testing-support
? We'll add a mention to jcenter there
s

subham

02/25/2022, 12:38 PM
Thanks @mbonnin. It solved the problem . thttps://www.apollographql.com/docs/kotlin/testing/mocking-graphql-responses/ this page of the documentation
m

mbonnin

02/25/2022, 12:39 PM
👍 Thanks