{"compiled":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nfunction _createMdxContent(props) {\n  const _components = {\n    a: \"a\",\n    blockquote: \"blockquote\",\n    code: \"code\",\n    figure: \"figure\",\n    h2: \"h2\",\n    li: \"li\",\n    p: \"p\",\n    pre: \"pre\",\n    span: \"span\",\n    ul: \"ul\",\n    ...props.components\n  };\n  return _jsxs(_Fragment, {\n    children: [_jsx(_components.h2, {\n      children: \"Error: listen EADDRINUSE\"\n    }), \"\\n\", _jsxs(_components.p, {\n      children: [\"The port is already in use. Please choose a different \", _jsx(_components.a, {\n        href: \"/apis/config#server.port\",\n        children: \"port\"\n      }), \".\"]\n    }), \"\\n\", _jsx(_components.h2, {\n      children: \"Production build is only available in production mode.\"\n    }), \"\\n\", _jsxs(_components.p, {\n      children: [\"This occurs when you try to run the server in production mode, but \", _jsx(_components.code, {\n        children: \"process.env.NODE_ENV\"\n      }), \" is not \", _jsx(_components.code, {\n        children: \"production\"\n      }), \".\"]\n    }), \"\\n\", _jsx(_components.h2, {\n      children: \"$store is not defined\"\n    }), \"\\n\", _jsxs(_components.p, {\n      children: [_jsx(_components.a, {\n        href: \"/docs/server-data\",\n        children: \"$store\"\n      }), \" is a feature that uses the serpack compiler, so if you don't use the serpack compiler, this feature won't work properly.\"]\n    }), \"\\n\", _jsx(_components.figure, {\n      \"data-rehype-pretty-code-figure\": \"\",\n      children: _jsx(_components.pre, {\n        tabIndex: \"0\",\n        \"data-language\": \"diff\",\n        \"data-theme\": \"material-theme-palenight github-light\",\n        children: _jsxs(_components.code, {\n          \"data-language\": \"diff\",\n          \"data-theme\": \"material-theme-palenight github-light\",\n          style: {\n            display: \"grid\"\n          },\n          children: [_jsx(_components.span, {\n            \"data-line\": \"\",\n            children: _jsx(_components.span, {\n              style: {\n                \"--shiki-dark\": \"#BABED8\",\n                \"--shiki-light\": \"#24292E\"\n              },\n              children: \"{\"\n            })\n          }), \"\\n\", _jsx(_components.span, {\n            \"data-line\": \"\",\n            children: _jsx(_components.span, {\n              style: {\n                \"--shiki-dark\": \"#BABED8\",\n                \"--shiki-light\": \"#24292E\"\n              },\n              children: \"  \\\"scripts\\\": {\"\n            })\n          }), \"\\n\", _jsxs(_components.span, {\n            \"data-line\": \"\",\n            children: [_jsx(_components.span, {\n              style: {\n                \"--shiki-dark\": \"#89DDFF\",\n                \"--shiki-light\": \"#B31D28\"\n              },\n              children: \"-\"\n            }), _jsx(_components.span, {\n              style: {\n                \"--shiki-dark\": \"#F07178\",\n                \"--shiki-light\": \"#B31D28\"\n              },\n              children: \"   \\\"dev\\\": \\\"zely dev\\\",\"\n            })]\n          }), \"\\n\", _jsxs(_components.span, {\n            \"data-line\": \"\",\n            \"data-highlighted-line\": \"\",\n            children: [_jsx(_components.span, {\n              style: {\n                \"--shiki-dark\": \"#89DDFF\",\n                \"--shiki-light\": \"#22863A\"\n              },\n              children: \"+\"\n            }), _jsx(_components.span, {\n              style: {\n                \"--shiki-dark\": \"#C3E88D\",\n                \"--shiki-light\": \"#22863A\"\n              },\n              children: \"   \\\"dev\\\": \\\"zely dev --serpack\\\",\"\n            })]\n          }), \"\\n\", _jsx(_components.span, {\n            \"data-line\": \"\",\n            children: _jsx(_components.span, {\n              style: {\n                \"--shiki-dark\": \"#BABED8\",\n                \"--shiki-light\": \"#24292E\"\n              },\n              children: \"  }\"\n            })\n          }), \"\\n\", _jsx(_components.span, {\n            \"data-line\": \"\",\n            children: _jsx(_components.span, {\n              style: {\n                \"--shiki-dark\": \"#BABED8\",\n                \"--shiki-light\": \"#24292E\"\n              },\n              children: \"}\"\n            })\n          })]\n        })\n      })\n    }), \"\\n\", _jsx(_components.h2, {\n      children: \"A crash occurred while applying the optimization plugin.\"\n    }), \"\\n\", _jsxs(_components.p, {\n      children: [\"This error occurred due to a conflict with another plugin while applying \", _jsx(_components.a, {\n        href: \"https://github.com/zely-js/zely/blob/main/packages/zely-js-core/src/runtime/store/compiler.ts\",\n        children: \"@zely-js/core:store\"\n      }), \".\"]\n    }), \"\\n\", _jsx(_components.p, {\n      children: \"Try one of the following actions:\"\n    }), \"\\n\", _jsxs(_components.ul, {\n      children: [\"\\n\", _jsx(_components.li, {\n        children: \"Remove the plugin that is expected to conflict.\"\n      }), \"\\n\", _jsxs(_components.li, {\n        children: [\"Disable the \", _jsx(_components.a, {\n          href: \"/serpack\",\n          children: \"serpack\"\n        }), \" compiler\\nand remove the code that uses \", _jsx(_components.a, {\n          href: \"/docs/server-data\",\n          children: \"$store\"\n        }), \".\"]\n      }), \"\\n\"]\n    }), \"\\n\", _jsx(_components.h2, {\n      children: \"Error occurred while compiling server-side rendered HTML.\"\n    }), \"\\n\", _jsx(_components.p, {\n      children: \"This error occurs when server-side rendering fails when compiling HTML.\"\n    }), \"\\n\", _jsxs(_components.blockquote, {\n      children: [\"\\n\", _jsxs(_components.p, {\n        children: [\"You can ignore this error. Also, since \", _jsx(_components.code, {\n          children: \"4.0.0-next.22\"\n        }), \", no errors are output when server-side rendering fails.\"]\n      }), \"\\n\"]\n    })]\n  });\n}\nfunction MDXContent(props = {}) {\n  const {wrapper: MDXLayout} = props.components || ({});\n  return MDXLayout ? _jsx(MDXLayout, {\n    ...props,\n    children: _jsx(_createMdxContent, {\n      ...props\n    })\n  }) : _createMdxContent(props);\n}\nreturn {\n  default: MDXContent\n};\n","posts":[{"overview":"Overview"},{"why-zely":"Why Zely"},{"getting-started":"Getting Started"},{"config":"Config References"},{"benchmark":"Performance"},{"troubleshooting":"Troubleshooting"},{"migration-to-dobs":"Migration to dobs"},{"routing":"Routing"},{"handler":"Handler"},{"methods":"Methods"},{"send-data":"Sending Data"},{"context":"Context"},{"page-data":"Page Data"},{"customizing-response":"Customizing Response"},{"data-fetching":"Data Fetching"},{"middleware":"Middleware"},{"auto":"Auto Importing"},{"provided-middlewares":"Provided Middlewares"},{"caching":"Caching"},{"store":"Data Caching"},{"cache":"Data Access"},{"serpack":"Serpack"},{"asset":"Asset"},{"debugging":"Debugging"},{"server-data":"Server Data"},{"frontend":"Frontend"},{"html":"HTML"},{"migration":"Migration"},{"migration-3x":"Migration from 3.x"},{"migration-2x":"Migration from 2.x"},{"community":"Community"},{"contributing":"Contributing"},{"playground":"Playground"}],"target":{"troubleshooting":"Troubleshooting"},"targetcategory":"Overview","directory":"docs"}