Skip to content

TypeError: (0 , _jsxDevRuntime.jsxDEV) is not a function #13484

@ashuRitu

Description

@ashuRitu

Getting below error while running yarn dev

./src/components/MDX/MDXComponents.tsx
⨯ src\pages[[...markdownPath]].js (209:40) @ getStaticProps
⨯ TypeError: (0 , _jsxDevRuntime.jsxDEV) is not a function
at _createMdxContent (eval at getStaticProps (webpack-internal:///./src/pages/[[...markdownPath]].js), :65:36)
at Object.MDXContent [as default] (eval at getStaticProps (webpack-internal:///./src/pages/[[...markdownPath]].js), :81:14)
at getStaticProps (webpack-internal:///./src/pages/[[...markdownPath]].js:217:42) {
page: '/'
}
207 | evalJSCode(fakeRequire, fakeExports);
208 | // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

209 | const reactTree = fakeExports.default({});

Could you please help me out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions