Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the library in Kotlin/js multiplatform project #189

Closed
1 of 8 tasks
Romixery opened this issue Mar 4, 2022 · 1 comment
Closed
1 of 8 tasks

Use the library in Kotlin/js multiplatform project #189

Romixery opened this issue Mar 4, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@Romixery
Copy link

Romixery commented Mar 4, 2022

Describe the bug

Hi,
I have trouble when I want to compile Kotlin/JS project that contains the library. It seems the library is not prepared for the JS platform at all.

Reproduction and additional details
My current build.gradle.kts configurations:
image

The Error
After run ./gradlew jsBrowserRun --continuous, I'm getting these errors!

image

Context

  • Krossbow version: 3.1.1
  • Kotlin version: 1.6
  • Kotlin target(s): Kotlin/JS

Artifacts used:

  • krossbow-stomp-core
  • krossbow-stomp-jackson
  • krossbow-stomp-kxserialization
  • krossbow-websocket-core
  • krossbow-websocket-sockjs
  • krossbow-websocket-spring
  • krossbow-websocket-okhttp
  • krossbow-websocket-ktor
@Romixery Romixery added the bug Something isn't working label Mar 4, 2022
@joffrey-bion
Copy link
Owner

joffrey-bion commented Mar 4, 2022

Hi, thanks a lot for the report!

You're using the JS IR compiler here, and Krossbow hasn't been released for IR yet (only the legacy JS). I intend to release a version for the IR compiler as soon as Kotlin 1.6.20 is out, because there are some blocking issues for now that will be resolved in that Kotlin version. Please follow #98 to track this.

@joffrey-bion joffrey-bion added duplicate This issue or pull request already exists and removed bug Something isn't working labels Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants