Dirk
03/16/2022, 4:29 PMCaused by: java.lang.IllegalStateException: Module parse failed: Unexpected token (83298:20)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See <https://webpack.js.org/concepts#loaders>
| var element_2 = tmp0_iterator_1.next_0_k$();
| {
> var tmp = default;
| $this$invoke.invoke_r3wsxp_k$(tmp, _no_name_provided_$factory_467(element_2));
| }
at org.jetbrains.kotlin.gradle.internal.ExecKt$execWithErrorLogger$1.invoke(exec.kt:83)
at org.jetbrains.kotlin.gradle.internal.ExecKt$execWithErrorLogger$1.invoke(exec.kt:76)
at org.jetbrains.kotlin.gradle.internal.ProgressKt.operation(progress.kt:21)
at org.jetbrains.kotlin.gradle.internal.ProgressKt.operation$default(progress.kt:12)
at org.jetbrains.kotlin.gradle.internal.ExecKt.execWithErrorLogger(exec.kt:76)
at org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackRunner.execute(KotlinWebpackRunner.kt:31)
at org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpack.doExecute(KotlinWebpack.kt:287)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
iari
03/16/2022, 4:34 PMiari
03/16/2022, 4:35 PMDirk
03/16/2022, 5:02 PM_no_name_provided__501.prototype.invoke_wu1lm5_k$ = function ($this$invoke) {
$this$invoke.onChange = _no_name_provided_$factory_466(this._$filterListeErstellen_4);
{
var tmp0_forEach_0 = plus(listOf_0(''), sorted(this._$props_33.fachgebiete));
var tmp0_iterator_1 = tmp0_forEach_0.iterator_0_k$();
while (tmp0_iterator_1.hasNext_0_k$()) {
var element_2 = tmp0_iterator_1.next_0_k$();
{
var tmp = default;
$this$invoke.invoke_r3wsxp_k$(tmp, _no_name_provided_$factory_467(element_2));
}
}
}
};
The code for this should be the following (A dropdown is created).
Of course this is all stored normally in the source code and not in other files.
select {
onChange = { _, _ -> filterListeErstellen() }
(listOf("") + props.fachgebiete.sorted()).forEach {
option {
value = it
+it
}
}
}
Dirk
03/16/2022, 5:28 PMExecution failed for task ':browserProductionWebpack'.
> Module parse failed: Unexpected token (5820:16)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See <https://webpack.js.org/concepts#loaders>
| return function ($this$invoke) {
| $this$invoke.onChange = Filterung$lambda$lambda$lambda$lambda$lambda$lambda$lambda_1($filterListeErstellen);
> var tmp = default;
| $this$invoke.invoke_pbaxif_k$(tmp, Filterung$lambda$lambda$lambda$lambda$lambda$lambda$lambda_2());
| var tmp0_forEach_0 = sorted($props.fachgebiete);
iari
03/16/2022, 5:42 PMdefault
keyword should be there in that spot....Dirk
03/17/2022, 10:39 AM