{"record":{"id":"4d1cb81f4d5d1b1e","repo":"gatsbyjs/gatsby","slug":"message-continuing-build-using-without-using-a","errorCode":null,"errorMessage":"${message}\n\nContinuing build using without using any adapter due to GATSBY_CONTINUE_BUILD_ON_MISSING_ADAPTER environment variable being set","messagePattern":"(.+?)\n\nContinuing build using without using any adapter due to GATSBY_CONTINUE_BUILD_ON_MISSING_ADAPTER environment variable being set","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby/src/utils/adapter/init.ts","lineNumber":122,"sourceCode":"      }\n    }\n  } catch (e) {\n    return {\n      found: false,\n    }\n  }\n}\n\nconst handleAdapterProblem = (\n  message: string,\n  panicFn = reporter.panic\n): never | undefined => {\n  if (!process.env.GATSBY_CONTINUE_BUILD_ON_ADAPTER_MISMATCH) {\n    panicFn(\n      `${message}\\n\\nZero-configuration deployment failed to avoid potentially broken deployment.\\nIf you want build to continue despite above problems:\\n - configure adapter manually in gatsby-config which will skip zero-configuration deployment attempt\\n - or set GATSBY_CONTINUE_BUILD_ON_MISSING_ADAPTER=true environment variable to continue build without an adapter.`\n    )\n  } else {\n    reporter.warn(\n      `${message}\\n\\nContinuing build using without using any adapter due to GATSBY_CONTINUE_BUILD_ON_MISSING_ADAPTER environment variable being set`\n    )\n  }\n  return undefined\n}\n\nexport async function getAdapterInit(\n  currentGatsbyVersion: string = gatsbyVersionFromPackageJson\n): Promise<AdapterInit | undefined> {\n  // 0. Try to fetch the latest adapters manifest - if it fails, we continue with manifest packaged with current version of gatsby\n  const latestAdapters = await getLatestAdapters()\n\n  // 1. Find adapter candidates that are compatible with the current environment\n  //    we find all matching adapters in case package is renamed in the future and future gatsby versions will need different package than previous ones\n  const adapterEntry = latestAdapters.find(candidate => candidate.test())\n\n  if (!adapterEntry) {\n    reporter.verbose(","sourceCodeStart":104,"sourceCodeEnd":140,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby/src/utils/adapter/init.ts#L104-L140","documentation":"In handleAdapterProblem, when zero-configuration adapter deployment fails (adapter missing or mismatched), the build normally panics. If GATSBY_CONTINUE_BUILD_ON_MISSING_ADAPTER is set, this warning replaces the panic: the build continues without any adapter, so adapter-specific optimizations (caching headers, DSG/SSR routing) will be absent from the deployment.","triggerScenarios":"Thrown at packages/gatsby/src/utils/adapter/init.ts:122 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Install and configure the platform adapter manually in gatsby-config.js so zero-configuration deployment is skipped","Verify the adapter module name and version match the deployment platform","Remove GATSBY_CONTINUE_BUILD_ON_MISSING_ADAPTER once the adapter is configured so real problems panic again"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e85d62f1779e353eaac1753211629a26d123e26c","analyzedAt":"2026-08-26T17:50:09.662Z","contentChangedAt":"2026-08-26T17:50:09.662Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}