DonJayamanne / typescript-notebook

Run JavaScript and TypeScript in node.js within VS Code notebooks with excellent support for debugging, tensorflowjs visulizations, plotly, danfojs, etc
https://marketplace.visualstudio.com/items?itemName=donjayamanne.typescript-notebook
MIT License
904 stars 39 forks source link

cannot find imports #86

Open jermatic opened 1 year ago

jermatic commented 1 year ago

vsc version: 1.80.1 node version: 18.16.0 extension version: 2.0.6 OS: Windows 10 PRO

The notebook is not recognizing packages from my node_modules, nor files in my project. ie Cannot find module 'dotenv' or its corresponding type declarations.ts(2307) Cannot find module './ormconfig.ts' or its corresponding type declarations.ts(2307)

image

lukebarton commented 1 year ago

Same, also no intellisense. This project seems a bit... quiet and needs some love.

jermatic commented 1 year ago

@DonJayamanne Can we get an update on the status of the project? It is super awesome. Id like to see it fully functional :) This is the kind of project I would donate to cause its that amazing.

jhvissotto commented 10 months ago

I have the same issue

image

But, full absolute path there is no problem

image

truemogician commented 4 months ago

@jhvissotto Same problem here. It seems that it cannot handle relative imports properly. The module resolution system is kind of buggy.