Using `kotlin-wrappers-bom:0.0.1-pre.213-kotlin-1....
# react
j
Using
kotlin-wrappers-bom:0.0.1-pre.213-kotlin-1.5.10
works just fine. For newer versions
compileKotlinJs
fails with
Unresolved reference: react
even though the IDE does not complain and the source files get resolved. Any hints? I tried clean and invalidate caches/restart.... (K
1.5.21
and G
7.1.1
)
✔️ 1
t
j
I tried several from
0.0.1-pre.225-kotlin-1.5.21
downwards and also
0.0.1-pre.213-kotlin-1.5.20
t
Do you build app from command line?
👀 1
j
Do you build app from command line?
Fails for both, cmd + ide build.
t
Do you have simple example?
j
I also had included
kotlin-react-router-dom
as a dependency. Removing it fixes the issue. Do you have an idea why?
t
Do you use same gradle configuration dependencies?
implementation
for example
j
Yes
Hm another problematic thing: in
buildSrc
I used a different version of kotlin.