Open vsDizzy opened 5 months ago
transpile-only tsconfig.json TS5109
No error
TSError: ⨯ Unable to compile TypeScript: error TS5109: Option 'moduleResolution' must be set to 'NodeNext' (or left unspecified) when option 'module' is set to 'NodeNext'.
node -r ts-node/register src/app.ts
node -r ts-node/register/transpile-only src/app.ts
https://github.com/vsDizzy/ts-node-app
N/A
{ "dependencies": { "ts-node": "^10.9.2" } }
Search Terms
transpile-only tsconfig.json TS5109
Expected Behavior
No error
Actual Behavior
TSError: ⨯ Unable to compile TypeScript: error TS5109: Option 'moduleResolution' must be set to 'NodeNext' (or left unspecified) when option 'module' is set to 'NodeNext'.
Steps to reproduce the problem
node -r ts-node/register src/app.ts
- oknode -r ts-node/register/transpile-only src/app.ts
- error TS5109Minimal reproduction
https://github.com/vsDizzy/ts-node-app
Specifications