You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ktor Engine Used(client or server and name)
Ktor client with default engine
JVM Version, Operating System and Relevant Context
JDK 1.8, Windows, Kotlin JS
Feedback
We are using the ktor client in a multiplatform project (android, iOS and web). Starting with version 1.1.0 the build of the JS client fails with the following message:
ERROR in ./kotlinx-io.js
Module not found: Error: Can't resolve 'text-encoding' in '<mypath>\kotlinmultiplatform\web\build\kotlin-js-min\main'
@ ./kotlinx-io.js 5309:21-45 5320:21-45
@ ./ktor-utils.js
@ ./web.js
If I manually add text-encoding as a npm-dependeny, it works.
If I list the npm dependency tree with the previous working ktor version 1.0.1 I get:
COPIED FROM: ktorio/ktor#961
Ktor Version
1.1.2
Ktor Engine Used(client or server and name)
Ktor client with default engine
JVM Version, Operating System and Relevant Context
JDK 1.8, Windows, Kotlin JS
Feedback
We are using the ktor client in a multiplatform project (android, iOS and web). Starting with version 1.1.0 the build of the JS client fails with the following message:
If I manually add
text-encoding
as a npm-dependeny, it works.If I list the npm dependency tree with the previous working ktor version 1.0.1 I get:
If I list the npm dependency tree with a ktor version >= 1.1.0 the
kotlinx-io-js
(and of coursetext-encoding
) is missingThe text was updated successfully, but these errors were encountered: