Engineering Tools for AI

Programmation

Termes dev server et déploiement

Référence pour serveur local, URL réseau, ports, builds, déploiement, avertissements et erreurs web.

42 résultats

Développement local

localhost

localhost

http://localhost:3001

Sens

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

Utilisation

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

Note

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

Exemple

http://localhost:3001

Exemple de demande

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

Développement local

127.0.0.1

127.0.0.1

http://127.0.0.1:3001

Sens

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

Utilisation

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

Exemple

http://127.0.0.1:3001

Exemple de demande

Try 127.0.0.1 if localhost does not resolve correctly.

Développement local

Dev server

Dev server

npm run dev

Sens

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

Utilisation

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

Note

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

Exemple

npm run dev

Exemple de demande

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

Développement local

Port

Port

http://localhost:3001

Sens

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

Utilisation

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

Exemple

http://localhost:3001

Exemple de demande

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

Développement local

Local URL

Local URL

Local: http://localhost:3001

Sens

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

Utilisation

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

Exemple

Local: http://localhost:3001

Exemple de demande

Tell me the Local URL after starting the dev server.

Accès réseau

Network URL

Network URL

Network: http://172.30.1.55:3001

Sens

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

Utilisation

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

Note

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

Exemple

Network: http://172.30.1.55:3001

Exemple de demande

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

Accès réseau

IP address

IP address

172.30.1.55

Sens

A numeric address that identifies a device on a network.

Utilisation

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

Note

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

Exemple

172.30.1.55

Exemple de demande

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

Accès réseau

Host

Host

--hostname 0.0.0.0

Sens

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

Utilisation

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

Exemple

--hostname 0.0.0.0

Exemple de demande

Run the dev server with hostname 0.0.0.0 for phone testing.

Accès réseau

Same network

Same network

Mac and iPhone on the same Wi-Fi

Sens

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

Utilisation

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

Exemple

Mac and iPhone on the same Wi-Fi

Exemple de demande

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

Comportement Next.js

allowedDevOrigins

allowedDevOrigins

allowedDevOrigins: ['172.30.1.55']

Sens

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

Utilisation

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

Note

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

Exemple

allowedDevOrigins: ['172.30.1.55']

Exemple de demande

Add my current LAN IP to allowedDevOrigins for development testing.

Accès réseau

Cross-origin

Cross-origin

Blocked cross-origin request

Sens

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

Utilisation

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

Exemple

Blocked cross-origin request

Exemple de demande

Explain whether this cross-origin warning affects production deployment.

Comportement Next.js

HMR

HMR

/_next/webpack-hmr

Sens

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

Utilisation

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

Note

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

Exemple

/_next/webpack-hmr

Exemple de demande

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

Comportement Next.js

Turbopack

Turbopack

Next.js 16.2.5 (Turbopack)

Sens

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

Utilisation

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

Exemple

Next.js 16.2.5 (Turbopack)

Exemple de demande

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

Comportement Next.js

App Router

App Router

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

Sens

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

Utilisation

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

Exemple

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

Exemple de demande

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

Comportement Next.js

generateStaticParams

generateStaticParams

generateStaticParams()

Sens

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

Utilisation

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

Exemple

generateStaticParams()

Exemple de demande

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

Build et sortie

Build

Build

npm run build

Sens

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

Utilisation

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

Exemple

npm run build

Exemple de demande

Run the build and confirm the new route is generated.

Build et sortie

Lint

Lint

npm run lint

Sens

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

Utilisation

Lint is a quick check before build or commit.

Exemple

npm run lint

Exemple de demande

Run lint after editing the reference pages.

Build et sortie

Static export

Static export

output: "export"

Sens

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

Utilisation

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

Note

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

Exemple

output: "export"

Exemple de demande

Keep the new page compatible with static export.

Build et sortie

SSG

SSG

● (SSG) prerendered as static HTML

Sens

Static Site Generation creates pages at build time.

Utilisation

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

Exemple

● (SSG) prerendered as static HTML

Exemple de demande

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

Build et sortie

Prerender

Prerender

prerendered as static content

Sens

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

Utilisation

Prerendered pages load fast because HTML already exists.

Exemple

prerendered as static content

Exemple de demande

Check that all locale pages are prerendered successfully.

Build et sortie

Bundle

Bundle

static JS bundle

Sens

Compiled files that combine code and dependencies for the browser.

Utilisation

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

Exemple

static JS bundle

Exemple de demande

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

Déploiement

Deploy

Deploy

deploy static output

Sens

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

Utilisation

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

Exemple

deploy static output

Exemple de demande

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

Déploiement

Production

Production

production deployment

Sens

The real deployed environment that users access.

Utilisation

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

Exemple

production deployment

Exemple de demande

Explain whether this warning affects production or only development.

Déploiement

Hosting

Hosting

static hosting provider

Sens

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

Utilisation

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

Exemple

static hosting provider

Exemple de demande

Make sure the output works on static hosting.

Déploiement

Domain

Domain

example.com

Sens

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

Utilisation

A domain points to the deployed hosting location through DNS.

Exemple

example.com

Exemple de demande

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

Déploiement

DNS

DNS

A record / CNAME record

Sens

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

Utilisation

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

Exemple

A record / CNAME record

Exemple de demande

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

Déploiement

Cache

Cache

clear browser cache

Sens

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

Utilisation

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

Exemple

clear browser cache

Exemple de demande

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

Runtime

Node.js

Node.js

node --version

Sens

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

Utilisation

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

Exemple

node --version

Exemple de demande

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

Runtime

npm

npm

npm run build

Sens

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

Utilisation

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

Exemple

npm run build

Exemple de demande

Run the npm build script and summarize the result.

Runtime

package.json

package.json

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

Sens

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

Utilisation

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

Exemple

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

Exemple de demande

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

Runtime

Environment variable

Environment variable

NEXT_PUBLIC_SITE_URL=https://example.com

Sens

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

Utilisation

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

Note

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

Exemple

NEXT_PUBLIC_SITE_URL=https://example.com

Exemple de demande

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

Erreurs et avertissements

404

404

404 Not Found

Sens

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

Utilisation

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

Exemple

404 Not Found

Exemple de demande

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

Erreurs et avertissements

500

500

500 Internal Server Error

Sens

An error meaning the server failed while handling the request.

Utilisation

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

Exemple

500 Internal Server Error

Exemple de demande

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

Erreurs et avertissements

Module not found

Module not found

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

Sens

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

Utilisation

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

Exemple

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

Exemple de demande

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

Erreurs et avertissements

Export not found

Export not found

Export programmingBasicsCopy doesn't exist

Sens

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

Utilisation

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

Exemple

Export programmingBasicsCopy doesn't exist

Exemple de demande

Replace the old export name with the new one everywhere.

Erreurs et avertissements

EADDRINUSE

EADDRINUSE

listen EADDRINUSE: address already in use 0.0.0.0:3001

Sens

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

Utilisation

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

Exemple

listen EADDRINUSE: address already in use 0.0.0.0:3001

Exemple de demande

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

Erreurs et avertissements

DeprecationWarning

DeprecationWarning

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

Sens

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

Utilisation

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

Exemple

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

Exemple de demande

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

Erreurs et avertissements

Hydration

Hydration

Hydration failed because the server rendered HTML didn't match

Sens

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

Utilisation

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

Exemple

Hydration failed because the server rendered HTML didn't match

Exemple de demande

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

Commandes

npm run dev

npm run dev

npm run dev

Sens

A project script that starts the local development server.

Utilisation

Use it while editing pages and checking changes locally.

Exemple

npm run dev

Exemple de demande

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

Commandes

npm run build

npm run build

npm run build

Sens

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

Utilisation

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

Exemple

npm run build

Exemple de demande

Run npm run build and summarize any warnings or failures.

Commandes

npm run lint

npm run lint

npm run lint

Sens

A project script that runs lint checks.

Utilisation

Run it before build to catch many code issues quickly.

Exemple

npm run lint

Exemple de demande

Run lint before building the site.

Commandes

curl

curl

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

Sens

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

Utilisation

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

Exemple

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

Exemple de demande

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