Engineering Tools for AI

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

Dev server और deployment शब्द

Local server, network URL, port, build, deploy, warnings और आम web errors के लिए संदर्भ।

42 परिणाम

लोकल विकास

localhost

localhost

http://localhost:3001

अर्थ

A hostname that points back to the same computer that is running the browser or command.

उपयोग

Use localhost when checking the site on the same Mac or PC where the dev server is running.

ध्यान दें

A phone or tablet has its own localhost, so it cannot use your Mac's localhost address.

उदाहरण

http://localhost:3001

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

Open the local site at localhost and check the new reference page.

लोकल विकास

127.0.0.1

127.0.0.1

http://127.0.0.1:3001

अर्थ

A loopback IP address that also points to the same local computer.

उपयोग

It is often interchangeable with localhost for same-device testing.

उदाहरण

http://127.0.0.1:3001

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

Try 127.0.0.1 if localhost does not resolve correctly.

लोकल विकास

Dev server

Dev server

npm run dev

अर्थ

A server used while developing, with fast rebuilds and development-only features.

उपयोग

Use it to preview changes before building or deploying the site.

ध्यान दें

Dev server behavior is not always identical to deployed production behavior.

उदाहरण

npm run dev

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

Start the dev server so I can check the page on my iPhone.

लोकल विकास

Port

Port

http://localhost:3001

अर्थ

A number that identifies which server process should receive the connection on a machine.

उपयोग

If one server uses port 3001, another server must use a different port such as 3002.

उदाहरण

http://localhost:3001

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

If port 3001 is already in use, start the dev server on another port.

लोकल विकास

Local URL

Local URL

Local: http://localhost:3001

अर्थ

The address used from the same device where the dev server is running.

उपयोग

Use Local URL for desktop browser checks on the development machine.

उदाहरण

Local: http://localhost:3001

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

Tell me the Local URL after starting the dev server.

नेटवर्क पहुँच

Network URL

Network URL

Network: http://172.30.1.55:3001

अर्थ

An address other devices on the same network can use to reach the dev server.

उपयोग

Use it when checking the site from an iPhone, iPad, or another computer on the same Wi-Fi.

ध्यान दें

The dev server must listen on a network-accessible host such as 0.0.0.0.

उदाहरण

Network: http://172.30.1.55:3001

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

Start the dev server with a Network URL so I can test it on my iPad.

नेटवर्क पहुँच

IP address

IP address

172.30.1.55

अर्थ

A numeric address that identifies a device on a network.

उपयोग

A LAN IP lets another device on the same Wi-Fi reach your dev server.

ध्यान दें

Local network IPs can change when Wi-Fi or router conditions change.

उदाहरण

172.30.1.55

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

Use the current LAN IP when adding allowedDevOrigins for device testing.

नेटवर्क पहुँच

Host

Host

--hostname 0.0.0.0

अर्थ

The address a server binds to when it starts listening for requests.

उपयोग

Binding to 0.0.0.0 allows the dev server to be reachable from other devices on the network.

उदाहरण

--hostname 0.0.0.0

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

Run the dev server with hostname 0.0.0.0 for phone testing.

नेटवर्क पहुँच

Same network

Same network

Mac and iPhone on the same Wi-Fi

अर्थ

Devices connected to the same local network, usually the same Wi-Fi router.

उपयोग

A phone can reach your Mac's dev server only when network settings allow it.

उदाहरण

Mac and iPhone on the same Wi-Fi

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

Check that the iPhone and Mac are on the same network before debugging the site.

Next.js व्यवहार

allowedDevOrigins

allowedDevOrigins

allowedDevOrigins: ['172.30.1.55']

अर्थ

A Next.js development setting that allows specific origins to access development resources.

उपयोग

It can be needed when testing a Next dev server from a phone or tablet using a LAN IP.

ध्यान दें

This is a development setting. Deployed static sites do not use the same dev-resource access path.

उदाहरण

allowedDevOrigins: ['172.30.1.55']

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

Add my current LAN IP to allowedDevOrigins for development testing.

नेटवर्क पहुँच

Cross-origin

Cross-origin

Blocked cross-origin request

अर्थ

A request between different origins, where scheme, host, or port differs.

उपयोग

Development tools may block cross-origin access to sensitive dev resources by default.

उदाहरण

Blocked cross-origin request

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

Explain whether this cross-origin warning affects production deployment.

Next.js व्यवहार

HMR

HMR

/_next/webpack-hmr

अर्थ

Hot Module Replacement updates the browser during development without a full reload.

उपयोग

If HMR dev resources are blocked, the page may load but interactive updates or scripts can behave strangely in development.

ध्यान दें

HMR is development-only and is not part of the final static export.

उदाहरण

/_next/webpack-hmr

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

Check whether the iPhone issue is caused by blocked HMR dev resources.

Next.js व्यवहार

Turbopack

Turbopack

Next.js 16.2.5 (Turbopack)

अर्थ

A bundler used by Next.js for development and build workflows.

उपयोग

You may see its name in dev server or build output.

उदाहरण

Next.js 16.2.5 (Turbopack)

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

Summarize the Turbopack output and tell me whether the build succeeded.

Next.js व्यवहार

App Router

App Router

src/app/[locale]/reference/page.tsx

अर्थ

The Next.js routing system based on the app directory.

उपयोग

Adding a page.tsx file under a folder creates a route.

उदाहरण

src/app/[locale]/reference/page.tsx

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

Add the new reference page using the App Router folder structure.

Next.js व्यवहार

generateStaticParams

generateStaticParams

generateStaticParams()

अर्थ

A Next.js function that declares which dynamic routes should be generated at build time.

उपयोग

Locale pages use it to create /en, /ko, /ja, and other language paths.

उदाहरण

generateStaticParams()

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

Make sure the new reference page has generateStaticParams for all locales.

बिल्ड और आउटपुट

Build

Build

npm run build

अर्थ

The process that compiles and prepares the site for production or static output.

उपयोग

Run build before deployment to catch TypeScript, route, and static generation problems.

उदाहरण

npm run build

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

Run the build and confirm the new route is generated.

बिल्ड और आउटपुट

Lint

Lint

npm run lint

अर्थ

A static code check that catches style, correctness, and framework-rule issues.

उपयोग

Lint is a quick check before build or commit.

उदाहरण

npm run lint

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

Run lint after editing the reference pages.

बिल्ड और आउटपुट

Static export

Static export

output: "export"

अर्थ

A build output where pages are generated as static files instead of needing a running server.

उपयोग

Static export is useful for hosting sites as prebuilt HTML, CSS, and JavaScript files.

ध्यान दें

Some server-only features do not work with static export.

उदाहरण

output: "export"

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

Keep the new page compatible with static export.

बिल्ड और आउटपुट

SSG

SSG

● (SSG) prerendered as static HTML

अर्थ

Static Site Generation creates pages at build time.

उपयोग

Reference pages with generateStaticParams are generated for each locale during build.

उदाहरण

● (SSG) prerendered as static HTML

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

Confirm that the reference route appears as SSG in the build output.

बिल्ड और आउटपुट

Prerender

Prerender

prerendered as static content

अर्थ

Rendering a page before a user requests it, usually during build.

उपयोग

Prerendered pages load fast because HTML already exists.

उदाहरण

prerendered as static content

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

Check that all locale pages are prerendered successfully.

बिल्ड और आउटपुट

Bundle

Bundle

static JS bundle

अर्थ

Compiled files that combine code and dependencies for the browser.

उपयोग

Large bundles can affect load speed and should be watched as the site grows.

उदाहरण

static JS bundle

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

Avoid adding a heavy library just for a simple reference page.

डिप्लॉयमेंट

Deploy

Deploy

deploy static output

अर्थ

Publishing the built site so users can access it on the web.

उपयोग

Deployment happens after local checks, lint, and build pass.

उदाहरण

deploy static output

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

Do not deploy yet; just prepare the page and run build.

डिप्लॉयमेंट

Production

Production

production deployment

अर्थ

The real deployed environment that users access.

उपयोग

Production should be tested differently from the local dev server because dev-only features are absent.

उदाहरण

production deployment

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

Explain whether this warning affects production or only development.

डिप्लॉयमेंट

Hosting

Hosting

static hosting provider

अर्थ

The service or server that stores and serves the deployed site files.

उपयोग

Static export can be served by static hosting when server logic is not required.

उदाहरण

static hosting provider

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

Make sure the output works on static hosting.

डिप्लॉयमेंट

Domain

Domain

example.com

अर्थ

The human-readable address users type to reach a site.

उपयोग

A domain points to the deployed hosting location through DNS.

उदाहरण

example.com

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

Do not hard-code localhost in links that should work on the production domain.

डिप्लॉयमेंट

DNS

DNS

A record / CNAME record

अर्थ

The system that maps a domain name to the server or hosting target.

उपयोग

DNS must be configured correctly for a custom domain to reach the deployed site.

उदाहरण

A record / CNAME record

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

Explain whether the issue is a DNS problem or an app build problem.

डिप्लॉयमेंट

Cache

Cache

clear browser cache

अर्थ

Stored copies of files or responses used to load pages faster.

उपयोग

After deployment, old cached files can make a browser show a previous version for a while.

उदाहरण

clear browser cache

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

Check whether the old page is still showing because of cache.

रनटाइम

Node.js

Node.js

node --version

अर्थ

A JavaScript runtime used to run development tools, build scripts, and servers.

उपयोग

Next.js dev and build commands run on Node.js.

उदाहरण

node --version

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

Tell me whether this warning comes from Node.js, Next.js, or my app code.

रनटाइम

npm

npm

npm run build

अर्थ

A package manager and script runner commonly used in JavaScript projects.

उपयोग

package.json defines scripts such as dev, lint, and build that npm can run.

उदाहरण

npm run build

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

Run the npm build script and summarize the result.

रनटाइम

package.json

package.json

"scripts": { "dev": "next dev -p 3001" }

अर्थ

A project file that defines scripts, dependencies, and package metadata.

उपयोग

Check package.json to know which commands the project expects you to run.

उदाहरण

"scripts": { "dev": "next dev -p 3001" }

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

Check package.json before deciding which dev command to run.

रनटाइम

Environment variable

Environment variable

NEXT_PUBLIC_SITE_URL=https://example.com

अर्थ

A value supplied to the app or build environment outside the source code.

उपयोग

Environment variables are used for site URLs, API keys, and deployment-specific settings.

ध्यान दें

Secrets should not be exposed through public client-side variables.

उदाहरण

NEXT_PUBLIC_SITE_URL=https://example.com

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

Do not hard-code the production site URL if an environment variable already exists.

त्रुटियाँ और चेतावनी

404

404

404 Not Found

अर्थ

An error meaning the requested page or file was not found.

उपयोग

It can happen when a route was deleted, renamed, or not generated in static output.

उदाहरण

404 Not Found

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

Check whether the old programming-basics URL now returns 404 after removal.

त्रुटियाँ और चेतावनी

500

500

500 Internal Server Error

अर्थ

An error meaning the server failed while handling the request.

उपयोग

In development, the terminal or browser overlay usually shows the source error.

उदाहरण

500 Internal Server Error

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

If a 500 appears, inspect the terminal error and identify the failing file.

त्रुटियाँ और चेतावनी

Module not found

Module not found

Module not found: Can't resolve '@/lib/programming'

अर्थ

An error meaning an import points to a file or package that cannot be found.

उपयोग

It often happens after moving, deleting, or renaming files without updating imports.

उदाहरण

Module not found: Can't resolve '@/lib/programming'

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

Find and update any imports that still point to the removed file.

त्रुटियाँ और चेतावनी

Export not found

Export not found

Export programmingBasicsCopy doesn't exist

अर्थ

An error meaning a file exists, but the requested named export is not provided by that file.

उपयोग

It can happen when a data object is renamed but imports still use the old name.

उदाहरण

Export programmingBasicsCopy doesn't exist

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

Replace the old export name with the new one everywhere.

त्रुटियाँ और चेतावनी

EADDRINUSE

EADDRINUSE

listen EADDRINUSE: address already in use 0.0.0.0:3001

अर्थ

An error meaning another process is already using the requested host and port.

उपयोग

Use another port or stop the existing server if you intentionally want to replace it.

उदाहरण

listen EADDRINUSE: address already in use 0.0.0.0:3001

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

If EADDRINUSE appears, tell me which port is busy and use a different one.

त्रुटियाँ और चेतावनी

DeprecationWarning

DeprecationWarning

[DEP0205] DeprecationWarning: module.register() is deprecated

अर्थ

A warning that an API still works now but may be removed or changed later.

उपयोग

Warnings should be noticed, but they are not always build-blocking errors.

उदाहरण

[DEP0205] DeprecationWarning: module.register() is deprecated

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

Tell me whether this DeprecationWarning is harmless or requires a code change.

त्रुटियाँ और चेतावनी

Hydration

Hydration

Hydration failed because the server rendered HTML didn't match

अर्थ

The process where client-side JavaScript connects to server-rendered HTML.

उपयोग

Mismatch errors happen when server and client render different initial content.

उदाहरण

Hydration failed because the server rendered HTML didn't match

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

If hydration fails, check which component renders differently on the client.

कमांड

npm run dev

npm run dev

npm run dev

अर्थ

A project script that starts the local development server.

उपयोग

Use it while editing pages and checking changes locally.

उदाहरण

npm run dev

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

Run npm run dev and give me the Local and Network URLs.

कमांड

npm run build

npm run build

npm run build

अर्थ

A project script that creates the production build or static export.

उपयोग

Run it after changes to ensure the app can be generated successfully.

उदाहरण

npm run build

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

Run npm run build and summarize any warnings or failures.

कमांड

npm run lint

npm run lint

npm run lint

अर्थ

A project script that runs lint checks.

उपयोग

Run it before build to catch many code issues quickly.

उदाहरण

npm run lint

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

Run lint before building the site.

कमांड

curl

curl

curl -I http://localhost:3001/ko

अर्थ

A command-line tool for making HTTP requests and checking responses.

उपयोग

curl can quickly check whether a local or deployed page responds with 200, 404, or another status.

उदाहरण

curl -I http://localhost:3001/ko

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

Use curl to check whether the new reference route returns 200.