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

ERROR this.getData is not a function TypeError: this.getData is not a function #794

Closed
4 tasks done
codeonprod opened this issue Nov 9, 2023 · 4 comments
Closed
4 tasks done
Labels
🤷 no/invalid This cannot be acted upon 👎 phase/no Post cannot or will not be acted on

Comments

@codeonprod
Copy link

Initial checklist

Affected packages and versions

9.0.0

Link to runnable example

No response

Steps to reproduce

<Markdown
    rehypePlugins={[remarkGfm, rehypeRaw]}
>
    {modified_content}
</Markdown>

Expected behavior

The code should be able to work properly.
Earlier it was working and still it is working with version 8.0.7

Actual behavior

ERROR
this.getData is not a function
TypeError: this.getData is not a function
    at Object.exitCodeText (http://localhost:3000/static/js/bundle.js:103717:12)
    at compile (http://localhost:3000/static/js/bundle.js:121979:40)
    at fromMarkdown (http://localhost:3000/static/js/bundle.js:121821:27)
    at parser (http://localhost:3000/static/js/bundle.js:121609:82)
    at Function.parse (http://localhost:3000/static/js/bundle.js:118228:12)
    at Markdown (http://localhost:3000/static/js/bundle.js:116580:31)
    at renderWithHooks (http://localhost:3000/static/js/bundle.js:49888:22)
    at mountIndeterminateComponent (http://localhost:3000/static/js/bundle.js:53174:17)
    at beginWork (http://localhost:3000/static/js/bundle.js:54470:20)
    at HTMLUnknownElement.callCallback (http://localhost:3000/static/js/bundle.js:39480:18)

Runtime

Node v17

Package manager

npm 8

OS

Linux

Build and bundle tools

No response

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Nov 9, 2023
@JounQin
Copy link
Member

JounQin commented Nov 9, 2023

Link to runnable example
No response

Please fill the section, a runnable reproduction is required to help us debugging.

@JounQin JounQin added the 🤷 no/invalid This cannot be acted upon label Nov 9, 2023
@github-actions github-actions bot added 👎 phase/no Post cannot or will not be acted on and removed 🤞 phase/open Post is being triaged manually labels Nov 9, 2023
@github-actions github-actions bot closed this as completed Nov 9, 2023
@wooorm
Copy link
Member

wooorm commented Nov 9, 2023

And search for issues. This has been asked before. Update all your dependencies.

@oeyoews
Copy link

oeyoews commented Nov 13, 2023

This is a problem with the remarkgfm plugin, but I have not seen similar problems in the issue

@wooorm
Copy link
Member

wooorm commented Nov 13, 2023

It is a problem when some old projects are used with new projects.
All new versions are published.
Update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤷 no/invalid This cannot be acted upon 👎 phase/no Post cannot or will not be acted on
Development

No branches or pull requests

4 participants