Fork me on GitHub
#shadow-cljs
<
2024-04-08
>
emil0r12:04:26

Hi. I’m getting a parse error when shadow-cljs tries to compile a nodejs module called marked. The offending piece of code is parse = this.#parseMarkdown(_Lexer.lex, _Parser.parse); and the error messages is

Failed to inspect file
  /<path-to-dev-dir>/admin/node_modules/marked/lib/marked.cjs

Errors encountered while trying to parse file
  /<path-to-dev-dir>/admin/node_modules/marked/lib/marked.cjs
  {:line 2059, :column 17, :message "'identifier' expected"}
Can’t seem to find anything in the documentation that talks about this. Has anyone else come across this problem?

1