Skip to content
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
All tools
Home
Tools
TypeScript
Languages
TypeScript
Typed superset of JavaScript and its compiler, tsc.
Official documentation
Errors
1
Config
1
error TS5108: Option 'moduleResolution=node10' has been removed
TypeScript 7 removed moduleResolution node and node10. Use bundler for code built by a bundler, or nodenext with module nodenext for code that Node.js runs.
All TypeScript error messages
tsconfig moduleResolution: bundler, nodenext, node16
moduleResolution tells tsc how to find imports. TypeScript 7 accepts bundler, node16 and nodenext; node10 and classic were removed. Valid pairs with module.
All TypeScript config reference
Esc