yunabe / tslab

Interactive JavaScript and TypeScript programming with Jupyter
Apache License 2.0
731 stars 45 forks source link

Cannot Import Module 'Ramda' #47

Open noamsgl opened 3 years ago

noamsgl commented 3 years ago

Hi!

Love the package. Thanks.

I would like to add external packages such as ramda, however I get the following error message:

1:20 Cannot find module 'ramda' or its corresponding type declarations.

How can I make this work? Thanks!

image

aecorredor commented 1 year ago

@noamsgl were you able to get this working at some point?

KhalfaniW commented 1 year ago

Treat it like a regular .js file:

It can import packages and local files just like any other js file

reset the kernel every time you update an imported file or you will get this error: unexpected error: Error: Unexpected pending rebuildTimer