#Failed to parse Markdown file

7 messages · Page 1 of 1 (latest)

buoyant lotus
#

Error:

01:18:37 [ERROR] Failed to parse Markdown file "F:\Github\SIT111_2024\src\content\docs\section1-Computer_System_Overview\module6_memory.md":
Cannot read properties of null (reading 'attrs')
  Stack trace:
    at getTokenAttr (file:///F:/Github/SIT111_2024/node_modules/parse5/dist/common/token.js:14:24)
    [...] See full stack trace in the browser, or rerun with --verbose.```
#

A possible issue: some of the image links doesnt exist.

gleaming grotto
#

More probably, your inline styles are not terminated

#

<img src="./images/register.png" alt="A 1-bit register." style="margin: auto; display: block> <-- there's a closing quote missing in multiple of these

#

With issues like this, it can help to switch to MDX because the parser there is way stricter and often has more helpful error messages