Skip to content

Hi! i am following your tutorial, i faced an error, and a simple fix is updated. #21

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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