Big Chungus
01/28/2020, 1:55 PMUncaught TypeError: g is not a function
after running dce on my page. Any suggestions how to investigate/resolve this?Ilya Goncharov [JB]
01/28/2020, 2:07 PMkotlin-wrappers
If you have these ones and you declare it via npm
dependencies, I recommend to change on maven dependencies from bintray
https://bintray.com/kotlin/kotlin-js-wrappers
You always can set development
mode to webpack (via webpack.config.d/<some-file>.js
) and find what declaration was be removed and find, where it was removed fromBig Chungus
01/28/2020, 2:24 PMvar encodeToByteArray = $module$ktor_ktor_<http://io.io.ktor.utils.io|io.io.ktor.utils.io>.charsets.encodeToByteArray_fj4osb$;
However this line bellow throws an error CrLf = encodeToByteArray(charsets.Charsets.UTF_8.newEncoder(), '\r\n', 0, '\r\n'.length);
Uncaught TypeError: encodeToByteArray is not a function
at Object.<anonymous> (main.bundle.js:48602)
at main.bundle.js:47583
at Object.../../../../hazelcast-explorer/build/kotlin-js-min/frontend/main/ktor-ktor-http-cio.js (main.bundle.js:47586)
at __webpack_require__ (main.bundle.js:20)
at main.bundle.js:38338
at Object.../../../../hazelcast-explorer/build/kotlin-js-min/frontend/main/ktor-ktor-client-core.js (main.bundle.js:38343)
at __webpack_require__ (main.bundle.js:20)
at Object.../../../../hazelcast-explorer/build/kotlin-js-min/frontend/main/hazelcast-explorer-root-hazelcast-explorer-frontend.js (main.bundle.js:6220)
at __webpack_require__ (main.bundle.js:20)
at Object.0 (main.bundle.js:163986)
Ilya Goncharov [JB]
01/28/2020, 2:31 PMBig Chungus
01/28/2020, 2:53 PMIlya Goncharov [JB]
01/28/2020, 2:57 PM