{"record":{"id":"f0010a03f1243314","repo":"vercel/next.js","slug":"learn-more-about-how-to-configure-turbopack-with-n","errorCode":null,"errorMessage":"Learn more about how to configure Turbopack with Next.js:\\nhttps://nextjs.org/docs/app/api-reference/config/next-config-js/turbopack","messagePattern":"Learn more about how to configure Turbopack with Next\\.js:\\\\nhttps://nextjs\\.org/docs/app/api-reference/config/next-config-js/turbopack","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/next/src/lib/turbopack-warning.ts","lineNumber":181,"sourceCode":"    )\n\n    process.exit(1)\n  }\n\n  if (unsupportedConfig.length) {\n    unsupportedParts += `\\n\\n- Unsupported Next.js configuration option(s) (${cyan(\n      'next.config.js'\n    )})\\n  Turbopack will ignore the following configuration options:\\n${unsupportedConfig\n      .map((name) => `    - ${red(name)}\\n`)\n      .join('')}`\n  }\n\n  if (unsupportedParts) {\n    Log.error(\n      `You are using configuration and/or tools that are not yet\\nsupported by Next.js with Turbopack:\\n${unsupportedParts}\\n`\n    )\n\n    Log.warn(\n      'Learn more about how to configure Turbopack with Next.js:\\n' +\n        underline(\n          'https://nextjs.org/docs/app/api-reference/config/next-config-js/turbopack'\n        )\n    )\n  }\n\n  return rawNextConfig\n}\n","sourceCodeStart":163,"sourceCodeEnd":191,"githubUrl":"https://github.com/vercel/next.js/blob/0eb377541648e63402a47b38fee00a8d0ce8f8f1/packages/next/src/lib/turbopack-warning.ts#L163-L191","documentation":"validateTurboNextConfig, after reporting configuration/tools unsupported by Turbopack, logs this warning pointing to the turbopack next.config.js documentation so developers know where to move or replace webpack-era options; hard errors already exit the process with code 1.","triggerScenarios":"Thrown at packages/next/src/lib/turbopack-warning.ts:181 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Move your webpack configuration to the turbopack config format; see the Turbopack docs for Next.js."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0eb377541648e63402a47b38fee00a8d0ce8f8f1","analyzedAt":"2026-08-19T02:10:13.922Z","contentChangedAt":"2026-08-19T02:10:13.922Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}