CHALLENGE 2: Debug the tsconfig ================================== ANSWER: The command you forgot is: npx tsc --init EXPLANATION: - "npx tsc --init" generates a tsconfig.json file in your project directory - Without this file, the TypeScript compiler doesn't know how to compile your code - Once tsconfig.json exists, "npx tsc" (without --init) will use those settings COMMON MISTAKES: - Running "tsc --init" globally won't help if TypeScript is installed locally - Always use "npx tsc --init" to use the local installation - Some IDEs auto-generate tsconfig.json, but it's good to understand this command AFTER RUNNING npx tsc --init: - A tsconfig.json file appears in your project root - You can now run "npx tsc" to compile all files - The compiled files go to the output directory (usually "dist" or "build") WHAT'S INSIDE tsconfig.json: - compilerOptions: How to compile your code - include: Which files to compile - exclude: Which files to skip - The defaults usually work fine for beginners