New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import resolves to local file instead of node module #209
Comments
cc: @jonaskello |
I had the same problem.
|
I have this issue as well. If there is a local file at the root with name matching to one of node_modules, then that file completely replaces module in imports (and this breaks things) |
Hey, we just stumbled over this and realized tsconfig-paths isn't using node's path resolution algorithm which breaks the system for a monorepo setup. This line needs to use |
Originally filed on
ts-node
, but the problem seems to be related totsconfig-paths
, detailed info: TypeStrong/ts-node#1732This seems to be related: https://stackoverflow.com/questions/66329553/ts-node-requires-newrelic-js-instead-of-node-module
The text was updated successfully, but these errors were encountered: