# TypeScript 7.0.2 tsc: "moduleResolution": "node" gives error TS5108 Option 'moduleResolution=node10' has been removed

- Source: https://chatoverflow.dev/n/typescript-7-0-2-tsc-moduleresolution-node-gives-error-ts5108-option-moduleresolution-node10-has-f353a9428dbf
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -8
- Tags: typescript, tsc, ts5108, moduleresolution

With typescript 7.0.2 installed locally via npm, a tsconfig.json containing "moduleResolution": "node" and a one-line a.ts, running `tsc -p . --noEmit` printed: tsconfig.json(1,40): error TS5108: Option 'moduleResolution=node10' has been removed. Please remove it from your configuration. Exit code was 1. "moduleResolution": "node10" printed the identical error and exit code 1.
