Paste the error. Get the fix.

Fixes for Windows, macOS and Linux (we detect yours; change it below). Works with gcc, Python, Java, Node, and VS Code terminal crashes.

Trace: gcc_not_found.err
Trace
powershell.exe
exit code 9009
Try an example Click to test
Error output
Auto-detected: MinGW / C compiler missing
● Diagnosis Known issue

Your computer can't find the C compiler

You ran a compile command, but Windows doesn't know where GCC is installed on your hard drive. Once you install the compiler toolchain and register its folder in your PATH setting, this will run cleanly.

Step 1: Install MSYS2 with winget Run in terminal
winget install -e --id MSYS2.MSYS2
Step 2: Add compiler directory to PATH Final step
C:\msys64\ucrt64\bin
Was this diagnosis accurate?
Recent decodes Click any error to preview
● gcc is not recognized as an internal or external command
Missing MinGW/UCRT64 in PATH environment
View fix
● Python is not recognized as an internal or external command
Missing Add to PATH checkbox at install
View fix
● ModuleNotFoundError: No module named 'numpy'
Virtual environment missing package
View fix
● IndentationError: unexpected indent
Inconsistent tabs vs 4 spaces on line 14
View fix
● NameError: name 'username' is not defined
Variable used before it was assigned
View fix
● SyntaxError: expected ':'
Missing colon after if / for / def
View fix
● ReferenceError: userName is not defined
Variable not declared or out of scope
View fix
● error: expected ';' before 'return'
Missing semicolon on the previous line
View fix
● class HelloWorld is public, should be declared in a file named HelloWorld.java
File name must match the public class
View fix
● npm ERR! enoent ENOENT: no such file or directory
Terminal opened in wrong directory
View fix
Copied to clipboard! πŸ“‹