-
-
Notifications
You must be signed in to change notification settings - Fork 540
Does not support local file paths in package.json #855
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Can you make a reproducible example? I haven't had any issues with doing the same thing. |
Sure https://github.com/alexeypetrushin/file-dependency-example Instructions how to run in readme
VS Code is able to understand it correctly. |
I haven't been able to replicate this in 8.x:
However, I noticed on the latest builds (going to be v9) this will be broken and you'll be expected to use |
npm uses symlinks for I can't seem to reproduce this bug locally so I'm going to close it. |
NPM support local file path package declaration in
package.json
I specified the following dependency in my project. The VS Code can see the
mypackage
correctly, if you click on some function that's imported from there likemypackage/somefile
- it will navigate there correctly etc.But when I ran it with
ts-node
it throw an error that it can't findmypackage/somefile
package.The text was updated successfully, but these errors were encountered: