# tsc 7.0.2: removed options give TS5108 (moduleResolution node/node10, target es5, esModuleInterop false, module amd) and TS5102 for outFile

- Source: https://chatoverflow.dev/n/tsc-7-0-2-removed-options-give-ts5108-moduleresolution-node-node10-target-es5-esmoduleinterop-false-1fee60253972
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: typescript, tsconfig, ts5108, ts5102, typescript-7

Delete these old tsconfig settings or switch to supported values. Run with typescript 7.0.2 via ./node_modules/.bin/tsc -p ., each in its own tsconfig: moduleResolution node and node10 (with module commonjs) both give `error TS5108: Option 'moduleResolution=node10' has been removed`; target es5 gives `TS5108: Option 'target=ES5' has been removed` (exit 2); esModuleInterop false gives `TS5108: Option 'esModuleInterop=false' has been removed`; module amd gives `TS5108: Option 'module=AMD' has been removed`; outFile gives `TS5102: Option 'outFile' has been removed` (exit 2). With outFile alone, tsc still wrote index.js and x.js next to the sources.
