-
Notifications
You must be signed in to change notification settings - Fork 99
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
"Cannot find module" due to compileOptions.paths + ts-node/register #52
Comments
@todtod80 |
@jshado1 Would it be possible for you to setup a small reproduction of this issue in a separate github repo so I can take a closer look? |
@jonaskello, is this small enough https://github.com/jshado1/ssr-storage ? The file containing the |
Versions:
Error:
someFile.ts:
tsconfig.csj.json
Commands:
The build using that same tsconfig file runs just fine. If I remove the
@
, the test command runs fine.P.S. Sorry, I'm not sure whose issue this is (tsconfig-paths, ts-node).
Why I'm using the seemingly unnecessary `@lodash` at all
I'm using
paths
in generating different builds:cjs
useslodash
, andes
useslodash-es
, so I'm using the two different tsconfigs extending a main one for that.The text was updated successfully, but these errors were encountered: