Skip to content

Failed to compile the kotlin library. It reports Unresolved reference 'reidsync' #631

@Jiangwlee

Description

@Jiangwlee

Hello,

I am trying to build the kotlin library. But it always fail because of the incompatible between Kotlin 2.2.20 and io.github.reidsync:kotlin-json-patch:1.0.0.

e: file:///Workspace/github/ag-ui/sdks/community/kotlin/library/client/src/commonMain/kotlin/com/agui/client/state/DefaultApplyEvents.kt:11:12 Unresolved reference 'reidsync'.
e: file:///Workspace/github/ag-ui/sdks/community/kotlin/library/client/src/commonMain/kotlin/com/agui/client/state/DefaultApplyEvents.kt:278:29 Unresolved reference 'JsonPatch'.
e: file:///Workspace/github/ag-ui/sdks/community/kotlin/library/client/src/commonMain/kotlin/com/agui/client/state/DefaultApplyEvents.kt:278:39 Cannot infer type for type parameter 'T'. Specify it explicitly.
e: file:///Workspace/github/ag-ui/sdks/community/kotlin/library/client/src/commonMain/kotlin/com/agui/client/state/StateManager.kt:4:12 Unresolved reference 'reidsync'.
e: file:///Workspace/github/ag-ui/sdks/community/kotlin/library/client/src/commonMain/kotlin/com/agui/client/state/StateManager.kt:53:28 Unresolved reference 'JsonPatch'.
e: file:///Workspace/github/ag-ui/sdks/community/kotlin/library/client/src/commonMain/kotlin/com/agui/client/state/StateManager.kt:53:38 Cannot infer type for type parameter 'T'. Specify it explicitly.

Could you let me know how to resolve this issue?

Thanks,
Bruce

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions