Engineering Tools for AI

Программирование

Термины dev-сервера и деплоя

Термины для локального сервера, сетевых URL, портов, сборки, деплоя, предупреждений и web-ошибок.

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.