Rohan Maity
01/04/2022, 1:28 PMindex.html
I get completely blank error state screenRohan Maity
01/04/2022, 1:29 PM./gradlew build
only Production executable
is produced in the buildFolder
Even when I try to run ./gradlew jsBrowserProductionRun
I still face the same issue of index.html
not getting loadedBig Chungus
01/04/2022, 1:30 PMRohan Maity
01/04/2022, 1:30 PMBig Chungus
01/04/2022, 1:30 PMRohan Maity
01/04/2022, 1:31 PMsrc/jsMain/resources/index.html
Big Chungus
01/04/2022, 1:32 PM./gradlew jsBrowserRun
Do you have any backend services that your webapp depends on (8080 is standard backend port in most frameworks)Rohan Maity
01/04/2022, 1:33 PMBig Chungus
01/04/2022, 1:33 PMBig Chungus
01/04/2022, 1:34 PMRohan Maity
01/04/2022, 1:35 PMBig Chungus
01/04/2022, 1:35 PMRohan Maity
01/04/2022, 1:36 PMRohan Maity
01/04/2022, 1:37 PMBig Chungus
01/04/2022, 1:37 PMBig Chungus
01/04/2022, 1:38 PMRohan Maity
01/04/2022, 1:39 PMRohan Maity
01/04/2022, 1:45 PMBig Chungus
01/04/2022, 1:46 PM./gradlew jsBrowserRun
Rohan Maity
01/04/2022, 1:47 PMBig Chungus
01/04/2022, 1:48 PMRohan Maity
01/04/2022, 1:57 PM./gradlew jsBrowserRun
was only trying to run composables.js
which caused the issue
Solution
I changed the sourceSet name for webApp to frontMain
it worked
but it caused the below issueBig Chungus
01/04/2022, 2:20 PMBig Chungus
01/04/2022, 2:20 PMRohan Maity
01/04/2022, 3:12 PMRohan Maity
01/04/2022, 3:13 PMRohan Maity
01/04/2022, 3:16 PMproductionRun
which is showing above message
but development run works fineBig Chungus
01/04/2022, 3:18 PMRohan Maity
01/04/2022, 3:19 PMproductionRun task shouldn't even be there...Why is that ?
Big Chungus
01/04/2022, 3:21 PMBig Chungus
01/04/2022, 3:22 PMRohan Maity
01/04/2022, 3:22 PM