Shubham Singh
10/02/2024, 12:43 PM"../../../../webApp/build/processedResources/js/main"
Basically I had to add two more ../
and webApp
to reach the root build
folder/package
zip
gradle taskpreferRelative
property as suggested in the error message, but that only works when I run the project locally, it doesn't work when I use the zip
gradle taskcom < garagegenie < project < App.kt
, and I reduced it down to com < garagegenie < App.kt
. Could this have caused the issue?Robert Jaros
10/02/2024, 1:19 PMwebpack.js
file in your webpack.config.d
folder. You also need .gettext.json
. Compare the template project (https://github.com/rjaros/kvision-examples/tree/master/template)Shubham Singh
10/02/2024, 1:20 PMRobert Jaros
10/02/2024, 1:24 PMShubham Singh
10/02/2024, 1:25 PMShubham Singh
10/02/2024, 1:25 PMRobert Jaros
10/02/2024, 1:26 PMconfig.resolve.modules.push("../../webApp/build/processedResources/js/main");
Robert Jaros
10/02/2024, 1:28 PMRobert Jaros
10/02/2024, 1:29 PM../
could be required: ../../../webApp/build/processedResources/js/main
Robert Jaros
10/02/2024, 1:31 PMrequire("./i18n/messages-pl.json")
instead in your code.Shubham Singh
10/02/2024, 1:45 PMRobert Jaros
10/02/2024, 1:47 PMRobert Jaros
10/02/2024, 1:48 PMimg/...
i18n/...
Robert Jaros
10/02/2024, 1:51 PM./
prefixShubham Singh
10/02/2024, 2:11 PMbuild
folders now 😆 one in the root package and one inside my webApp
package
Now I just need to figure out how to navigate from one build
folder to another using relative paths 😂 which is the easier part
So I think we can effectively call this thread resolved now ✅
I'll mark that in the initial message too, thank you for your time Robert!Shubham Singh
10/02/2024, 2:24 PMbuild
folder for all code generation from all modules?Robert Jaros
10/02/2024, 2:25 PMShubham Singh
10/02/2024, 2:26 PM