yunabe / tslab

Interactive JavaScript and TypeScript programming with Jupyter
Apache License 2.0
702 stars 44 forks source link

Can not resolve JSON module #43

Closed djbusstop closed 3 years ago

djbusstop commented 4 years ago

I am using tslab for data analysis, and I am trying to import a .json file to a notebook. However, it's throwing the error:

2:23 - Cannot find module '******.json'. Consider using '--resolveJsonModule' to import module with '.json' extension

This issue seems like a variation of this one: https://github.com/yunabe/tslab/issues/25, however you fixed this issue by enabling this flag in the global config. Is it possible to set this manually, or would you be able to do the same and set this flag globally? To me, it makes sense to allow .json file resolution by default in a notebook.

Thank you!

yunabe commented 3 years ago

This was fixed in v1.0.15.