carp-dk / carp-dk/carp.httpclient-kotlin

Remove `text-encoding` dependency once bug is resolved in ktor

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Kotlin
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

A JS dependency is added to `text-encoding` which should not be there. However, without it, the build fails with:

> Module not found: Error: Can't resolve 'text-encoding' ...

Therefore, for now I applied the workaround suggested here: https://github.com/Kotlin/kotlinx-io/issues/57#issuecomment-573144039

This makes the build succeed.

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by locating the JavaScript dependency declaration for `text-encoding` and reproduce the JavaScript build; after the referenced upstream bug is resolved, remove the workaround and confirm the build succeeds without the dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, kotlin
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.