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.
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 | // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Could you please help me out.