Skip to content

Conversation

@nishant-ai
Copy link

When I used the "marked" function, the article was not been created, on debugging, I found out that marked is not imported as a function.
Error: TypeError: marked is not a function

It might be because of the latest version of marked or something else I'm missing out, So I just imported marked like:
const { marked } = require('marked');

I believe this would be helpful for other learners who follow your tutorial!
Please Ping me about this issue!

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

Successfully merging this pull request may close these issues.

1 participant