Skip to content
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

Uncaught TypeError: marked.setOptions is not a function #828

Open
ajboni opened this issue Jan 7, 2022 · 3 comments
Open

Uncaught TypeError: marked.setOptions is not a function #828

ajboni opened this issue Jan 7, 2022 · 3 comments

Comments

@ajboni
Copy link

ajboni commented Jan 7, 2022

I think it might be related to #825

@staszek998
Copy link

You're right, @ajboni - it's related. That's the exact same TypeError that's caused by the marked package in version 4.x. When the @sparksuite will implement my PR into their codebase, the TypeError you mentioned will be gone.

@ajboni
Copy link
Author

ajboni commented Jan 10, 2022

Thanks for confirming, @staszek998 . For now, a workaround I'm using, is to move to yarn and use resolutions on package.json. Not really ideal, but it works...

  "resolutions": {
    "marked": "3.0.8"
  }

@staszek998
Copy link

I'm using the same workaround and it works for me, too 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants