Simple React Markdown Previewer issue with typeError marked is not a function

I keep getting the message :

Uncaught TypeError: marked is not a function

This is the link to my project:

I saw other posts similar as mine and I added it to the JS settings and nothing
Please help!

It should be named import

what should be named import? I have in the first lines the import or marked

import { marked } from "https://cdn.skypack.dev/marked";

thanks for help adramelech

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.