{"record":{"id":"4f07fc52aafec872","repo":"vercel/next.js","slug":"fast-refresh-performing-full-reload-because-your-4f07fc","errorCode":null,"errorMessage":"[Fast Refresh] performing full reload because your application had an unrecoverable error","messagePattern":"\\[Fast Refresh\\] performing full reload because your application had an unrecoverable error","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/next/src/client/dev/hot-reloader/app/hot-reloader-app.tsx","lineNumber":164,"sourceCode":"\n// Attempt to update code on the fly, fall back to a hard reload.\nfunction tryApplyUpdatesWebpack(sendMessage: (message: string) => void) {\n  if (!isUpdateAvailable() || !canApplyUpdates()) {\n    resolvePendingHotUpdateWebpack()\n    dispatcher.onBuildOk()\n    reportHmrLatency(sendMessage, [], webpackStartMsSinceEpoch!, Date.now())\n    return\n  }\n\n  function handleApplyUpdates(\n    err: any,\n    updatedModules: (string | number)[] | null\n  ) {\n    if (err || RuntimeErrorHandler.hadRuntimeError || updatedModules == null) {\n      if (err) {\n        console.warn(REACT_REFRESH_FULL_RELOAD)\n      } else if (RuntimeErrorHandler.hadRuntimeError) {\n        console.warn(REACT_REFRESH_FULL_RELOAD_FROM_ERROR)\n      }\n      performFullReload(err, sendMessage)\n      return\n    }\n\n    dispatcher.onBuildOk()\n\n    if (isUpdateAvailable()) {\n      // While we were updating, there was a new update! Do it again.\n      tryApplyUpdatesWebpack(sendMessage)\n      return\n    }\n\n    dispatcher.onRefresh()\n    resolvePendingHotUpdateWebpack()\n    reportHmrLatency(\n      sendMessage,\n      updatedModules,","sourceCodeStart":146,"sourceCodeEnd":182,"githubUrl":"https://github.com/vercel/next.js/blob/258b1c1bc05f7099816b88f70b7b3422b24a4b8d/packages/next/src/client/dev/hot-reloader/app/hot-reloader-app.tsx#L146-L182","documentation":"Browser-side warning in the app-router hot reloader's handleApplyUpdates: applying the hot update failed (err), or a runtime error was already recorded by RuntimeErrorHandler, or the updated module list is null. Incremental Fast Refresh is unsafe in that state, so it logs this message and falls back to a full page reload (location.reload) to restore a working app.","triggerScenarios":"Thrown at packages/next/src/client/dev/hot-reloader/app/hot-reloader-app.tsx:164 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Fix the unrecoverable runtime error in your application; the page was fully reloaded to recover."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"258b1c1bc05f7099816b88f70b7b3422b24a4b8d","analyzedAt":"2026-08-19T02:10:13.922Z","contentChangedAt":"2026-08-19T02:10:13.922Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}