[{"data":1,"prerenderedAt":235},["ShallowReactive",2],{"mobile-docs-navigation":3,"docs-page:\u002Ftroubleshooting":59,"docs-navigation:en":222},[4,8,12,16,20,30],{"title":5,"path":6,"stem":7},"Getting Started","\u002Fgetting-started","2.getting-started",{"title":9,"path":10,"stem":11},"Writing Diagrams","\u002Fwriting-diagrams","3.writing-diagrams",{"title":13,"path":14,"stem":15},"Configuration","\u002Fconfiguration","4.configuration",{"title":17,"path":18,"stem":19},"Troubleshooting","\u002Ftroubleshooting","5.troubleshooting",{"title":21,"path":22,"stem":23,"children":24,"page":29},"Migration","\u002Fmigration","6.migration",[25],{"title":26,"path":27,"stem":28},"Migration to v3","\u002Fmigration\u002Fv3","6.migration\u002F1.v3",false,{"title":31,"path":32,"stem":33,"children":34,"page":29},"Zh","\u002Fzh","zh",[35,39,43,47,51],{"title":36,"path":37,"stem":38},"開始使用","\u002Fzh\u002Fgetting-started","zh\u002F2.getting-started",{"title":40,"path":41,"stem":42},"撰寫圖表","\u002Fzh\u002Fwriting-diagrams","zh\u002F3.writing-diagrams",{"title":44,"path":45,"stem":46},"設定","\u002Fzh\u002Fconfiguration","zh\u002F4.configuration",{"title":48,"path":49,"stem":50},"疑難排解","\u002Fzh\u002Ftroubleshooting","zh\u002F5.troubleshooting",{"title":21,"path":52,"stem":53,"children":54,"page":29},"\u002Fzh\u002Fmigration","zh\u002F6.migration",[55],{"title":56,"path":57,"stem":58},"升級至 v3","\u002Fzh\u002Fmigration\u002Fv3","zh\u002F6.migration\u002F1.v3",{"id":60,"title":17,"body":61,"description":216,"extension":217,"meta":218,"navigation":219,"path":18,"seo":220,"stem":19,"__hash__":221},"docs\u002F5.troubleshooting.md",{"type":62,"value":63,"toc":209},"minimark",[64,68,72,77,80,111,119,123,125,163,169,173,175,196,199],[65,66,17],"h1",{"id":67},"troubleshooting",[69,70,71],"p",{},"Start with the symptom you can observe and reduce the application to the smallest failing diagram.",[73,74,76],"h2",{"id":75},"install-fails","Install fails",[69,78,79],{},"Confirm:",[81,82,83,92,102,105],"ul",{},[84,85,86,87,91],"li",{},"Node.js is ",[88,89,90],"code",{},">=22.19.0",".",[84,93,94,95,98,99,91],{},"Nuxt is ",[88,96,97],{},"^4.1.0"," and Nuxt Content is ",[88,100,101],{},">=3.5.0 \u003C4.0.0",[84,103,104],{},"Your Nuxt Content database connector installed successfully.",[84,106,107,108,91],{},"If pnpm blocked a native connector's build script, review it and use ",[88,109,110],{},"pnpm approve-builds",[69,112,113,114,118],{},"Next, align those versions and retry the unpinned installation command from ",[115,116,5],"a",{"href":117},"\u002Fgetting-started#install",". Resolve database connector failures before debugging this module.",[73,120,122],{"id":121},"build-fails","Build fails",[69,124,79],{},[81,126,127,137,148,157],{},[84,128,129,132,133,136],{},[88,130,131],{},"@barzhsieh\u002Fnuxt-content-mermaid"," appears in the Nuxt ",[88,134,135],{},"modules"," array.",[84,138,139,140,143,144,147],{},"Options use ",[88,141,142],{},"contentMermaid",", not the removed ",[88,145,146],{},"mermaidContent"," key.",[84,149,150,153,154,156],{},[88,151,152],{},"enabled"," stays under the build-time ",[88,155,142],{}," option.",[84,158,159,162],{},[88,160,161],{},"runtimeConfig.public.contentMermaid"," contains only serializable pure data.",[69,164,165,166,168],{},"Next, remove all package options and build with only the module registration. If that succeeds, restore options one group at a time and review ",[115,167,26],{"href":27}," for changed boundaries.",[73,170,172],{"id":171},"source-stays-visible","Source stays visible",[69,174,79],{},[81,176,177,183,186,189],{},[84,178,179,180,91],{},"The Markdown fence language is exactly ",[88,181,182],{},"mermaid",[84,184,185],{},"The route renders the intended Content page and JavaScript is enabled.",[84,187,188],{},"The browser console has no hydration, configuration, or Mermaid error.",[84,190,191,192,195],{},"The three-node example from ",[115,193,5],{"href":194},"\u002Fgetting-started#add-your-first-diagram"," fails in the same way.",[69,197,198],{},"Next, test that reduced example on the direct Content route. If it renders, restore the original diagram incrementally and check its syntax with Mermaid's documentation. If it does not, capture the route, relevant configuration, build output, and browser error.",[69,200,201,202,208],{},"If the smallest example still fails, ",[115,203,207],{"href":204,"rel":205},"https:\u002F\u002Fgithub.com\u002Fandy820621\u002Fnuxt-content-mermaid\u002Fissues",[206],"nofollow","open a GitHub issue"," with the package, Nuxt, Nuxt Content, Node.js and package-manager versions, a minimal reproduction, and the complete error output.",{"title":210,"searchDepth":211,"depth":211,"links":212},"",2,[213,214,215],{"id":75,"depth":211,"text":76},{"id":121,"depth":211,"text":122},{"id":171,"depth":211,"text":172},"Resolve common installation, build, and rendering problems.","md",{},true,{"title":17,"description":216},"9KpBiaRPg460069iaBeTR6-4dPTwIkv5Q-xPNEPF67M",[223,225,227,229,231],{"title":5,"path":6,"stem":7,"children":224},[],{"title":9,"path":10,"stem":11,"children":226},[],{"title":13,"path":14,"stem":15,"children":228},[],{"title":17,"path":18,"stem":19,"children":230},[],{"title":21,"path":22,"stem":23,"children":232,"page":29},[233],{"title":26,"path":27,"stem":28,"children":234},[],1786997380386]