Hi guys! I'm trying to migrate the project to the ...
# multiplatform
s
Hi guys! I'm trying to migrate the project to the new mpp plugin, android and backend looks pretty nice, but javascript fails. The project compiles perfectly, but I'm getting this error when I run the app:
Copy code
Uncaught Error: Error loading module 'common'. Its dependency 'kotlin' was not found. Please, check whether 'kotlin' is loaded prior to 'common'.
    at eval (common.js:2)
    at Object../common.js (main.bundle.js:1518)
    at __webpack_require__ (main.bundle.js:725)
    at fn (main.bundle.js:102)
    at eval (frontend.js:773)
    at Object../frontend.js (main.bundle.js:1529)
    at __webpack_require__ (main.bundle.js:725)
    at fn (main.bundle.js:102)
    at eval (client:3)
    at Object.0 (main.bundle.js:1606)
Looks like it can't find the "common.js" module, I've tried to find this file and copy it manually to build/bundle/ folder on the js module,but getting the same issue. The full code is available here in this branch -> https://github.com/sergiocasero/votlin-app/tree/new_mpp_plugin Maybe I need an extra task?