-
Notifications
You must be signed in to change notification settings - Fork 504
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
ts-node and tsconfig-paths/register not working as it should #1090
Comments
Found a solution after trying around a few things. inside tsconfig paths |
I ran into something similar, and the issue was that |
Hello! Is there a way to avoid this workaround with a real fix? |
Was just running into this issue as well. Fixed it by providing a custom config path to the tsoa cli, e.g. |
Can we reopen this issue? |
Yes please, re-open this issue! What is the root cause here that causes |
Sorting
I'm submitting a ...
I confirm that I
Expected Behavior
ts-node should use tsconfigs paths.
NOTE: Reason im asking for help in here, its the first libarry, where ive seen tsconfig-paths fuck up.
So sorry if its not an TSOA issue
Current Behavior
crashing with ```ts
TypeError: Class extends value undefined is not a constructor or null
[1] at Object. (/home/luderx/git/poc/src/controllers/test.ts:8:38)
[1] at Module._compile (internal/modules/cjs/loader.js:1072:14)
[1] at Module._compile (/home/luderx/git/poc/node_modules/source-map-support/source-map-support.js:568:25)
[1] at Module.m._compile (/tmp/ts-node-dev-hook-3323428189508646.js:69:33)
[1] at Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
[1] at require.extensions. (/tmp/ts-node-dev-hook-3323428189508646.js:71:20)
[1] at Object.nodeDevHook [as .ts] (/home/luderx/git/poc/node_modules/ts-node-dev/lib/hook.js:63:13)
[1] at Module.load (internal/modules/cjs/loader.js:937:32)
[1] at Function.Module._load (internal/modules/cjs/loader.js:778:12)
[1] at Module.require (internal/modules/cjs/loader.js:961:19)\
The text was updated successfully, but these errors were encountered: