Engineering Tools for AI

प्रोग्रामिंग

Error Message Guide

Log में असली कारण, file path, line number, warning और failure पहचानने के लिए व्यावहारिक guide।

31 मिलते आइटम

संदेश संरचना

First error line

First error line

TypeError: Cannot read properties of undefined

अर्थ

The first clear error line is often the best starting point.

कैसे पढ़ें

Ignore repeated follow-up logs at first and identify the first line that names the failure.

उदाहरण

TypeError: Cannot read properties of undefined

अनुरोध उदाहरण

Find the first real error line in this log.

संदेश संरचना

Error name

Error name

SyntaxError, TypeError, ReferenceError

अर्थ

The error name tells you the broad class of problem.

कैसे पढ़ें

Use it to separate syntax, runtime, type, network, and environment problems.

उदाहरण

SyntaxError, TypeError, ReferenceError

अनुरोध उदाहरण

Classify this error by error name before suggesting a fix.

संदेश संरचना

Error message

Error message

Module not found: Can't resolve '@/lib/error-message-guide'

अर्थ

The message explains what the tool could not do.

कैसे पढ़ें

Read the verb and object: could not resolve a module, could not read a property, or could not bind a port.

उदाहरण

Module not found: Can't resolve '@/lib/error-message-guide'

अनुरोध उदाहरण

Rewrite this error message in plain Korean and point to the likely cause.

संदेश संरचना

Stack trace

Stack trace

at SiteHeader (src/components/SiteHeader.tsx:42:15)

अर्थ

A list of function calls that led to the error.

कैसे पढ़ें

Find the first line that points to your project file, then inspect that area.

नोट

The top stack line is not always your code. Some lines are framework internals.

उदाहरण

at SiteHeader (src/components/SiteHeader.tsx:42:15)

अनुरोध उदाहरण

In this stack trace, identify the first line from my project.

स्थान संकेत

File path

File path

src/components/LanguageSwitcher.tsx

अर्थ

The path tells you which file the tool thinks is involved.

कैसे पढ़ें

Prefer paths under src, app, components, or lib before inspecting dependency folders.

उदाहरण

src/components/LanguageSwitcher.tsx

अनुरोध उदाहरण

List the project files mentioned by this error.

स्थान संकेत

Line and column

Line and column

src/app/page.tsx:27:12

अर्थ

Line and column narrow the location to a specific character area.

कैसे पढ़ें

Inspect the named line plus a few lines above it, because the real cause can start earlier.

उदाहरण

src/app/page.tsx:27:12

अनुरोध उदाहरण

Open the file around the reported line and explain what looks wrong.

स्थान संकेत

Project file line

Project file line

src/lib/git-github.ts:143:7

अर्थ

A stack or build line that points to your source code instead of a dependency.

कैसे पढ़ें

This is usually the line to inspect before reading long framework traces.

उदाहरण

src/lib/git-github.ts:143:7

अनुरोध उदाहरण

Separate my project file lines from framework lines.

स्थान संकेत

node_modules line

node_modules line

node_modules/next/dist/server/app-render.js

अर्थ

A line inside an installed dependency or framework package.

कैसे पढ़ें

Treat it as context unless the log also points to a package version or configuration problem.

नोट

Do not edit node_modules as a normal fix.

उदाहरण

node_modules/next/dist/server/app-render.js

अनुरोध उदाहरण

Tell me whether this node_modules line is the cause or just context.

JavaScript रनटाइम

SyntaxError

SyntaxError

SyntaxError: Unexpected token '}'

अर्थ

JavaScript or TypeScript could not parse the code.

कैसे पढ़ें

Check brackets, quotes, commas, JSX tags, and incomplete expressions near the reported line.

उदाहरण

SyntaxError: Unexpected token '}'

अनुरोध उदाहरण

Find the syntax problem around this line.

JavaScript रनटाइम

TypeError

TypeError

TypeError: Cannot read properties of undefined

अर्थ

A value did not have the shape or behavior the code expected at runtime.

कैसे पढ़ें

Check whether the value can be undefined, null, a string instead of an object, or a missing function.

उदाहरण

TypeError: Cannot read properties of undefined

अनुरोध उदाहरण

Trace where this undefined value comes from.

JavaScript रनटाइम

ReferenceError

ReferenceError

ReferenceError: copy is not defined

अर्थ

The code tried to use a variable or function name that is not available in that scope.

कैसे पढ़ें

Check imports, spelling, scope, and whether the variable is declared before use.

उदाहरण

ReferenceError: copy is not defined

अनुरोध उदाहरण

Find why this name is not defined.

JavaScript रनटाइम

Cannot read properties of undefined

Cannot read properties of undefined

Cannot read properties of undefined (reading 'navLabel')

अर्थ

The code tried to access a property on a value that is undefined.

कैसे पढ़ें

Check the object before the dot, such as copy, locale, params, or a map lookup result.

उदाहरण

Cannot read properties of undefined (reading 'navLabel')

अनुरोध उदाहरण

Identify which value is undefined in this error.

JavaScript रनटाइम

is not a function

is not a function

setOpenMenu is not a function

अर्थ

The code tried to call something with parentheses, but the value is not a function.

कैसे पढ़ें

Check whether a prop, import, hook result, or object method has the expected name.

उदाहरण

setOpenMenu is not a function

अनुरोध उदाहरण

Find why this value is being called as a function.

Next.js और वेब

Module not found

Module not found

Module not found: Can't resolve '@/lib/error-message-guide'

अर्थ

The bundler could not find the file or package named in an import.

कैसे पढ़ें

Check the file exists, the path spelling is exact, and the alias points to the expected folder.

उदाहरण

Module not found: Can't resolve '@/lib/error-message-guide'

अनुरोध उदाहरण

Check the import path and the actual file path.

Next.js और वेब

Export not found

Export not found

Export errorMessageGuideCopy doesn't exist in target module

अर्थ

The import name does not match any export from the target file.

कैसे पढ़ें

Compare the imported name with the exact exported const, function, or type name.

उदाहरण

Export errorMessageGuideCopy doesn't exist in target module

अनुरोध उदाहरण

Find the mismatched import or export name.

Next.js और वेब

Hydration failed

Hydration failed

Hydration failed because the server rendered HTML didn't match the client

अर्थ

The HTML generated on the server did not match what React rendered in the browser.

कैसे पढ़ें

Check browser-only values, dates, random values, localStorage, and theme state used during initial render.

उदाहरण

Hydration failed because the server rendered HTML didn't match the client

अनुरोध उदाहरण

Find the likely server and client render mismatch.

Next.js और वेब

404 Not Found

404 Not Found

GET /ko/reference/error-message-guide 404

अर्थ

The requested route or file could not be found.

कैसे पढ़ें

Check the route folder, generateStaticParams, link href, and exported static output path.

उदाहरण

GET /ko/reference/error-message-guide 404

अनुरोध उदाहरण

Check why this route returns 404.

Next.js और वेब

500 Internal Server Error

500 Internal Server Error

GET /ko 500

अर्थ

The server received the request but failed while processing it.

कैसे पढ़ें

Look at the terminal log from the same request, not only the browser status code.

उदाहरण

GET /ko 500

अनुरोध उदाहरण

Match this browser 500 with the terminal error that caused it.

TypeScript और lint

Property does not exist on type

Property does not exist on type

Property 'navLabel' does not exist on type 'string'

अर्थ

TypeScript says the value's declared type does not include that property.

कैसे पढ़ें

Check whether the value has the correct type, whether it was indexed correctly, and whether the data shape changed.

उदाहरण

Property 'navLabel' does not exist on type 'string'

अनुरोध उदाहरण

Explain why TypeScript thinks this property does not exist.

TypeScript और lint

Type is not assignable

Type is not assignable

Type 'string' is not assignable to type 'Locale'

अर्थ

A value is being passed somewhere that expects a different type.

कैसे पढ़ें

Compare the actual value type with the expected type named after 'to type'.

उदाहरण

Type 'string' is not assignable to type 'Locale'

अनुरोध उदाहरण

Show the actual type and expected type in this error.

TypeScript और lint

ESLint error

ESLint error

React Hook useEffect has a missing dependency

अर्थ

A static analysis rule found code that may be unsafe, inconsistent, or against project style.

कैसे पढ़ें

Read the rule name and the file line, then decide whether the code or dependency list should change.

उदाहरण

React Hook useEffect has a missing dependency

अनुरोध उदाहरण

Explain this lint error and fix it without changing behavior.

Next.js और वेब

Build failed

Build failed

Failed to compile.

अर्थ

The production build could not finish.

कैसे पढ़ें

Scroll above the summary and find the first compile, type, lint, or route error.

उदाहरण

Failed to compile.

अनुरोध उदाहरण

From this build log, identify the first blocking failure.

टर्मिनल और सिस्टम

EADDRINUSE

EADDRINUSE

Error: listen EADDRINUSE: address already in use :::3001

अर्थ

The server tried to use a port that another process is already using.

कैसे पढ़ें

Stop the old server or run the new server on a different port.

उदाहरण

Error: listen EADDRINUSE: address already in use :::3001

अनुरोध उदाहरण

Find what is using this port and suggest the safest next step.

टर्मिनल और सिस्टम

ENOENT

ENOENT

ENOENT: no such file or directory, open 'next.config.js'

अर्थ

The process tried to open a file or folder that does not exist at that path.

कैसे पढ़ें

Check the current working directory, filename spelling, extension, and generated files.

उदाहरण

ENOENT: no such file or directory, open 'next.config.js'

अनुरोध उदाहरण

Check whether this file is missing or the command is running from the wrong folder.

टर्मिनल और सिस्टम

Permission denied

Permission denied

Operation not permitted

अर्थ

The process does not have permission to read, write, or execute the target.

कैसे पढ़ें

Check sandbox rules, file permissions, protected folders, and whether approval is needed.

नोट

Do not fix permission errors by broadly changing permissions unless you understand the target.

उदाहरण

Operation not permitted

अनुरोध उदाहरण

Explain why this permission error happened and what approval is needed.

टर्मिनल और सिस्टम

Command not found

Command not found

zsh: command not found: next

अर्थ

The shell cannot find an executable command with that name.

कैसे पढ़ें

Check whether dependencies are installed, whether npm scripts should be used, and whether PATH is set.

उदाहरण

zsh: command not found: next

अनुरोध उदाहरण

Tell me whether I should run an npm script instead of this command.

डीबग क्रम

Warning

Warning

DeprecationWarning: module.register() is deprecated

अर्थ

A warning says something may need attention, but it may not stop the current command.

कैसे पढ़ें

Check whether the command still completed successfully before treating the warning as a failure.

उदाहरण

DeprecationWarning: module.register() is deprecated

अनुरोध उदाहरण

Separate blocking errors from non-blocking warnings in this output.

डीबग क्रम

DeprecationWarning

DeprecationWarning

DeprecationWarning: module.register() is deprecated

अर्थ

A feature still works now but is planned to be replaced or removed later.

कैसे पढ़ें

If build passes, record it as a follow-up unless it points to your code or a required upgrade.

उदाहरण

DeprecationWarning: module.register() is deprecated

अनुरोध उदाहरण

Tell me whether this DeprecationWarning blocks deployment.

डीबग क्रम

Recent change

Recent change

The error started after editing SiteHeader.tsx

अर्थ

The most recent related edit is often the highest-value clue.

कैसे पढ़ें

Compare the error location with files modified in the current task.

उदाहरण

The error started after editing SiteHeader.tsx

अनुरोध उदाहरण

Compare this error with the files changed most recently.

डीबग क्रम

Reproduce step

Reproduce step

Open /ko, click the language menu, then click the site menu

अर्थ

The smallest action sequence that makes the error appear again.

कैसे पढ़ें

Clear reproduce steps make it possible to verify that the fix actually works.

उदाहरण

Open /ko, click the language menu, then click the site menu

अनुरोध उदाहरण

Turn this description into exact reproduce steps.

डीबग क्रम

Minimal log

Minimal log

Error line + file path + stack line from src

अर्थ

A short set of log lines that preserves the actual failure and location.

कैसे पढ़ें

Keep the first error, the project file path, the command, and the final success or failure summary.

उदाहरण

Error line + file path + stack line from src

अनुरोध उदाहरण

Compress this long log into the minimal lines needed for debugging.