Engineering Tools for AI

Programmierung

Dev-Server- und Deployment-Begriffe

Begriffe für lokale Server, Netzwerk-URLs, Ports, Builds, Deployment, Warnungen und Webfehler.

42 Treffer

Lokale Entwicklung

localhost

localhost

http://localhost:3001

Bedeutung

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

Verwendung

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

Hinweis

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

Beispiel

http://localhost:3001

Beispielanfrage

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

Lokale Entwicklung

127.0.0.1

127.0.0.1

http://127.0.0.1:3001

Bedeutung

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

Verwendung

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

Beispiel

http://127.0.0.1:3001

Beispielanfrage

Try 127.0.0.1 if localhost does not resolve correctly.

Lokale Entwicklung

Dev server

Dev server

npm run dev

Bedeutung

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

Verwendung

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

Hinweis

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

Beispiel

npm run dev

Beispielanfrage

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

Lokale Entwicklung

Port

Port

http://localhost:3001

Bedeutung

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

Verwendung

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

Beispiel

http://localhost:3001

Beispielanfrage

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

Lokale Entwicklung

Local URL

Local URL

Local: http://localhost:3001

Bedeutung

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

Verwendung

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

Beispiel

Local: http://localhost:3001

Beispielanfrage

Tell me the Local URL after starting the dev server.

Netzwerkzugriff

Network URL

Network URL

Network: http://172.30.1.55:3001

Bedeutung

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

Verwendung

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

Hinweis

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

Beispiel

Network: http://172.30.1.55:3001

Beispielanfrage

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

Netzwerkzugriff

IP address

IP address

172.30.1.55

Bedeutung

A numeric address that identifies a device on a network.

Verwendung

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

Hinweis

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

Beispiel

172.30.1.55

Beispielanfrage

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

Netzwerkzugriff

Host

Host

--hostname 0.0.0.0

Bedeutung

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

Verwendung

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

Beispiel

--hostname 0.0.0.0

Beispielanfrage

Run the dev server with hostname 0.0.0.0 for phone testing.

Netzwerkzugriff

Same network

Same network

Mac and iPhone on the same Wi-Fi

Bedeutung

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

Verwendung

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

Beispiel

Mac and iPhone on the same Wi-Fi

Beispielanfrage

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

Next.js-Verhalten

allowedDevOrigins

allowedDevOrigins

allowedDevOrigins: ['172.30.1.55']

Bedeutung

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

Verwendung

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

Hinweis

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

Beispiel

allowedDevOrigins: ['172.30.1.55']

Beispielanfrage

Add my current LAN IP to allowedDevOrigins for development testing.

Netzwerkzugriff

Cross-origin

Cross-origin

Blocked cross-origin request

Bedeutung

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

Verwendung

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

Beispiel

Blocked cross-origin request

Beispielanfrage

Explain whether this cross-origin warning affects production deployment.

Next.js-Verhalten

HMR

HMR

/_next/webpack-hmr

Bedeutung

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

Verwendung

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

Hinweis

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

Beispiel

/_next/webpack-hmr

Beispielanfrage

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

Next.js-Verhalten

Turbopack

Turbopack

Next.js 16.2.5 (Turbopack)

Bedeutung

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

Verwendung

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

Beispiel

Next.js 16.2.5 (Turbopack)

Beispielanfrage

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

Next.js-Verhalten

App Router

App Router

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

Bedeutung

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

Verwendung

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

Beispiel

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

Beispielanfrage

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

Next.js-Verhalten

generateStaticParams

generateStaticParams

generateStaticParams()

Bedeutung

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

Verwendung

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

Beispiel

generateStaticParams()

Beispielanfrage

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

Build und Ausgabe

Build

Build

npm run build

Bedeutung

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

Verwendung

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

Beispiel

npm run build

Beispielanfrage

Run the build and confirm the new route is generated.

Build und Ausgabe

Lint

Lint

npm run lint

Bedeutung

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

Verwendung

Lint is a quick check before build or commit.

Beispiel

npm run lint

Beispielanfrage

Run lint after editing the reference pages.

Build und Ausgabe

Static export

Static export

output: "export"

Bedeutung

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

Verwendung

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

Hinweis

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

Beispiel

output: "export"

Beispielanfrage

Keep the new page compatible with static export.

Build und Ausgabe

SSG

SSG

● (SSG) prerendered as static HTML

Bedeutung

Static Site Generation creates pages at build time.

Verwendung

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

Beispiel

● (SSG) prerendered as static HTML

Beispielanfrage

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

Build und Ausgabe

Prerender

Prerender

prerendered as static content

Bedeutung

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

Verwendung

Prerendered pages load fast because HTML already exists.

Beispiel

prerendered as static content

Beispielanfrage

Check that all locale pages are prerendered successfully.

Build und Ausgabe

Bundle

Bundle

static JS bundle

Bedeutung

Compiled files that combine code and dependencies for the browser.

Verwendung

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

Beispiel

static JS bundle

Beispielanfrage

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

Deployment

Deploy

Deploy

deploy static output

Bedeutung

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

Verwendung

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

Beispiel

deploy static output

Beispielanfrage

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

Deployment

Production

Production

production deployment

Bedeutung

The real deployed environment that users access.

Verwendung

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

Beispiel

production deployment

Beispielanfrage

Explain whether this warning affects production or only development.

Deployment

Hosting

Hosting

static hosting provider

Bedeutung

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

Verwendung

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

Beispiel

static hosting provider

Beispielanfrage

Make sure the output works on static hosting.

Deployment

Domain

Domain

example.com

Bedeutung

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

Verwendung

A domain points to the deployed hosting location through DNS.

Beispiel

example.com

Beispielanfrage

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

Deployment

DNS

DNS

A record / CNAME record

Bedeutung

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

Verwendung

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

Beispiel

A record / CNAME record

Beispielanfrage

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

Deployment

Cache

Cache

clear browser cache

Bedeutung

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

Verwendung

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

Beispiel

clear browser cache

Beispielanfrage

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

Laufzeit

Node.js

Node.js

node --version

Bedeutung

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

Verwendung

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

Beispiel

node --version

Beispielanfrage

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

Laufzeit

npm

npm

npm run build

Bedeutung

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

Verwendung

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

Beispiel

npm run build

Beispielanfrage

Run the npm build script and summarize the result.

Laufzeit

package.json

package.json

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

Bedeutung

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

Verwendung

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

Beispiel

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

Beispielanfrage

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

Laufzeit

Environment variable

Environment variable

NEXT_PUBLIC_SITE_URL=https://example.com

Bedeutung

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

Verwendung

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

Hinweis

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

Beispiel

NEXT_PUBLIC_SITE_URL=https://example.com

Beispielanfrage

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

Fehler und Warnungen

404

404

404 Not Found

Bedeutung

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

Verwendung

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

Beispiel

404 Not Found

Beispielanfrage

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

Fehler und Warnungen

500

500

500 Internal Server Error

Bedeutung

An error meaning the server failed while handling the request.

Verwendung

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

Beispiel

500 Internal Server Error

Beispielanfrage

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

Fehler und Warnungen

Module not found

Module not found

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

Bedeutung

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

Verwendung

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

Beispiel

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

Beispielanfrage

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

Fehler und Warnungen

Export not found

Export not found

Export programmingBasicsCopy doesn't exist

Bedeutung

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

Verwendung

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

Beispiel

Export programmingBasicsCopy doesn't exist

Beispielanfrage

Replace the old export name with the new one everywhere.

Fehler und Warnungen

EADDRINUSE

EADDRINUSE

listen EADDRINUSE: address already in use 0.0.0.0:3001

Bedeutung

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

Verwendung

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

Beispiel

listen EADDRINUSE: address already in use 0.0.0.0:3001

Beispielanfrage

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

Fehler und Warnungen

DeprecationWarning

DeprecationWarning

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

Bedeutung

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

Verwendung

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

Beispiel

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

Beispielanfrage

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

Fehler und Warnungen

Hydration

Hydration

Hydration failed because the server rendered HTML didn't match

Bedeutung

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

Verwendung

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

Beispiel

Hydration failed because the server rendered HTML didn't match

Beispielanfrage

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

Befehle

npm run dev

npm run dev

npm run dev

Bedeutung

A project script that starts the local development server.

Verwendung

Use it while editing pages and checking changes locally.

Beispiel

npm run dev

Beispielanfrage

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

Befehle

npm run build

npm run build

npm run build

Bedeutung

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

Verwendung

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

Beispiel

npm run build

Beispielanfrage

Run npm run build and summarize any warnings or failures.

Befehle

npm run lint

npm run lint

npm run lint

Bedeutung

A project script that runs lint checks.

Verwendung

Run it before build to catch many code issues quickly.

Beispiel

npm run lint

Beispielanfrage

Run lint before building the site.

Befehle

curl

curl

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

Bedeutung

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

Verwendung

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

Beispiel

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

Beispielanfrage

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