Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Not able to load source map #8

Open
StokeMasterJack opened this issue May 11, 2017 · 3 comments
Open

Not able to load source map #8

StokeMasterJack opened this issue May 11, 2017 · 3 comments
Assignees

Comments

@StokeMasterJack
Copy link

Cannot find resource with the requested URI: /frontend/kotlinx-html-js.js.map

@cy6erGn0m
Copy link
Contributor

Most likely frontend plugin doesn't unpack source maps

@cy6erGn0m cy6erGn0m self-assigned this May 15, 2017
@andrewarrow
Copy link

andrewarrow commented Jul 19, 2017

making progress with this one:

sm

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?

@andrewarrow
Copy link

andrewarrow commented Jul 20, 2017

fyi from Alexey Andreev:

Please, try EAP 1.1.4, which contains a lot of fixes for source maps

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants