[{"data":1,"prerenderedAt":182,"buildId":183},["ShallowReactive",2],{"diagnostic-content-DOC0040":3,"navigation_docs":81},{"id":4,"title":5,"body":6,"category":12,"code":71,"description":72,"docsUrl":13,"extension":73,"fix":36,"framework":74,"meta":75,"navigation":76,"pack":15,"path":77,"ruleId":16,"rulePath":17,"seo":78,"severity":18,"source":19,"sourceUrl":20,"stem":79,"why":29,"__hash__":80},"diagnostics\u002Fdiagnostics\u002FDOC0040.md","DOC0040: Fix a diagnostic the framework reported at runtime",{"type":7,"value":8,"toc":64},"minimark",[9,21,26,30,34,37,41,53,57],[10,11],"rule-metadata",{"category":12,"docsUrl":13,"fix":14,"pack":15,"ruleId":16,"rulePath":17,"severity":18,"source":19,"sourceUrl":20},"runtime","https:\u002F\u002Fvite-doctor.onmax.me\u002Fvite","no","vite-doctor\u002Fcore","doctor\u002Fruntime\u002Fframework-diagnostic","","warn","src\u002Fcore\u002Finternal\u002Fruntime-diagnostics.ts","https:\u002F\u002Fgithub.com\u002Fwords-with-agents\u002Fvite-doctor\u002Fblob\u002Fmain\u002Fsrc\u002Fcore\u002Finternal\u002Fruntime-diagnostics.ts",[22,23,25],"h2",{"id":24},"why-it-happens","Why it happens",[27,28,29],"p",{},"The framework saw the problem happen, so Doctor reports its code, message, fix, and docs link unchanged. Doctor places the Diagnostic at the call site only when the dev server's module graph and source map prove the source position; otherwise the Diagnostic stays at the project root and its evidence says the location is partial. Only browser reports reach Doctor: reports from server-side rendering print to the terminal but are never sent to the dev server. A report lasts until the dev server restarts, or until its file is saved.",[22,31,33],{"id":32},"fix","Fix",[27,35,36],{},"Follow the framework's fix and docs link in the Diagnostic, then reload the page that reported it. The Diagnostic's message starts with the framework's own code.",[22,38,40],{"id":39},"useful-links","Useful links",[42,43,44],"ul",{},[45,46,47],"li",{},[48,49,52],"a",{"href":13,"rel":50},[51],"nofollow","Upstream docs",[22,54,56],{"id":55},"related-rule","Related rule",[42,58,59],{},[45,60,61],{},[62,63,16],"code",{},{"title":17,"searchDepth":65,"depth":65,"links":66},2,[67,68,69,70],{"id":24,"depth":65,"text":25},{"id":32,"depth":65,"text":33},{"id":39,"depth":65,"text":40},{"id":55,"depth":65,"text":56},"DOC0040","While the Vite dev server ran, the framework reported a diagnostic from the browser through `nostics`, such as Nuxt's `NUXT_E3004`.","md","vite",{},true,"\u002Fdiagnostics\u002Fdoc0040",{"title":5,"description":72},"diagnostics\u002FDOC0040","mcvB8UI2zAI1akxNA23jCOYr7y4_4e9nMXE9XVKjPh0",[82,110,114,118,122,126,130,142,146,170,174,178],{"title":83,"path":84,"stem":85,"children":86,"icon":109},"CLI","\u002Fcli","1.cli\u002F1.index",[87,89,93,97,101,105],{"title":88,"path":84,"stem":85},"Run Doctor",{"title":90,"path":91,"stem":92},"Reports","\u002Fcli\u002Freports","1.cli\u002F2.reports",{"title":94,"path":95,"stem":96},"Configuration","\u002Fcli\u002Fconfiguration","1.cli\u002F3.configuration",{"title":98,"path":99,"stem":100},"CI and changed files","\u002Fcli\u002Fci","1.cli\u002F4.ci",{"title":102,"path":103,"stem":104},"Workspaces","\u002Fcli\u002Fworkspaces","1.cli\u002F5.workspaces",{"title":106,"path":107,"stem":108},"Cache and speed","\u002Fcli\u002Fcache","1.cli\u002F6.cache","i-lucide-terminal",{"title":111,"path":112,"stem":113},"Nuxt","\u002Fnuxt","2.nuxt",{"title":115,"path":116,"stem":117},"Vue","\u002Fvue","3.vue",{"title":119,"path":120,"stem":121},"Vite","\u002Fvite","4.vite",{"title":123,"path":124,"stem":125},"Nitro","\u002Fnitro","5.nitro",{"title":127,"path":128,"stem":129},"TypeScript","\u002Ftypescript","6.typescript",{"title":131,"path":132,"stem":133,"children":134,"icon":141},"Design system","\u002Fdesign-system","7.design-system\u002F1.index",[135,137],{"title":136,"path":132,"stem":133},"Overview",{"title":138,"path":139,"stem":140},"Classes and styles","\u002Fdesign-system\u002Fclasses","7.design-system\u002F2.classes","i-lucide-swatch-book",{"title":143,"path":144,"stem":145},"Package","\u002Fpackage","8.package",{"title":147,"path":148,"stem":149,"children":150,"icon":169},"Extending Doctor","\u002Fextending","9.extending\u002F1.index",[151,153,157,161,165],{"title":152,"path":148,"stem":149},"Write an extension",{"title":154,"path":155,"stem":156},"Visitors","\u002Fextending\u002Fvisitors","9.extending\u002F2.visitors",{"title":158,"path":159,"stem":160},"Ship with a library","\u002Fextending\u002Fshipping","9.extending\u002F3.shipping",{"title":162,"path":163,"stem":164},"Test a Rule","\u002Fextending\u002Ftesting","9.extending\u002F4.testing",{"title":166,"path":167,"stem":168},"Rule inputs","\u002Fextending\u002Frule-inputs","9.extending\u002F5.rule-inputs","i-lucide-puzzle",{"title":171,"path":172,"stem":173},"H3","\u002Fh3","9.h3",{"title":175,"path":176,"stem":177},"MCP","\u002Fmodel-context-protocol","9.model-context-protocol",{"title":179,"path":180,"stem":181},"Pinia","\u002Fpinia","9.pinia",1796507796167,"e745db9b-2064-477e-b678-8c0a05edc39c"]