Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax problems on "main" branch #269

Open
scoopex opened this issue Oct 28, 2024 · 0 comments
Open

Syntax problems on "main" branch #269

scoopex opened this issue Oct 28, 2024 · 0 comments
Assignees

Comments

@scoopex
Copy link
Contributor

scoopex commented Oct 28, 2024

Linting complains:

$ npm run lint:md

> [email protected] lint:md
> markdownlint-cli2 "**/*.md"

markdownlint-cli2 v0.7.1 (markdownlint v0.28.2)
Finding: **/*.md **/*.{md} !node_modules !.github !docs !standards
Linting: 49 file(s)
Summary: 2 error(s)
user-docs/application-examples/opendesk-on-scs/quickstart.md:3:56 search-replace Custom rule [relative-link-path: Don't use relative paths] [Context: "column: 56 text:'](..'"]
user-docs/application-examples/opendesk-on-scs/quickstart.md:26:31 search-replace Custom rule [relative-link-path: Don't use relative paths] [Context: "column: 31 text:'](..'"]

When starting a local development server, i get a huge amount of error messages.

$ npm start

> [email protected] start
> docusaurus start


 ------------------------------------------------------------------------------------------------------------------------------------                                                                                                                                                                                           Update available 3.2.1 → 3.5.2                                                                                                                                                                                                                    To upgrade Docusaurus packages with the latest version, run the following command:                                       `npm i @docusaurus/core@latest @docusaurus/plugin-client-redirects@latest @docusaurus/preset-classic@latest                            @docusaurus/theme-mermaid@latest @docusaurus/eslint-plugin@latest @docusaurus/module-type-aliases@latest                                                        @docusaurus/tsconfig@latest @docusaurus/types@latest`                                                                                                                                                                                ------------------------------------------------------------------------------------------------------------------------------------ 

[INFO] Starting the development server...
[SUCCESS] Docusaurus website is running at: http://localhost:3000/

✖ Client
  Compiled with some errors in 2.57s

Error: MDX compilation failed for file "/home/marc/src/github/osba/scs/docs/docs/02-iaas/components/image-manager.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": 8,
  "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": 29,
  "name": "29:8",
  "place": {
    "line": 29,
    "column": 8,
    "offset": 974,
    "_index": 47,
    "_bufferIndex": 7
  },
  "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"
}

--------------------------

Error: MDX compilation failed for file "/home/marc/src/github/osba/scs/docs/docs/02-iaas/deployment-examples/cloud-in-a-box/advanced-guides/cloud-in-a-box.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": 36,
  "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": 110,
  "name": "110:36",
  "place": {
    "line": 110,
    "column": 36,
    "offset": 4682,
    "_index": 0,
    "_bufferIndex": 7
  },
  "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"
}

--------------------------

Error: MDX compilation failed for file "/home/marc/src/github/osba/scs/docs/docs/02-iaas/deployment-examples/cloud-in-a-box/advanced-guides/testbed.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": 11,
  "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": 351,
  "name": "351:11",
  "place": {
    "line": 351,
    "column": 11,
    "offset": 14871,
    "_index": 4,
    "_bufferIndex": 7
  },
  "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"
}
client (webpack 5.94.0) compiled with 3 errors
<w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|/home/marc/src/github/osba/scs/docs/node_modules/@docusaurus/mdx-loader/lib/index.js??ruleSet[1].rules[8].use[0]!/home/marc/src/github/osba/scs/docs/node_modules/@docusaurus/plugin-content-docs/lib/markdown/index.js??ruleSet[1].rules[8].use[1]!/home/marc/src/github/osba/scs/docs/docs/02-iaas/components/image-manager.md': No serializer registered for VFileMessage
<w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> webpack/lib/ModuleBuildError -> Error -> VFileMessage
<w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|/home/marc/src/github/osba/scs/docs/node_modules/@docusaurus/mdx-loader/lib/index.js??ruleSet[1].rules[8].use[0]!/home/marc/src/github/osba/scs/docs/node_modules/@docusaurus/plugin-content-docs/lib/markdown/index.js??ruleSet[1].rules[8].use[1]!/home/marc/src/github/osba/scs/docs/docs/02-iaas/deployment-examples/cloud-in-a-box/advanced-guides/cloud-in-a-box.md': No serializer registered for VFileMessage
<w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> webpack/lib/ModuleBuildError -> Error -> VFileMessage
<w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|/home/marc/src/github/osba/scs/docs/node_modules/@docusaurus/mdx-loader/lib/index.js??ruleSet[1].rules[8].use[0]!/home/marc/src/github/osba/scs/docs/node_modules/@docusaurus/plugin-content-docs/lib/markdown/index.js??ruleSet[1].rules[8].use[1]!/home/marc/src/github/osba/scs/docs/docs/02-iaas/deployment-examples/cloud-in-a-box/advanced-guides/testbed.md': No serializer registered for VFileMessage
<w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> webpack/lib/ModuleBuildError -> Error -> VFileMessage

@maxwolfs maxwolfs self-assigned this Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants