\r\n```\n\n### Expected behavior\n\nsuccessfully \n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.22000\r\n CPU: (6) x64 Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz\r\n Memory: 6.54 GB / 15.88 GB\r\n Binaries:\r\n Node: 16.13.0 - C:\\nodejs\\node.EXE\r\n npm: 8.1.4 - C:\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22000.120.0), Chromium (98.0.1108.50)\r\n Internet Explorer: 11.0.22000.120\r\n npmPackages:\r\n vitepress: ^0.22.2 => 0.22.2\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/coc)\n- [X] Read the [docs](https://vitepress.vuejs.org/).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2904],{"name":2868,"color":2869},539,"build error:Blob is not defined","2023-01-21T16:20:11Z","https://github.com/vuejs/vitepress/issues/539",0.68136233,{"description":2911,"labels":2912,"number":2914,"owner":2874,"repository":2875,"state":2876,"title":2915,"updated_at":2916,"url":2917,"score":2918},"### Describe the bug\r\n\r\nVitePress builds, and instantly removes the dist folder again.\r\n\r\n### Reproduction\r\n\r\nClone my [GitHub repository](https://github.com/Ahwxorg/Linkbase/), run yarn to install the dependencies and run `yarn vitepress build`.\r\n\r\n### Expected behavior\r\n\r\nVitePress successfully builds the dist/ folder.\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: macOS 13.5.2\r\n CPU: (10) arm64 Apple M2 Pro\r\n Memory: 125.69 MB / 16.00 GB\r\n Shell: 3.6.1 - /opt/homebrew/bin/fish\r\n Binaries:\r\n Node: 20.7.0 - /opt/homebrew/bin/node\r\n Yarn: 1.22.19 - /opt/homebrew/bin/yarn\r\n npm: 10.1.0 - /opt/homebrew/bin/npm\r\n Browsers:\r\n Safari: 16.6\r\n```\r\n\r\n\r\nAlthough I use GitHub Actions as well (see [the failed run here](https://github.com/Ahwxorg/Linkbase/actions/runs/6273423931/job/17036870482))\r\n\r\n\r\n### Additional context\r\n\r\nBuild log is the following:\r\n\r\n```sh\r\nvitepress v1.0.0-rc.20\r\n\r\n✓ building client + server bundles...\r\n✓ rendering pages...\r\nbuild complete in 1.89s.\r\n✨ Done in 2.06s.\r\n```\r\n\r\n### Validations\r\n\r\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.dev).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2913],{"name":2868,"color":2869},3040,"[Bug] VitePress won't build","2023-10-10T00:04:18Z","https://github.com/vuejs/vitepress/issues/3040",0.682772,{"description":2920,"labels":2921,"number":2923,"owner":2874,"repository":2875,"state":2876,"title":2924,"updated_at":2925,"url":2926,"score":2927},"### Describe the bug\n\nExecute command npm run docs:build and throw an exception: build error:\r\nTypeError: Intl.Segmenter is not a constructor\n\n### Reproduction\n\n1. yarn init\r\n2. yarn add --dev vitepress\r\n3. package.json add scripts \"docs:dev\": \"vitepress dev docs\", \"docs:build\": \"vitepress build docs\", \"docs:serve\": \"vitepress serve docs\"\r\n4. add .vitepress/config.js \r\n5. add docs/index.md\r\n6. yarn docs:build\n\n### Expected behavior\n\nyarn docs:build \n\n### System Info\n\n```sh\nbuild error:\r\nTypeError: Intl.Segmenter is not a constructor\r\n at stringWidth (file:///E:/Study/test/node_modules/vitepress/dist/node/serve-3dd2c315.js:47581:37)\r\n at Ora.#updateLineCount (file:///E:/Study/test/node_modules/vitepress/dist/node/serve-3dd2c315.js:48445:45) \r\n at Ora.set text [as text] (file:///E:/Study/test/node_modules/vitepress/dist/node/serve-3dd2c315.js:48388:24)\r\n at new Ora (file:///E:/Study/test/node_modules/vitepress/dist/node/serve-3dd2c315.js:48307:13)\r\n at ora (file:///E:/Study/test/node_modules/vitepress/dist/node/serve-3dd2c315.js:48625:9)\r\n at task (file:///E:/Study/test/node_modules/vitepress/dist/node/serve-3dd2c315.js:48631:19)\r\n at bundle (file:///E:/Study/test/node_modules/vitepress/dist/node/serve-3dd2c315.js:48764:9)\r\n at build (file:///E:/Study/test/node_modules/vitepress/dist/node/serve-3dd2c315.js:52843:65)\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2922],{"name":2894,"color":2895},2793,"build error: TypeError: Intl.Segmenter is not a constructor","2023-08-24T00:04:14Z","https://github.com/vuejs/vitepress/issues/2793",0.6829767,{"description":2929,"labels":2930,"number":2932,"owner":2874,"repository":2875,"state":2876,"title":2933,"updated_at":2934,"url":2935,"score":2936},"### Describe the bug\n\nGetting \r\nSyntaxError: The requested module 'shiki' does not provide an export named 'isPlaintext'\r\nwhen running npx vitepress init \r\n \r\n\u003Cimg width=\"730\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/25881429/1ece1ea3-815d-45f1-8ce3-c4f57f3f7ec8\">\r\n\n\n### Reproduction\n\nFollow the steps mentioned here: https://vitepress.dev/guide/getting-started\r\n\r\ninstall vitepress\r\n1. npm add -D vitepress\r\nStart the wizard\r\n2. npx vitepress init\r\n\n\n### Expected behavior\n\nSuccesful init of vitepress\n\n### System Info\n\n```Text\nSystem:\r\n OS: macOS 14.2.1\r\n CPU: (8) arm64 Apple M1\r\n Memory: 79.88 MB / 16.00 GB\r\n Shell: 3.6.1 - /opt/homebrew/bin/fish\r\n Binaries:\r\n Node: 21.6.1 - /opt/homebrew/bin/node\r\n npm: 10.2.4 - /opt/homebrew/bin/npm\r\n Browsers:\r\n Chrome: 121.0.6167.139\r\n Safari: 17.2.1\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.41 => 1.0.0-rc.41\n```\n\n\n### Additional context\n\nI saw that it was fixed here https://github.com/vuejs/vitepress/pull/3550 some hours ago, but still i am getting this error\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2931],{"name":2868,"color":2869},3552,"SyntaxError: The requested module 'shiki' does not provide an export named 'isPlaintext'","2024-02-14T00:04:26Z","https://github.com/vuejs/vitepress/issues/3552",0.68297887,{"description":2938,"labels":2939,"number":2941,"owner":2874,"repository":2875,"state":2876,"title":2942,"updated_at":2943,"url":2944,"score":2945},"### Describe the bug\n\nCannot build if there is md file in `./docs` , with special content. \r\n\n\n### Reproduction\n\nWhen there's such one md file in `./docs` :\r\n```markdown\r\n1. 内联样式 style 属性不接收字符串,要使用 `style={{key:value}}`\r\n``` \r\nThen I run `yarn docs:build`, command will fail with exit code 1.\r\n\r\nThe following is the error info in terminal:\r\n```\r\nvitepress v1.0.0-alpha.13\r\n⠦ building client + server bundles...[vite:vue] Error parsing JavaScript expression: Unexpected token, expected \",\" (1:4)\r\nfile: D:/GitRepo/gyhyfj/docs/react/ABC.md:2:43\r\n✖ building client + server bundles...\r\nbuild error:\r\n Error [SyntaxError]: Error parsing JavaScript expression: Unexpected token, expected \",\" (1:4)\r\n at createCompilerError (D:\\GitRepo\\gyhyfj\\node_modules\\.pnpm\\@vue+compiler-core@3.2.39\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:18:19) \r\n at processExpression (D:\\GitRepo\\gyhyfj\\node_modules\\.pnpm\\@vue+compiler-core@3.2.39\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:3423:25) \r\n at Array.transformExpression (D:\\GitRepo\\gyhyfj\\node_modules\\.pnpm\\@vue+compiler-core@3.2.39\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.prod.js:3256:24)\r\n...\r\n...\r\n...\r\n ELIFECYCLE Command failed with exit code 1.\r\n```\r\n\r\nIf I delete this md files or delete this line, everything would be OK.\r\nThis problem can be reproducted whether on my PC or on Vercel\n\n### Expected behavior\n\nBuild command should work well as I don't delete this line in the md file.\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.19044\r\n CPU: (8) x64 Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz\r\n Memory: 2.58 GB / 7.92 GB\r\nBinaries:\r\n Node: 16.16.0 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 8.11.0 - C:\\Program Files\\nodejs\\npm.CMD\r\nBrowsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (105.0.1343.33)\r\n Internet Explorer: 11.0.19041.1566\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2940],{"name":2868,"color":2869},1330,"build error: Error [SyntaxError]: Error parsing JavaScript expression: Unexpected token, expected \",\" (1:4)","2023-01-21T14:25:33Z","https://github.com/vuejs/vitepress/issues/1330",0.68506,{"description":2947,"labels":2948,"number":2950,"owner":2874,"repository":2875,"state":2876,"title":2951,"updated_at":2952,"url":2953,"score":2954},"### Describe the bug\n\n当我使用vitepress打包时,报错:\r\n$ vitepress build docs\r\n\r\n vitepress v1.0.0-rc.40\r\n\r\n⠏ building client + server bundles...\r\n(!) Some chunks are larger than 500 kB after minification. Consider:\r\n- Using dynamic import() to code-split the application\r\n- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks\r\n- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.\r\n[commonjs--resolver] Missing \"./server-renderer\" specifier in \"vue\" package\r\n✖ building client + server bundles...\r\nbuild error:\r\nError: Missing \"./server-renderer\" specifier in \"vue\" package\r\n at e (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:21914:25)\r\n at n (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:21914:627)\r\n at o (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:21914:1297)\r\n at resolveExportsOrImports (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:29466:20)\r\n at resolveDeepImport (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:29485:31)\r\n at tryNodeResolve (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:29210:20)\r\n at Object.resolveId (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:28978:28)\r\n at Object.handler (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:67383:19)\r\n at file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/rollup/dist/es/shared/node-entry.js:18642:40 \r\n at async PluginDriver.hookFirstAndGetPlugin (file:///E:/code/vesyncUI/node_modules/vitepress/node_modules/rollup/dist/es/shared/node-entry.js:18542:28)\r\nerror Command failed with exit code 1.\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\n\n### Reproduction\n\nyarn docs:build\n\n### Expected behavior\n\n打包完成\n\n### System Info\n\n```Text\nnode: 18.19.0\r\nvitepress:v1.0.0-rc.40\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2949],{"name":2894,"color":2895},3492,"vitepress打包报错","2024-02-21T00:04:28Z","https://github.com/vuejs/vitepress/issues/3492",0.68674797,{"description":2956,"labels":2957,"number":2959,"owner":2874,"repository":2875,"state":2876,"title":2960,"updated_at":2961,"url":2962,"score":2963},"### Describe the bug\n\nif I use \"/\" character end of url, sidebar and middle page not working normally.\n\n### Reproduction\n\ncheck this error\r\nhttps://stackblitz.com/edit/vite-9jamew\r\n\r\nif you see error, add to `\u003Cstackblitz test url>/en/test/` and enter. 404 page coming. \r\nbut `\u003Cstackblitz test url>/en/test` like this working.\n\n### Expected behavior\n\nneed to work normally. 404 page is wrong.\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.22631\r\n CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz\r\n Memory: 2.38 GB / 15.87 GB\r\n Binaries:\r\n Node: 18.18.2 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.22 - C:\\Program Files\\nodejs\\yarn.CMD\r\n npm: 9.8.1 - C:\\Program Files\\nodejs\\npm.CMD\r\n pnpm: 8.6.1 - ~\\AppData\\Roaming\\npm\\pnpm.CMD\r\n Browsers:\r\n Edge: Chromium (122.0.2365.59)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: ^1.1.3 => 1.1.3\n```\n\n\n### Additional context\n\nnginx conf like\r\n\r\n```\r\nserver {\r\n gzip on;\r\n gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;\r\n\r\n listen 80;\r\n server_name _;\r\n index index.html;\r\n\r\n location / {\r\n # content location\r\n root /app;\r\n\r\n # exact matches -> reverse clean urls -> folders -> not found\r\n try_files $uri $uri.html $uri/ =404;\r\n\r\n # non existent pages\r\n error_page 404 /404.html;\r\n\r\n # a folder without index.html raises 403 in this setup\r\n error_page 403 /404.html;\r\n\r\n # adjust caching headers\r\n # files in the assets folder have hashes filenames\r\n location ~* ^/assets/ {\r\n expires 1y;\r\n add_header Cache-Control \"public, immutable\";\r\n }\r\n }\r\n}\r\n```\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2958],{"name":2868,"color":2869},3832,"page render error","2024-05-05T04:41:46Z","https://github.com/vuejs/vitepress/issues/3832",0.690284,["Reactive",2965],{},["Set"],["ShallowReactive",2968],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fZKES1Go5ltnkwYjHWogV3EEUN_Ix7AMeNcopAF3rp84":-1},"/vuejs/vitepress/1114"]