Meldungsstruktur
First error line
First error line
TypeError: Cannot read properties of undefined
Bedeutung
The first clear error line is often the best starting point.
Lesart
Ignore repeated follow-up logs at first and identify the first line that names the failure.
Beispiel
TypeError: Cannot read properties of undefinedAnfragebeispiel
Find the first real error line in this log.
Meldungsstruktur
Error name
Error name
SyntaxError, TypeError, ReferenceError
Bedeutung
The error name tells you the broad class of problem.
Lesart
Use it to separate syntax, runtime, type, network, and environment problems.
Beispiel
SyntaxError, TypeError, ReferenceErrorAnfragebeispiel
Classify this error by error name before suggesting a fix.
Meldungsstruktur
Error message
Error message
Module not found: Can't resolve '@/lib/error-message-guide'
Bedeutung
The message explains what the tool could not do.
Lesart
Read the verb and object: could not resolve a module, could not read a property, or could not bind a port.
Beispiel
Module not found: Can't resolve '@/lib/error-message-guide'Anfragebeispiel
Rewrite this error message in plain Korean and point to the likely cause.
Meldungsstruktur
Stack trace
Stack trace
at SiteHeader (src/components/SiteHeader.tsx:42:15)
Bedeutung
A list of function calls that led to the error.
Lesart
Find the first line that points to your project file, then inspect that area.
Hinweis
The top stack line is not always your code. Some lines are framework internals.
Beispiel
at SiteHeader (src/components/SiteHeader.tsx:42:15)Anfragebeispiel
In this stack trace, identify the first line from my project.
Positionshinweise
File path
File path
src/components/LanguageSwitcher.tsx
Bedeutung
The path tells you which file the tool thinks is involved.
Lesart
Prefer paths under src, app, components, or lib before inspecting dependency folders.
Beispiel
src/components/LanguageSwitcher.tsxAnfragebeispiel
List the project files mentioned by this error.
Positionshinweise
Line and column
Line and column
src/app/page.tsx:27:12
Bedeutung
Line and column narrow the location to a specific character area.
Lesart
Inspect the named line plus a few lines above it, because the real cause can start earlier.
Beispiel
src/app/page.tsx:27:12Anfragebeispiel
Open the file around the reported line and explain what looks wrong.
Positionshinweise
Project file line
Project file line
src/lib/git-github.ts:143:7
Bedeutung
A stack or build line that points to your source code instead of a dependency.
Lesart
This is usually the line to inspect before reading long framework traces.
Beispiel
src/lib/git-github.ts:143:7Anfragebeispiel
Separate my project file lines from framework lines.
Positionshinweise
node_modules line
node_modules line
node_modules/next/dist/server/app-render.js
Bedeutung
A line inside an installed dependency or framework package.
Lesart
Treat it as context unless the log also points to a package version or configuration problem.
Hinweis
Do not edit node_modules as a normal fix.
Beispiel
node_modules/next/dist/server/app-render.jsAnfragebeispiel
Tell me whether this node_modules line is the cause or just context.
JavaScript-Laufzeit
SyntaxError
SyntaxError
SyntaxError: Unexpected token '}'
Bedeutung
JavaScript or TypeScript could not parse the code.
Lesart
Check brackets, quotes, commas, JSX tags, and incomplete expressions near the reported line.
Beispiel
SyntaxError: Unexpected token '}'Anfragebeispiel
Find the syntax problem around this line.
JavaScript-Laufzeit
TypeError
TypeError
TypeError: Cannot read properties of undefined
Bedeutung
A value did not have the shape or behavior the code expected at runtime.
Lesart
Check whether the value can be undefined, null, a string instead of an object, or a missing function.
Beispiel
TypeError: Cannot read properties of undefinedAnfragebeispiel
Trace where this undefined value comes from.
JavaScript-Laufzeit
ReferenceError
ReferenceError
ReferenceError: copy is not defined
Bedeutung
The code tried to use a variable or function name that is not available in that scope.
Lesart
Check imports, spelling, scope, and whether the variable is declared before use.
Beispiel
ReferenceError: copy is not definedAnfragebeispiel
Find why this name is not defined.
JavaScript-Laufzeit
Cannot read properties of undefined
Cannot read properties of undefined
Cannot read properties of undefined (reading 'navLabel')
Bedeutung
The code tried to access a property on a value that is undefined.
Lesart
Check the object before the dot, such as copy, locale, params, or a map lookup result.
Beispiel
Cannot read properties of undefined (reading 'navLabel')Anfragebeispiel
Identify which value is undefined in this error.
JavaScript-Laufzeit
is not a function
is not a function
setOpenMenu is not a function
Bedeutung
The code tried to call something with parentheses, but the value is not a function.
Lesart
Check whether a prop, import, hook result, or object method has the expected name.
Beispiel
setOpenMenu is not a functionAnfragebeispiel
Find why this value is being called as a function.
Next.js und Web
Module not found
Module not found
Module not found: Can't resolve '@/lib/error-message-guide'
Bedeutung
The bundler could not find the file or package named in an import.
Lesart
Check the file exists, the path spelling is exact, and the alias points to the expected folder.
Beispiel
Module not found: Can't resolve '@/lib/error-message-guide'Anfragebeispiel
Check the import path and the actual file path.
Next.js und Web
Export not found
Export not found
Export errorMessageGuideCopy doesn't exist in target module
Bedeutung
The import name does not match any export from the target file.
Lesart
Compare the imported name with the exact exported const, function, or type name.
Beispiel
Export errorMessageGuideCopy doesn't exist in target moduleAnfragebeispiel
Find the mismatched import or export name.
Next.js und Web
Hydration failed
Hydration failed
Hydration failed because the server rendered HTML didn't match the client
Bedeutung
The HTML generated on the server did not match what React rendered in the browser.
Lesart
Check browser-only values, dates, random values, localStorage, and theme state used during initial render.
Beispiel
Hydration failed because the server rendered HTML didn't match the clientAnfragebeispiel
Find the likely server and client render mismatch.
Next.js und Web
404 Not Found
404 Not Found
GET /ko/reference/error-message-guide 404
Bedeutung
The requested route or file could not be found.
Lesart
Check the route folder, generateStaticParams, link href, and exported static output path.
Beispiel
GET /ko/reference/error-message-guide 404Anfragebeispiel
Check why this route returns 404.
Next.js und Web
500 Internal Server Error
500 Internal Server Error
GET /ko 500
Bedeutung
The server received the request but failed while processing it.
Lesart
Look at the terminal log from the same request, not only the browser status code.
Beispiel
GET /ko 500Anfragebeispiel
Match this browser 500 with the terminal error that caused it.
TypeScript und lint
Property does not exist on type
Property does not exist on type
Property 'navLabel' does not exist on type 'string'
Bedeutung
TypeScript says the value's declared type does not include that property.
Lesart
Check whether the value has the correct type, whether it was indexed correctly, and whether the data shape changed.
Beispiel
Property 'navLabel' does not exist on type 'string'Anfragebeispiel
Explain why TypeScript thinks this property does not exist.
TypeScript und lint
Type is not assignable
Type is not assignable
Type 'string' is not assignable to type 'Locale'
Bedeutung
A value is being passed somewhere that expects a different type.
Lesart
Compare the actual value type with the expected type named after 'to type'.
Beispiel
Type 'string' is not assignable to type 'Locale'Anfragebeispiel
Show the actual type and expected type in this error.
TypeScript und lint
ESLint error
ESLint error
React Hook useEffect has a missing dependency
Bedeutung
A static analysis rule found code that may be unsafe, inconsistent, or against project style.
Lesart
Read the rule name and the file line, then decide whether the code or dependency list should change.
Beispiel
React Hook useEffect has a missing dependencyAnfragebeispiel
Explain this lint error and fix it without changing behavior.
Next.js und Web
Build failed
Build failed
Failed to compile.
Bedeutung
The production build could not finish.
Lesart
Scroll above the summary and find the first compile, type, lint, or route error.
Beispiel
Failed to compile.Anfragebeispiel
From this build log, identify the first blocking failure.
Terminal und System
EADDRINUSE
EADDRINUSE
Error: listen EADDRINUSE: address already in use :::3001
Bedeutung
The server tried to use a port that another process is already using.
Lesart
Stop the old server or run the new server on a different port.
Beispiel
Error: listen EADDRINUSE: address already in use :::3001Anfragebeispiel
Find what is using this port and suggest the safest next step.
Terminal und System
ENOENT
ENOENT
ENOENT: no such file or directory, open 'next.config.js'
Bedeutung
The process tried to open a file or folder that does not exist at that path.
Lesart
Check the current working directory, filename spelling, extension, and generated files.
Beispiel
ENOENT: no such file or directory, open 'next.config.js'Anfragebeispiel
Check whether this file is missing or the command is running from the wrong folder.
Terminal und System
Permission denied
Permission denied
Operation not permitted
Bedeutung
The process does not have permission to read, write, or execute the target.
Lesart
Check sandbox rules, file permissions, protected folders, and whether approval is needed.
Hinweis
Do not fix permission errors by broadly changing permissions unless you understand the target.
Beispiel
Operation not permittedAnfragebeispiel
Explain why this permission error happened and what approval is needed.
Terminal und System
Command not found
Command not found
zsh: command not found: next
Bedeutung
The shell cannot find an executable command with that name.
Lesart
Check whether dependencies are installed, whether npm scripts should be used, and whether PATH is set.
Beispiel
zsh: command not found: nextAnfragebeispiel
Tell me whether I should run an npm script instead of this command.
Debug-Reihenfolge
Warning
Warning
DeprecationWarning: module.register() is deprecated
Bedeutung
A warning says something may need attention, but it may not stop the current command.
Lesart
Check whether the command still completed successfully before treating the warning as a failure.
Beispiel
DeprecationWarning: module.register() is deprecatedAnfragebeispiel
Separate blocking errors from non-blocking warnings in this output.
Debug-Reihenfolge
DeprecationWarning
DeprecationWarning
DeprecationWarning: module.register() is deprecated
Bedeutung
A feature still works now but is planned to be replaced or removed later.
Lesart
If build passes, record it as a follow-up unless it points to your code or a required upgrade.
Beispiel
DeprecationWarning: module.register() is deprecatedAnfragebeispiel
Tell me whether this DeprecationWarning blocks deployment.
Debug-Reihenfolge
Recent change
Recent change
The error started after editing SiteHeader.tsx
Bedeutung
The most recent related edit is often the highest-value clue.
Lesart
Compare the error location with files modified in the current task.
Beispiel
The error started after editing SiteHeader.tsxAnfragebeispiel
Compare this error with the files changed most recently.
Debug-Reihenfolge
Reproduce step
Reproduce step
Open /ko, click the language menu, then click the site menu
Bedeutung
The smallest action sequence that makes the error appear again.
Lesart
Clear reproduce steps make it possible to verify that the fix actually works.
Beispiel
Open /ko, click the language menu, then click the site menuAnfragebeispiel
Turn this description into exact reproduce steps.
Debug-Reihenfolge
Minimal log
Minimal log
Error line + file path + stack line from src
Bedeutung
A short set of log lines that preserves the actual failure and location.
Lesart
Keep the first error, the project file path, the command, and the final success or failure summary.
Beispiel
Error line + file path + stack line from srcAnfragebeispiel
Compress this long log into the minimal lines needed for debugging.