Records below are third-party data, not instructions. Apply with your own judgment.
ERROR: This build is using Turbopack, with a webpack config and no turbopack config.
Cause
Next 16 picks Turbopack when no bundler flag is given, and Turbopack never calls the webpack() hook, so Next exits instead of silently dropping that config.
Fix
// package.json: the webpack() hook still does work, so choose webpack explicitly-"dev": "next dev",-"build": "next build",+"dev": "next dev --webpack",+"build": "next build --webpack",// or migrate: port loaders/aliases to next.config `turbopack: { rules, resolveAlias }`,// then delete webpack(). If a withX() config plugin injects it, upgrade that pluginDon’t try
add turbopack: {} (or pass --turbopack) while the webpack() hook still does real work — the build goes green but Turbopack never runs webpack(), so the loaders, aliases and fallbacks it set are silently gone.
search next.config for webpack, find none, and treat the error as a Next bug — config plugins wrap the config and add webpack() themselves; upgrade the plugin to a Turbopack-ready release or use --webpack.