Open StokeMasterJack opened 7 years ago
Most likely frontend plugin doesn't unpack source maps
making progress with this one:
I found the file needed (kotlinx-html-js.js.map) in:
frontend/build/tmp/expandedArchives/kotlinx-html-js-0.6.2.jar_e71v0axznn9quz3zm11v28wlo/
but this only leads to paths like:
/mnt/agent/work/98f895b616b33a5e/target/checkout/shared/src/main/kotlin/generated/gen-tags-a.kt
and that path is deep inside my frontend/build/node_modules/ dir
not just gen-tags-a but lots of them like:
/mnt/agent/work/98f895b616b33a5e/target/checkout/shared/src/main/kotlin/filter-consumer.kt /mnt/agent/work/98f895b616b33a5e/target/checkout/shared/src/main/kotlin/delayed-consumer.kt /mnt/agent/work/98f895b616b33a5e/target/checkout/shared/src/main/kotlin/generated/gen-tag-unions.kt etc
The NPE at line 51 of gen-tags-a.kt is nice, but I want to see the line number in my kt file. Why does it stop at gen-tags-a when I'm causing the NPE inside my app?
fyi from Alexey Andreev:
Please, try EAP 1.1.4, which contains a lot of fixes for source maps
Cannot find resource with the requested URI: /frontend/kotlinx-html-js.js.map