starscope icon indicating copy to clipboard operation
starscope copied to clipboard

JS/TS support is flaky and unmaintained

Open sparkcanon opened this issue 5 years ago • 2 comments

Hi,

Thanks for your work on this.

I am facing a compile error while building the database which crashes the process for a javascript and typescript project.

Screenshot 2020-03-18 at 23 13 50

any pointers on how to solve this? I reckon it's because of the babel version in starscope?

sparkcanon avatar Mar 18 '20 23:03 sparkcanon

This is quite possible. The last time I looked at stuff like this there were a bunch of issues in the ruby community with various projects (like babel-transpiler gem) being abandoned and no clear path forward for parsing modern JS. I don't have time to dig into this myself right now, but if there's a new gem version or an entirely new gem or something to migrate to, I'm happy to take PRs or suggestions.

eapache avatar Mar 19 '20 13:03 eapache

With my limited search, I couldn't find any alternative yet as I am not much into the ruby universe. Alternatively, we could look at babel as a third-party dependency that must be downloaded separately for starscope to work (until an suitable alternative to babel-transpiler is found) with modern JS?

sparkcanon avatar Mar 19 '20 16:03 sparkcanon