Hi guys, I'm trying to build an app with mpp using also kotlin/js. I'm getting this weird error, anyone ever had this issue?
r
russhwolf
06/21/2019, 1:42 PM
It looks like you’re working off one of the default new project templates for MPP, so I’m guessing that the
main()
declaration you have in your JS is conflicting with the
main()
that’s already in the common source.
c
coletz
06/21/2019, 2:56 PM
uhm... Not sure I'm understanding 😕 Yes, I started creating the project with the template from intellij idea for js/jvm... But I don't know what I should do to fix this issue. Basically you are suggesting to remove the
fun main(){..}
from the commonMain?
You were right, many thanks! Dunno why I haven't seen it, probably I need to sleep 🤦♂️