{"record":{"id":"10bf375027a21d8c","repo":"gatsbyjs/gatsby","slug":"80001","errorCode":"80001","errorMessage":"Failed to restore previous client module manifest.\\n\\nThis can happen if the manifest is corrupted or is not compatible with the current version of Gatsby.\\n\\nPlease run \"gatsby clean\" and try again. If the issue persists, please open an issue with a reproduction at https://gatsby.dev/new-issue for more help.","messagePattern":"Failed to restore previous client module manifest\\.\\\\n\\\\nThis can happen if the manifest is corrupted or is not compatible with the current version of Gatsby\\.\\\\n\\\\nPlease run \"gatsby clean\" and try again\\. If the issue persists, please open an issue with a reproduction at https://gatsby\\.dev/new-issue for more help\\.","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby/src/utils/webpack/plugins/partial-hydration.ts","lineNumber":374,"sourceCode":"      }\n    })\n  }\n\n  apply(compiler: webpack.Compiler): void {\n    // Restore manifest from the previous compilation, otherwise it will be wiped since files aren't visited on cached builds\n    compiler.hooks.beforeCompile.tap(this.name, () => {\n      try {\n        const previousManifest = fs.existsSync(this._manifestPath)\n\n        if (!previousManifest) {\n          return\n        }\n\n        this._previousManifest = JSON.parse(\n          fs.readFileSync(this._manifestPath, `utf-8`)\n        )\n      } catch (error) {\n        this._reporter.panic({\n          id: `80001`,\n          context: {},\n          error,\n        })\n      }\n    })\n\n    compiler.hooks.finishMake.tapPromise(this.name, async compilation => {\n      if (compilation.compiler.parentCompilation) {\n        // child compilation happen for css modules for example, we only care about the main compilation\n        return\n      }\n      await this.addClientModuleEntries(compiler, compilation)\n    })\n\n    compiler.hooks.thisCompilation.tap(\n      this.name,\n      (compilation, { normalModuleFactory }) => {","sourceCodeStart":356,"sourceCodeEnd":392,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby/src/utils/webpack/plugins/partial-hydration.ts#L356-L392","documentation":"Error \"Failed to restore previous client module manifest.\\n\\nThis can happen if the manifest is corrupted or is not compatible with the current version of Gatsby.\\n\\nPlease run \"gatsby clean\" and try again. If the issue persists, please open an issue with a reproduction at https://gatsby.dev/new-issue for more help.\" thrown in gatsbyjs/gatsby.","triggerScenarios":"Thrown at packages/gatsby/src/utils/webpack/plugins/partial-hydration.ts:374 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Run `gatsby clean` to remove the corrupted client module manifest","If it persists, open an issue with a reproduction at https://gatsby.dev/new-issue"],"exampleFix":null,"handlingStrategy":"try-catch","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-14T00:17:10.932Z"}