GitHub user Kick156 closed a discussion: An error occurs when starting the 
Chinese document site preview

I modified the article in Idea, and I want to start the page to browse, and the 
following error occurs。

Compiled with problems:
×
ERROR in 
./i18n/zh-CN/docusaurus-plugin-content-docs/current/connector/4-doris.md
Module build failed (from ./node_modules/@docusaurus/mdx-loader/lib/index.js):
Error: MDX compilation failed for file 
"D:\incubator-streampark-website-dev\incubator-streampark-website-dev\i18n\zh-CN\docusaurus-plugin-content-docs\current\connector\4-doris.md"
Cause: Could not parse expression with acorn
Details:
{
  "cause": {
    "pos": 494,
    "loc": {
      "line": 16,
      "column": 66
    }
  },
  "column": 67,
  "message": "Could not parse expression with acorn",
  "line": 16,
  "name": "16:67",
  "place": {
    "line": 16,
    "column": 67,
    "offset": 494
  },
  "reason": "Could not parse expression with acorn",
  "ruleId": "acorn",
  "source": "micromark-extension-mdx-expression",
  "url": 
"https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression#could-not-parse-expression-with-acorn";
}

    at Object.mdxLoader 
(D:\incubator-streampark-website-dev\incubator-streampark-website-dev\node_modules\@docusaurus\mdx-loader\lib\loader.js:126:25)
ERROR in 
./i18n/zh-CN/docusaurus-plugin-content-docs-community/current/submit_guide/submit-code.md
Module build failed (from ./node_modules/@docusaurus/mdx-loader/lib/index.js):
Error: MDX compilation failed for file 
"D:\incubator-streampark-website-dev\incubator-streampark-website-dev\i18n\zh-CN\docusaurus-plugin-content-docs-community\current\submit_guide\submit-code.md"
Cause: Unexpected character `/` (U+002F) before local name, expected a 
character that can start a name, such as a letter, `$`, or `_` (note: to create 
a link in MDX, use `[text](url)`)
Details:
{
  "column": 18,
  "message": "Unexpected character `/` (U+002F) before local name, expected a 
character that can start a name, such as a letter, `$`, or `_` (note: to create 
a link in MDX, use `[text](url)`)",
  "line": 24,
  "name": "24:18",
  "place": {
    "line": 24,
    "column": 18,
    "offset": 914,
    "_index": 0,
    "_bufferIndex": 15
  },
  "reason": "Unexpected character `/` (U+002F) before local name, expected a 
character that can start a name, such as a letter, `$`, or `_` (note: to create 
a link in MDX, use `[text](url)`)",
  "ruleId": "unexpected-character",
  "source": "micromark-extension-mdx-jsx",
  "url": 
"https://github.com/micromark/micromark-extension-mdx-jsx#unexpected-character-at-expected-expect";
}

    at Object.mdxLoader 
(D:\incubator-streampark-website-dev\incubator-streampark-website-dev\node_modules\@docusaurus\mdx-loader\lib\loader.js:126:25)


I deleted these two error-related articles directly, but they still show up 
after restarting

![image](https://github.com/apache/incubator-streampark/assets/107044617/5074e938-8e8a-4c7c-9f4a-78edf2585e0d)

Does anyone know how to fix it

GitHub link: https://github.com/apache/incubator-streampark/discussions/3442

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to